[arch-commits] Commit in libavif/repos (community-x86_64 community-x86_64/PKGBUILD)

Bruno Pagani archange at archlinux.org
Mon Aug 10 17:53:50 UTC 2020


    Date: Monday, August 10, 2020 @ 17:53:49
  Author: archange
Revision: 673972

archrelease: copy trunk to community-x86_64

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

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

Copied: libavif/repos/community-x86_64/PKGBUILD (from rev 673971, libavif/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-08-10 17:53:49 UTC (rev 673972)
@@ -0,0 +1,29 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=libavif
+pkgver=0.8.1
+pkgrel=2
+pkgdesc="Library for encoding and decoding .avif files"
+arch=(x86_64)
+url="https://github.com/AOMediaCodec/libavif"
+license=(BSD)
+depends=(glibc dav1d rav1e zlib libpng libjpeg)
+makedepends=(cmake nasm pkgconf gdk-pixbuf2)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('27d39b69151fd090f26e10779ec79876af44876d180edda77beafa8e7e7aca26')
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DAVIF_BUILD_APPS=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