[arch-commits] Commit in lib32-libvpx/repos (2 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Oct 12 09:18:36 UTC 2021


    Date: Tuesday, October 12, 2021 @ 09:18:35
  Author: alucryd
Revision: 1029744

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libvpx/repos/multilib-staging-x86_64/
  lib32-libvpx/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 1029743, lib32-libvpx/trunk/PKGBUILD)

----------+
 PKGBUILD |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

Copied: lib32-libvpx/repos/multilib-staging-x86_64/PKGBUILD (from rev 1029743, lib32-libvpx/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2021-10-12 09:18:35 UTC (rev 1029744)
@@ -0,0 +1,65 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=lib32-libvpx
+pkgver=1.11.0
+pkgrel=1
+pkgdesc='VP8 and VP9 codec'
+arch=(x86_64)
+url=https://www.webmproject.org/
+license=(BSD)
+depends=(
+  lib32-gcc-libs
+  libvpx
+)
+makedepends=(
+  git
+  nasm
+)
+provides=(libvpx.so)
+_tag=626ff35955c2c35b806b3e0ecf551a1a8611cdbf
+source=(git+https://chromium.googlesource.com/webm/libvpx#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd libvpx
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd libvpx
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --target=x86-linux-gcc \
+    --disable-install-bins \
+    --disable-install-docs \
+    --disable-install-srcs \
+    --enable-pic \
+    --enable-postproc \
+    --enable-runtime-cpu-detect \
+    --enable-shared \
+    --enable-vp8 \
+    --enable-vp9 \
+    --enable-vp9-highbitdepth \
+    --enable-vp9-temporal-denoising
+  make
+}
+
+package() {
+  cd libvpx
+
+  make DIST_DIR="${pkgdir}/usr" install
+  rm -rf "${pkgdir}"/usr/include
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libvpx "${pkgdir}"/usr/share/licenses/lib32-libvpx
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list