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:
2021-11-19 15:40:36 +00:00
4 changed files with 32 additions and 0 deletions

20
Libraries/x264/build Executable file
View 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"
}

View File

@@ -0,0 +1 @@
x264/2021.06 stable b:nasm/2.15.05

View File

@@ -0,0 +1 @@
x264/2021.06 stable b:nasm/2.15.05

10
Libraries/x264/modulefile Normal file
View 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 "
"