Merge branch '202-x264-new-module-for-version-2021-06' into 'master'
Resolve "x264: new module for version 2021.06" Closes #202 See merge request Pmodules/buildblocks!273
This commit is contained in:
20
Libraries/x264/build
Executable file
20
Libraries/x264/build
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://code.videolan.org/videolan/x264/-/archive/stable/x264-stable.tar.gz"
|
||||
pbuild::add_to_group 'Libraries'
|
||||
|
||||
#pbuild::install_docfiles 'README'
|
||||
|
||||
pbuild::pre_prep() {
|
||||
#pbuild::add_configure_args "--enable-bashcompletion"
|
||||
pbuild::add_configure_args "--enable-pic"
|
||||
pbuild::add_configure_args "--enable-shared"
|
||||
}
|
||||
|
||||
pbuild::pre_install() {
|
||||
mkdir -p "${PREFIX}/lib"
|
||||
}
|
||||
|
||||
pbuild::post_install() {
|
||||
install -m 0644 libx264.a "${PREFIX}/lib"
|
||||
}
|
||||
1
Libraries/x264/files/variants.rhel6
Normal file
1
Libraries/x264/files/variants.rhel6
Normal file
@@ -0,0 +1 @@
|
||||
x264/2021.06 stable b:nasm/2.15.05
|
||||
1
Libraries/x264/files/variants.rhel7
Normal file
1
Libraries/x264/files/variants.rhel7
Normal file
@@ -0,0 +1 @@
|
||||
x264/2021.06 stable b:nasm/2.15.05
|
||||
10
Libraries/x264/modulefile
Normal file
10
Libraries/x264/modulefile
Normal file
@@ -0,0 +1,10 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "H.264/MPEG-4 AVC encoding library and application"
|
||||
module-url "ihttps://www.videolan.org/developers/x264.html"
|
||||
module-license "GNU GPL v2"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user