[arch-commits] Commit in gpac/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Mar 6 15:48:45 UTC 2022
Date: Sunday, March 6, 2022 @ 15:48:45
Author: foutrelis
Revision: 1142548
archrelease: copy trunk to community-staging-x86_64
Added:
gpac/repos/community-staging-x86_64/
gpac/repos/community-staging-x86_64/PKGBUILD
(from rev 1142547, gpac/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: gpac/repos/community-staging-x86_64/PKGBUILD (from rev 1142547, gpac/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-03-06 15:48:45 UTC (rev 1142548)
@@ -0,0 +1,49 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=gpac
+pkgver=1.0.1
+pkgrel=3
+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=d8538e8ae946b32d99c6b2c57cbb327146e9cd9d
+source=(git+https://github.com/gpac/gpac.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd gpac
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ export CFLAGS+=" -ffat-lto-objects"
+ export CXXFLAGS+=" -ffat-lto-objects"
+ 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