Date: Friday, February 17, 2023 @ 14:27:17
  Author: alucryd
Revision: 469199

archrelease: copy trunk to staging-x86_64

Added:
  libvpx/repos/staging-x86_64/
  libvpx/repos/staging-x86_64/PKGBUILD
    (from rev 469198, libvpx/trunk/PKGBUILD)

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

Copied: libvpx/repos/staging-x86_64/PKGBUILD (from rev 469198, 
libvpx/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2023-02-17 14:27:17 UTC (rev 469199)
@@ -0,0 +1,57 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Ionut Biru <[email protected]>
+# Contributor: BartÅ‚omiej Piotrowski <[email protected]>
+
+pkgname=libvpx
+pkgver=1.13.0
+pkgrel=1
+pkgdesc='VP8 and VP9 codec'
+arch=(x86_64)
+url=https://www.webmproject.org/
+license=(BSD)
+depends=(gcc-libs)
+makedepends=(
+  git
+  nasm
+)
+provides=(libvpx.so)
+_tag=d6eb9696aa72473c1a11d34d928d35a3acc0c9a9
+source=(git+https://chromium.googlesource.com/webm/libvpx#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd libvpx
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd libvpx
+
+  CFLAGS+=' -ffat-lto-objects'
+  CXXFLAGS+=' -ffat-lto-objects'
+
+  ./configure \
+    --prefix=/usr \
+    --disable-install-docs \
+    --disable-install-srcs \
+    --disable-unit-tests \
+    --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
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx/
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to