[arch-commits] Commit in gpac/repos (4 files)
Eric Bélanger
eric at nymeria.archlinux.org
Sun Apr 28 06:31:42 UTC 2013
Date: Sunday, April 28, 2013 @ 08:31:41
Author: eric
Revision: 89222
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
gpac/repos/community-staging-i686/
gpac/repos/community-staging-i686/PKGBUILD
(from rev 89221, gpac/trunk/PKGBUILD)
gpac/repos/community-staging-x86_64/
gpac/repos/community-staging-x86_64/PKGBUILD
(from rev 89221, gpac/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
Copied: gpac/repos/community-staging-i686/PKGBUILD (from rev 89221, gpac/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-04-28 06:31:41 UTC (rev 89222)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gpac
+pkgver=4288
+pkgrel=2
+pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
+arch=('i686' 'x86_64')
+url="http://gpac.sourceforge.net"
+license=('LGPL')
+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=('6ba29de672b6e4260e510e0e16d5bc0ab09cabb6'
+ '794b0e4a497af527e093ff0328f1acc8995f2b04')
+
+# source PKGBUILD && mksource
+mksource() {
+ [[ -x /usr/bin/svn ]] || (echo "svn not found. Install subversion." && return 1)
+ _svnver=${pkgver}
+ _svntrunk="https://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac"
+ _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}/*
+ popd
+ rm -r ${pkgname}-${pkgver}
+ gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install install-lib
+}
Copied: gpac/repos/community-staging-x86_64/PKGBUILD (from rev 89221, gpac/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-04-28 06:31:41 UTC (rev 89222)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gpac
+pkgver=4288
+pkgrel=2
+pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
+arch=('i686' 'x86_64')
+url="http://gpac.sourceforge.net"
+license=('LGPL')
+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=('6ba29de672b6e4260e510e0e16d5bc0ab09cabb6'
+ '794b0e4a497af527e093ff0328f1acc8995f2b04')
+
+# source PKGBUILD && mksource
+mksource() {
+ [[ -x /usr/bin/svn ]] || (echo "svn not found. Install subversion." && return 1)
+ _svnver=${pkgver}
+ _svntrunk="https://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac"
+ _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}/*
+ popd
+ rm -r ${pkgname}-${pkgver}
+ gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install install-lib
+}
More information about the arch-commits
mailing list