mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
984 B
Bash
30 lines
984 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
||
|
# Contributor: niQo
|
||
|
|
||
|
pkgname=gpac
|
||
|
pkgver=0.4.5
|
||
|
pkgrel=3
|
||
|
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' 'spidermonkey' 'libmad' \
|
||
|
'faad2' 'xvidcore' 'ffmpeg' 'freeglut')
|
||
|
license=('LGPL')
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||
|
md5sums=('755e8c438a48ebdb13525dd491f5b0d1')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}"
|
||
|
chmod +x 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
|
||
|
./configure --prefix=/usr --mandir=/usr/share/man --use-js=no
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir}/ install-lib
|
||
|
make DESTDIR=${pkgdir}/ install
|
||
|
}
|