summaryrefslogtreecommitdiff
path: root/community/gpac/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-13 23:14:59 +0000
committerroot <root@rshg054.dnsready.net>2011-11-13 23:14:59 +0000
commit600d5378dadf22b8517d52ac19500594bce4b66d (patch)
tree0bd8bd6283e1aa90b77ad8dba0aa0f258e41a957 /community/gpac/PKGBUILD
parent559f8739357af66f22f2259e84b21c76b3a66205 (diff)
Sun Nov 13 23:14:59 UTC 2011
Diffstat (limited to 'community/gpac/PKGBUILD')
-rw-r--r--community/gpac/PKGBUILD50
1 files changed, 19 insertions, 31 deletions
diff --git a/community/gpac/PKGBUILD b/community/gpac/PKGBUILD
index a38817828..f040dc500 100644
--- a/community/gpac/PKGBUILD
+++ b/community/gpac/PKGBUILD
@@ -1,47 +1,35 @@
-# Maintainer: Brad Fanella <bradfanella@archlinux.us
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: niQo
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# $Id: PKGBUILD 58399 2011-11-12 17:17:21Z ibiru $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=gpac
pkgver=0.4.5
-pkgrel=8
+pkgrel=9
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' 'libmad'
- 'faad2' 'xvidcore' 'ffmpeg' 'freeglut')
-# 'js'
+depends=('wxgtk' 'libmad' 'faad2' 'ffmpeg' 'freeglut')
license=('LGPL')
-options=('!makeflags') # Multiple build jobs aren't handled correctly
+options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
libpng14-infopp-null.patch openjpeg14.patch)
-md5sums=('755e8c438a48ebdb13525dd491f5b0d1'
- '14d6483c9eb84434aea68596f243e0ca'
- '1605fc11bd49b9c8220820bb38912021')
+sha1sums=('2ec03c1d7dc3f4d10c0f7b47696cc1e753a56fc8'
+ '00ba08808ec46ef6b8301ede26e500b3449253c1'
+ '95747ca98cdf0efc33ec776764401f5a83818ab5')
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
+ 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"
- #FS#14506
- sed -i 's#lib64#lib#g' configure
- patch -Np1 -i ${srcdir}/libpng14-infopp-null.patch
- patch -Np1 -i ${srcdir}/openjpeg14.patch
-
- # Was getting "symbol lookup error: /usr/lib/gpac/gm_x11_out.so: undefined
- # symbol: XvQueryExtension" with our LDFLAGS :\
- export LDFLAGS=${LDFLAGS/,--as-needed/}
-
- ./configure --prefix=/usr --mandir=/usr/share/man --use-js=no
- make
+ 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
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="${pkgdir}" install install-lib
}