mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
36 lines
945 B
Bash
36 lines
945 B
Bash
# $Id$
|
|
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - use PIC with armv7
|
|
|
|
pkgname=gpac
|
|
pkgver=0.5.2
|
|
pkgrel=1
|
|
epoch=1
|
|
pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
|
|
arch=('i686' 'x86_64')
|
|
url="http://gpac.sourceforge.net"
|
|
license=('LGPL')
|
|
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')
|
|
options=('staticlibs' '!makeflags')
|
|
source=(git://github.com/gpac/gpac.git)
|
|
sha1sums=('SKIP')
|
|
|
|
build() {
|
|
cd ${pkgname}
|
|
[[ $CARCH == 'armv7h' ]] && CONFIG='--enable-pic'
|
|
./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no $CONFIG
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}
|
|
make DESTDIR="${pkgdir}" install install-lib
|
|
}
|