2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-15 12:22:26 +00:00
repo/extra/libvpx/build

35 lines
896 B
Plaintext
Raw Normal View History

2019-07-26 07:18:18 +00:00
#!/bin/sh -e
2021-07-03 21:08:17 +00:00
# Remove the perl requirement from configure.
# Also fix issue with non-GNU diff.
sed 's/perl/:/g;s/diff --version/command -v diff/' configure > _
mv -f _ configure
2021-07-28 09:40:22 +00:00
sh ./configure \
2019-07-26 07:18:18 +00:00
--prefix=/usr \
--target=x86_64-linux-gcc \
2019-07-26 07:18:18 +00:00
--enable-vp8 \
--enable-vp9 \
--enable-experimental \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-postproc \
--enable-pic \
--disable-tools \
--disable-examples \
--disable-docs \
--disable-unit-tests \
2019-07-26 07:18:18 +00:00
--disable-install-docs \
--disable-install-srcs \
--disable-install-bins \
2020-02-28 10:30:05 +00:00
--as=nasm
2019-07-26 07:18:18 +00:00
make
2021-07-18 02:46:09 +00:00
make install
2021-10-13 05:23:32 +00:00
# ABI was bumped for command-line options. This symbolic link removes the need
# for users to rebuild Firefox, etc. Will be removed as of next Firefox release.
# webmproject/libvpx#4ec84326cc65c5b042bf06d222d51e51d7e5461d
ln -s libvpx.so.7 "$1/usr/lib/libvpx.so.6"