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

Bruno Pagani archange at archlinux.org
Thu Oct 15 03:52:11 UTC 2020


    Date: Thursday, October 15, 2020 @ 03:52:11
  Author: archange
Revision: 724046

archrelease: copy trunk to community-staging-x86_64

Added:
  libavif/repos/community-staging-x86_64/
  libavif/repos/community-staging-x86_64/PKGBUILD
    (from rev 724045, libavif/trunk/PKGBUILD)

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

Copied: libavif/repos/community-staging-x86_64/PKGBUILD (from rev 724045, libavif/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-10-15 03:52:11 UTC (rev 724046)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=libavif
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="Library for encoding and decoding .avif files"
+arch=(x86_64)
+url="https://github.com/AOMediaCodec/libavif"
+license=(BSD)
+depends=(glibc aom dav1d rav1e zlib libpng libjpeg)
+makedepends=(cmake nasm pkgconf gdk-pixbuf2)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('1b79ec439d446dfd659098d36401b4d2df77dd19d53d7d944ade7164b3ef28a2')
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DAVIF_BUILD_APPS=ON \
+    -DAVIF_CODEC_AOM=ON \
+    -DAVIF_CODEC_DAV1D=ON \
+    -DAVIF_CODEC_RAV1E=ON \
+    -DAVIF_BUILD_GDK_PIXBUF=ON
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+  install -Dm644 ${pkgname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list