aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/libvpx/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-06-13 00:25:03 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-06-13 00:25:03 +0800
commit239ced844ea434e623686094af3de168f90e4391 (patch)
tree541d2c575f3b3832ca1a3087bde3f65dc74a8f89 /repos/extra/libvpx/abuild
parent3f80bb67166389b3acabf8f024ee1ad1a4364c1f (diff)
downloadalicelinux-239ced844ea434e623686094af3de168f90e4391.tar.gz
alicelinux-239ced844ea434e623686094af3de168f90e4391.zip
repos updated
Diffstat (limited to 'repos/extra/libvpx/abuild')
-rw-r--r--repos/extra/libvpx/abuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repos/extra/libvpx/abuild b/repos/extra/libvpx/abuild
new file mode 100644
index 00000000..30d8e1fd
--- /dev/null
+++ b/repos/extra/libvpx/abuild
@@ -0,0 +1,17 @@
+name=libvpx
+version=1.14.1
+release=1
+source="https://github.com/webmproject/$name/archive/v$version/$name-$version.tar.gz"
+
+build() {
+ # Remove the perl requirement from configure.
+ # Also fix issue with non-GNU diff.
+ sed 's/perl/:/g;s/diff --version/command -v diff/' -i configure
+
+ mkdir libvpx-build
+ cd libvpx-build
+
+ ../configure --prefix=/usr --enable-shared
+ make
+ make install
+}