New package: libvpx7-1.11.0
This commit is contained in:
parent
28ba8f1033
commit
13a311489c
4 changed files with 64 additions and 0 deletions
|
@ -819,6 +819,7 @@ libchamplain-0.12.so.0 libchamplain-0.12.5_2
|
|||
libchamplain-gtk-0.12.so.0 libchamplain-0.12.5_2
|
||||
libvpx.so.5 libvpx5-1.7.0_1
|
||||
libvpx.so.6 libvpx6-1.8.0_1
|
||||
libvpx.so.7 libvpx7-1.11.0_1
|
||||
libXevie.so.1 libXevie-1.0.2_1
|
||||
libatspi.so.0 at-spi2-core-1.91.91_1
|
||||
libatk-bridge-2.0.so.0 at-spi2-atk-2.6.0_1
|
||||
|
|
1
srcpkgs/libvpx-devel
Symbolic link
1
srcpkgs/libvpx-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libvpx7
|
1
srcpkgs/libvpx-tools
Symbolic link
1
srcpkgs/libvpx-tools
Symbolic link
|
@ -0,0 +1 @@
|
|||
libvpx7
|
61
srcpkgs/libvpx7/template
Normal file
61
srcpkgs/libvpx7/template
Normal file
|
@ -0,0 +1,61 @@
|
|||
# Template file for 'libvpx7'
|
||||
# updates generally break abi, so if you update this,
|
||||
# have fun rebuilding everything
|
||||
pkgname=libvpx7
|
||||
version=1.11.0
|
||||
revision=1
|
||||
wrksrc=libvpx-${version}
|
||||
hostmakedepends="perl yasm"
|
||||
short_desc="VP8 and VP9 video codec"
|
||||
maintainer="q66 <daniel@octaforge.org>"
|
||||
license="BSD-3-Clause-Clear"
|
||||
homepage="http://www.webmproject.org"
|
||||
distfiles="https://github.com/webmproject/libvpx/archive/v${version}.tar.gz"
|
||||
checksum=965e51c91ad9851e2337aebcc0f517440c637c506f3a03948062e3d5ea129a83
|
||||
|
||||
do_configure() {
|
||||
export LD="$CC"
|
||||
local target args
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*) target="x86_64-linux-gcc" ;;
|
||||
i686*) target="x86-linux-gcc" ;;
|
||||
armv7*) target="armv7-linux-gcc"; args="--disable-neon" ;;
|
||||
aarch64*) target="arm64-linux-gcc" ;;
|
||||
*) target="generic-gnu";;
|
||||
esac
|
||||
CFLAGS+=" -fPIC"
|
||||
|
||||
./configure --enable-vp8 --enable-vp9 \
|
||||
--enable-experimental \
|
||||
--enable-runtime-cpu-detect --enable-shared \
|
||||
--enable-postproc --enable-pic --disable-install-docs \
|
||||
--disable-install-srcs --as=yasm ${args} --target=${target}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DIST_DIR=${DESTDIR}/usr install
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
libvpx-tools_package() {
|
||||
short_desc+=" - tools"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
}
|
||||
}
|
||||
|
||||
libvpx-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue