[arch-commits] Commit in gpac/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Tue Jul 21 11:21:39 UTC 2020


    Date: Tuesday, July 21, 2020 @ 11:21:38
  Author: alucryd
Revision: 664715

archrelease: copy trunk to extra-x86_64

Added:
  gpac/repos/extra-x86_64/
  gpac/repos/extra-x86_64/PKGBUILD
    (from rev 664714, gpac/trunk/PKGBUILD)

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

Copied: gpac/repos/extra-x86_64/PKGBUILD (from rev 664714, gpac/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-07-21 11:21:38 UTC (rev 664715)
@@ -0,0 +1,57 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=gpac
+pkgver=1.0.0
+pkgrel=1
+epoch=1
+pkgdesc='A multimedia framework based on the MPEG-4 Systems standard'
+arch=(x86_64)
+url=https://gpac.wp.imt.fr/
+license=(LGPL)
+depends=(
+  glibc
+  openssl
+  xz
+  zlib
+)
+makedepends=(git)
+provides=(libgpac.so)
+_tag=a99c032b7afbc2e0a55d0259fd09b4139f8a7402
+source=(git+https://github.com/gpac/gpac.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd gpac
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd gpac
+
+  git cherry-pick -n 4710737bed502534499754afd730601c7ffb3d7b
+  git cherry-pick -n 1bfe33a9f4f985065efbff00ff700cca9e380be9
+  git cherry-pick -n 45633fabccf331405f5c09aa44db86d6962dfd0f
+}
+
+build() {
+  cd gpac
+
+  ./configure \
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --disable-oss-audio \
+    --disable-dvb4linux \
+    --disable-qjs \
+    --enable-pic \
+    --use-js=no
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" STRIP=true -C gpac install
+  make DESTDIR="${pkgdir}" STRIP=true -C gpac install-lib
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list