diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-03-14 16:10:04 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-03-14 16:10:04 +0100 |
commit | 96f47f7059e8ad389d0aa757b2c66ad7cd8daf74 (patch) | |
tree | f107c3838373376ef130dcfcb5a980cf8ad30a5f /community/gpac/PKGBUILD | |
parent | 40ece75655aebe0dd951a0489ed2111f1c27f8a8 (diff) | |
parent | 3ff20dedff636571ad0faa4736af5b23e4623ffe (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/cantata/PKGBUILD
community/gpsmanshp/PKGBUILD
community/pigz/PKGBUILD
extra/calligra/PKGBUILD
extra/genius/PKGBUILD
extra/gnumeric/PKGBUILD
extra/goffice/PKGBUILD
extra/graphicsmagick/PKGBUILD
extra/libgphoto2/PKGBUILD
extra/python-numpy/PKGBUILD
Diffstat (limited to 'community/gpac/PKGBUILD')
-rw-r--r-- | community/gpac/PKGBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/community/gpac/PKGBUILD b/community/gpac/PKGBUILD index 72e242bb4..8c32bda92 100644 --- a/community/gpac/PKGBUILD +++ b/community/gpac/PKGBUILD @@ -1,33 +1,35 @@ -# $Id: PKGBUILD 77646 2012-10-13 11:43:41Z allan $ +# $Id: PKGBUILD 86125 2013-03-12 06:02:35Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=gpac -pkgver=4065 -pkgrel=2 +pkgver=4288 +pkgrel=1 pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" arch=('i686' 'x86_64' 'mips64el') url="http://gpac.sourceforge.net" license=('LGPL') -depends=('ffmpeg' 'libjpeg' 'libpng' 'glu') -makedepends=('jack' 'a52dec' 'freetype2' 'libxv' 'faad2' 'libmad' 'mesa') +depends=('ffmpeg' 'libjpeg' 'libpng' 'glu' 'libxv') +makedepends=('jack' 'a52dec' 'freetype2' 'faad2' 'libmad' 'mesa') optdepends=('jack: for jack support' 'a52dec: for A52 support' 'faad2: for AAC support' 'libmad: for mp3 support') options=('!makeflags') source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}) -sha1sums=('9a60014c4467acf3ac070e4e4a42d13b35575da8' - 'a015cef1fd003c57bd91a6d0959ccd58df2357d4') +sha1sums=('6ba29de672b6e4260e510e0e16d5bc0ab09cabb6' + '794b0e4a497af527e093ff0328f1acc8995f2b04') # source PKGBUILD && mksource mksource() { [[ -x /usr/bin/svn ]] || (echo "svn not found. Install subversion." && return 1) - _svnver=$pkgver + _svnver=${pkgver} _svntrunk="https://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac" - _svnmod="$pkgname-$pkgver" - mkdir ${pkgname}-$pkgver - pushd ${pkgname}-$pkgver + _svnmod="$pkgname-${pkgver}" + mkdir ${pkgname}-${pkgver} + pushd ${pkgname}-${pkgver} svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + revision="$(svnversion ${pkgname}-${pkgver})" + echo "#define GPAC_SVN_REVISION \"$revision\"" > ${pkgname}-${pkgver}/include/gpac/revision.h find . -depth -type d -name .svn -exec rm -rf {} \; - tar -cJf ../${pkgname}-$pkgver.tar.xz ${pkgname}-$pkgver/* + tar -cJf ../${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/* popd rm -r ${pkgname}-${pkgver} gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz |