2013-10-26 00:28:26 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
2016-08-06 15:12:19 +00:00
|
|
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
2013-10-26 00:28:26 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2015-09-04 23:57:01 +00:00
|
|
|
# - use PIC with armv7 and AArch64
|
2013-10-26 00:28:26 +00:00
|
|
|
|
|
|
|
pkgname=gpac
|
2016-08-06 15:12:19 +00:00
|
|
|
pkgver=0.6.1
|
|
|
|
pkgrel=1
|
2015-04-23 12:20:29 +00:00
|
|
|
epoch=1
|
2016-08-06 15:12:19 +00:00
|
|
|
pkgdesc='A multimedia framework based on the MPEG-4 Systems standard'
|
2013-10-26 00:28:26 +00:00
|
|
|
arch=('i686' 'x86_64')
|
2016-08-06 15:12:19 +00:00
|
|
|
url='https://gpac.wp.mines-telecom.fr/'
|
2013-10-26 00:28:26 +00:00
|
|
|
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'
|
2016-08-06 15:12:19 +00:00
|
|
|
'a52dec: for A52 support'
|
2015-04-23 12:20:29 +00:00
|
|
|
'faad2: for AAC support'
|
2016-08-06 15:12:19 +00:00
|
|
|
'libmad: for mp3 support'
|
|
|
|
'sdl2: for sdl support')
|
|
|
|
provides=('libgpac.so')
|
2013-10-26 00:28:26 +00:00
|
|
|
options=('staticlibs' '!makeflags')
|
2016-08-06 15:12:19 +00:00
|
|
|
source=("gpac-${pkgver}.tar.gz::https://github.com/gpac/gpac/archive/v${pkgver}.tar.gz")
|
|
|
|
sha256sums=('67d1ac8f8b3e74da0e4e38ea926dc15bca6e9941e8f366e3538abcf13c103c09')
|
2013-10-26 00:28:26 +00:00
|
|
|
|
|
|
|
build() {
|
2016-08-06 15:12:19 +00:00
|
|
|
cd gpac-${pkgver}
|
|
|
|
|
2015-09-04 23:57:01 +00:00
|
|
|
[[ $CARCH == 'armv7h' || $CARCH == 'aarch64' ]] && CONFIG='--enable-pic'
|
2016-08-06 15:12:19 +00:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix='/usr' \
|
|
|
|
--mandir='/usr/share/man' \
|
|
|
|
--X11-path='/usr' \
|
|
|
|
--use-js='no' $CONFIG
|
2013-10-26 00:28:26 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-08-06 15:12:19 +00:00
|
|
|
cd gpac-${pkgver}
|
|
|
|
|
2013-10-26 00:28:26 +00:00
|
|
|
make DESTDIR="${pkgdir}" install install-lib
|
|
|
|
}
|
2016-08-06 15:12:19 +00:00
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|