diff options
author | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:26:09 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:26:22 (GMT) |
commit | e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch) | |
tree | bee3fe89f2988dd244e11791755e129aa8c03b14 /abs/not_built/extra/community/gpac/PKGBUILD | |
parent | 8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff) | |
download | linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2 |
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/not_built/extra/community/gpac/PKGBUILD')
-rw-r--r-- | abs/not_built/extra/community/gpac/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/abs/not_built/extra/community/gpac/PKGBUILD b/abs/not_built/extra/community/gpac/PKGBUILD new file mode 100644 index 0000000..69717e2 --- /dev/null +++ b/abs/not_built/extra/community/gpac/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Brad Fanella <bradfanella@archlinux.us +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: niQo +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=gpac +pkgver=0.4.5 +pkgrel=7 +pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" +arch=('i686' 'x86_64') +url="http://gpac.sourceforge.net" +depends=('libxml2' 'wxgtk' 'alsa-lib' 'sdl' 'js' 'libmad' \ + 'faad2' 'xvidcore' 'ffmpeg' 'freeglut') +license=('LGPL') +options=('!makeflags') # Multiple build jobs aren't handled correctly +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz + libpng14-infopp-null.patch) +md5sums=('755e8c438a48ebdb13525dd491f5b0d1' + '14d6483c9eb84434aea68596f243e0ca') + +build() { + cd ${srcdir}/${pkgname} + chmod +x configure + sed -i 's|--warn-common||' configure + sed -i 's#osmozilla##g' applications/Makefile + sed -i 's#"$(prefix)#"$(DESTDIR)$(prefix)#' applications/osmo4_wx/Makefile + sed -i 's#ldconfig || true##g' Makefile + + #FS#14506 + sed -i 's#lib64#lib#g' configure + patch -Np1 -i ${srcdir}/libpng14-infopp-null.patch + + # Was getting "symbol lookup error: /usr/lib/gpac/gm_x11_out.so: undefined + # symbol: XvQueryExtension" with our LDFLAGS :\ + unset LDFLAGS + + ./configure --prefix=/usr --mandir=/usr/share/man --use-js=no + make +} + +package() { + cd ${srcdir}/${pkgname} + make DESTDIR=${pkgdir} install install-lib +} |