summaryrefslogtreecommitdiff
path: root/repo/x264/x264.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/x264/x264.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/x264/x264.xibuild')
-rw-r--r--repo/x264/x264.xibuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/repo/x264/x264.xibuild b/repo/x264/x264.xibuild
new file mode 100644
index 0000000..5c1d375
--- /dev/null
+++ b/repo/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
+}