mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/gpac to 0.6.1-1
This commit is contained in:
parent
4dd3891b55
commit
f4ed99d432
1 changed files with 23 additions and 19 deletions
|
@ -1,43 +1,47 @@
|
|||
# $Id$
|
||||
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
||||
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - use PIC with armv7 and AArch64
|
||||
|
||||
pkgname=gpac
|
||||
pkgver=0.5.2
|
||||
pkgrel=6
|
||||
pkgver=0.6.1
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
|
||||
pkgdesc='A multimedia framework based on the MPEG-4 Systems standard'
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://gpac.sourceforge.net"
|
||||
url='https://gpac.wp.mines-telecom.fr/'
|
||||
license=('LGPL')
|
||||
depends=('ffmpeg' 'glu' 'libxv')
|
||||
makedepends=('git' 'jack' 'a52dec' 'freetype2' 'faad2' 'libmad' 'mesa' 'sdl2')
|
||||
optdepends=('jack: for jack support'
|
||||
'a52dec: for A52 support'
|
||||
'a52dec: for A52 support'
|
||||
'faad2: for AAC support'
|
||||
'libmad: for mp3 support'
|
||||
'sdl2: for sdl support')
|
||||
'libmad: for mp3 support'
|
||||
'sdl2: for sdl support')
|
||||
provides=('libgpac.so')
|
||||
options=('staticlibs' '!makeflags')
|
||||
source=(git://github.com/gpac/gpac.git#tag=v$pkgver gpac-ffmpeg3.patch)
|
||||
sha1sums=('SKIP'
|
||||
'2ce98b1d8aa2f8091c6581d189470250502484e7')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
# Fix build with ffmpeg 3.0 (Gentoo)
|
||||
patch -p1 -i ../gpac-ffmpeg3.patch
|
||||
}
|
||||
source=("gpac-${pkgver}.tar.gz::https://github.com/gpac/gpac/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('67d1ac8f8b3e74da0e4e38ea926dc15bca6e9941e8f366e3538abcf13c103c09')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
cd gpac-${pkgver}
|
||||
|
||||
[[ $CARCH == 'armv7h' || $CARCH == 'aarch64' ]] && CONFIG='--enable-pic'
|
||||
./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no $CONFIG
|
||||
|
||||
./configure \
|
||||
--prefix='/usr' \
|
||||
--mandir='/usr/share/man' \
|
||||
--X11-path='/usr' \
|
||||
--use-js='no' $CONFIG
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}
|
||||
cd gpac-${pkgver}
|
||||
|
||||
make DESTDIR="${pkgdir}" install install-lib
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue