PKGBUILDs/community/gpac/PKGBUILD

37 lines
945 B
Bash
Raw Normal View History

2013-10-26 00:28:26 +00:00
# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - use PIC with armv7
pkgname=gpac
2015-04-23 12:20:29 +00:00
pkgver=0.5.2
2014-09-23 15:55:23 +00:00
pkgrel=1
2015-04-23 12:20:29 +00:00
epoch=1
2013-10-26 00:28:26 +00:00
pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
arch=('i686' 'x86_64')
url="http://gpac.sourceforge.net"
license=('LGPL')
2015-04-23 12:20:29 +00:00
depends=('ffmpeg' 'glu' 'libxv')
makedepends=('git' 'jack' 'a52dec' 'freetype2' 'faad2' 'libmad' 'mesa' 'sdl2')
optdepends=('jack: for jack support'
'a52dec: for A52 support'
'faad2: for AAC support'
'libmad: for mp3 support'
'sdl2: for sdl support')
2013-10-26 00:28:26 +00:00
options=('staticlibs' '!makeflags')
2015-04-23 12:20:29 +00:00
source=(git://github.com/gpac/gpac.git)
sha1sums=('SKIP')
2013-10-26 00:28:26 +00:00
build() {
2015-04-23 12:20:29 +00:00
cd ${pkgname}
2013-10-26 00:28:26 +00:00
[[ $CARCH == 'armv7h' ]] && CONFIG='--enable-pic'
./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no $CONFIG
make
}
package() {
2015-04-23 12:20:29 +00:00
cd ${pkgname}
2013-10-26 00:28:26 +00:00
make DESTDIR="${pkgdir}" install install-lib
}