diff options
author | root <root@rshg054.dnsready.net> | 2011-11-06 23:15:07 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-06 23:15:07 +0000 |
commit | a4d309341dbcd3c28ee68e818c1d5ef54114adf8 (patch) | |
tree | d8b088a03f5cb2b56b2b7508933b4efcfd67f0b2 /community-testing/gpac/PKGBUILD | |
parent | 82fd7f658509afe9737e14e8d1ee9fefe13c9d1f (diff) |
Sun Nov 6 23:15:07 UTC 2011
Diffstat (limited to 'community-testing/gpac/PKGBUILD')
-rw-r--r-- | community-testing/gpac/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community-testing/gpac/PKGBUILD b/community-testing/gpac/PKGBUILD new file mode 100644 index 000000000..065728481 --- /dev/null +++ b/community-testing/gpac/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 57994 2011-11-05 11:38:57Z ibiru $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=gpac +pkgver=0.4.5 +pkgrel=9 +pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" +arch=('i686' 'x86_64') +url="http://gpac.sourceforge.net" +depends=('wxgtk' 'libmad' 'faad2' 'ffmpeg' 'freeglut') +license=('LGPL') +options=('!makeflags') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz + libpng14-infopp-null.patch openjpeg14.patch) +sha1sums=('2ec03c1d7dc3f4d10c0f7b47696cc1e753a56fc8' + '00ba08808ec46ef6b8301ede26e500b3449253c1' + '95747ca98cdf0efc33ec776764401f5a83818ab5') + +build() { + cd "${srcdir}/${pkgname}" + chmod +x configure + sed -i 's|--warn-common||' configure + sed -i 's#lib64#lib#g' configure + patch -p1 -i "${srcdir}/libpng14-infopp-null.patch" + patch -p1 -i "${srcdir}/openjpeg14.patch" + + export LDFLAGS=${LDFLAGS/,--as-needed/} + ./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no + make +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR="${pkgdir}" install install-lib +} |