1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
8 pkgdesc='A multimedia framework based on the MPEG-4 Systems standard'
10 url=https://gpac.wp.imt.fr/
20 optdepends=('python: python bindings')
22 _tag=b34e3851670f4398a4e2efcb86b30a8b07743212
23 source=(git+https://github.com/gpac/gpac.git#tag=${_tag})
28 git describe --tags | sed 's/^v//'
32 export CFLAGS+=" -ffat-lto-objects"
33 export CXXFLAGS+=" -ffat-lto-objects"
37 --mandir=/usr/share/man \
46 make DESTDIR="${pkgdir}" STRIP=true -C gpac install
47 make DESTDIR="${pkgdir}" STRIP=true -C gpac install-lib