summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gpac/PKGBUILD
blob: 7f47c353f85a675a1ae7d60cb5e1764d69e7e31c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD,v 1.1 2008/07/16 09:37:15 allan Exp $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: niQo

pkgname=gpac
pkgver=0.4.4
pkgrel=2
pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
arch=('i686' 'x86_64')
url="http://gpac.sourceforge.net"
depends=('libxml2'  'alsa-lib' 'sdl' 'spidermonkey' 'libmad' \
         'faad2' 'xvidcore' 'ffmpeg' 'freeglut')
license=('LGPL')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('a5cb48ab85e9914d127fd8799b4b2e56')

build() {
  cd "${srcdir}/${pkgname}"
  chmod +x configure
  sed -i 's#osmozilla##g' applications/Makefile
  sed -i 's#"$(prefix)#"$(DESTDIR)$(prefix)#' applications/osmo4_wx/Makefile
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${pkgdir}/ install-lib
  make DESTDIR=${pkgdir}/ install
}