diff options
author | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
commit | 739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch) | |
tree | 09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/media/x264/x264.xibuild | |
parent | 4c585ad54388285500fd18a6aaa516894e0f2c16 (diff) |
moved everything to new file formatting
Diffstat (limited to 'repo/media/x264/x264.xibuild')
-rw-r--r-- | repo/media/x264/x264.xibuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/repo/media/x264/x264.xibuild b/repo/media/x264/x264.xibuild new file mode 100644 index 0000000..5c1d375 --- /dev/null +++ b/repo/media/x264/x264.xibuild @@ -0,0 +1,35 @@ +#!/bin/sh + +NAME="x264" +DESC="Free library for encoding H264/AVC video streams" + +MAKEDEPS="make libx11 perl nasm sbase bash" +DEPS="musl " + +PKG_VER=0.164.r3081.19856cc +gitrev=master +SOURCE="https://code.videolan.org/videolan/x264.git" +BRANCH=19856cc41ad11e434549fb3cc6a019e645ce1efe + +ADDITIONAL=" + oclobj.h +" + +prepare () { + echo '' > ./tools/cltostr.sh + mv oclobj.h common/oclobj.h +} + +build () { + ./configure \ + --prefix=/usr \ + --enable-shared \ + --enable-pic \ + --enable-lto \ + --disable-avs + make +} + +package () { + make DESTDIR=$PKG_DEST bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install-lib-shared install-cli +} |