summaryrefslogtreecommitdiff
path: root/data/_x264/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-04-03 23:49:15 -1000
committerSam Bingner <sam@bingner.com>2019-04-09 23:20:40 -1000
commitbc22a1677d844ed517d781da667190f97b100ab7 (patch)
tree7305b50c2820444e7efa542e92808529709fc6cb /data/_x264/make.sh
parent9ca3323a117b3d3e694665d32a3fecfd63dfd1fb (diff)
Begin standardizing lib packages used by ffmpeg
Diffstat (limited to 'data/_x264/make.sh')
-rw-r--r--data/_x264/make.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/_x264/make.sh b/data/_x264/make.sh
new file mode 100644
index 000000000..19266819f
--- /dev/null
+++ b/data/_x264/make.sh
@@ -0,0 +1,6 @@
+pkg:setup
+cp "${PKG_DATA}"/gas-preprocessor.pl .
+# Host requires perl.
+CC="${PKG_TARG}-gcc" AS="./gas-preprocessor.pl -arch $(echo ${PKG_TARG} | sed -e 's/-.*//') -- ${PKG_TARG}-gcc" pkg:configure --enable-shared --disable-lsmash --enable-strip --cross-prefix="${PKG_TARG}-" --system-libx264
+pkg:make
+pkg:install