mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-25 07:16:18 +00:00
35 lines
896 B
Bash
Executable File
35 lines
896 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# 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
|
|
|
|
sh ./configure \
|
|
--prefix=/usr \
|
|
--target=x86_64-linux-gcc \
|
|
--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 \
|
|
--disable-install-docs \
|
|
--disable-install-srcs \
|
|
--disable-install-bins \
|
|
--as=nasm
|
|
|
|
make
|
|
make install
|
|
|
|
# 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"
|
|
|