diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/gpac | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/extra/gpac')
-rw-r--r-- | abs/extra/gpac/ChangeLog | 9 | ||||
-rwxr-xr-x | abs/extra/gpac/PKGBUILD | 27 | ||||
-rwxr-xr-x | abs/extra/gpac/gpac-0.4.2-ffmpeg-errno.patch | 20 |
3 files changed, 56 insertions, 0 deletions
diff --git a/abs/extra/gpac/ChangeLog b/abs/extra/gpac/ChangeLog new file mode 100644 index 0000000..5e63198 --- /dev/null +++ b/abs/extra/gpac/ChangeLog @@ -0,0 +1,9 @@ +2009-04-19 Allan McRae <allan@archlinux.org> + * gpac-0.4.5-2 + * Rebuild against libavcodec.so.52 (FS#14291) + +2008-12-14 Allan McRae <allan@archlinux.org> + * gpac-0.4.5-1 + * upstream update + * FHS man page + diff --git a/abs/extra/gpac/PKGBUILD b/abs/extra/gpac/PKGBUILD new file mode 100755 index 0000000..04ce3cc --- /dev/null +++ b/abs/extra/gpac/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD,v 1.4 2009/04/19 08:06:33 allan Exp $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: niQo + +pkgname=gpac +pkgver=0.4.5 +pkgrel=4 +pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" +arch=('i686' 'x86_64') +url="http://gpac.sourceforge.net" +depends=('libxml2' 'wxgtk' 'alsa-lib' 'sdl' 'spidermonkey' 'libmad' \ + 'faad2' 'xvidcore' 'ffmpeg' 'freeglut' 'libjpeg') +license=('LGPL') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('755e8c438a48ebdb13525dd491f5b0d1') + +build() { + cd "${srcdir}/${pkgname}" + chmod +x configure + sed -i 's#osmozilla##g' applications/Makefile + sed -i 's#"$(prefix)#"$(DESTDIR)$(prefix)#' applications/osmo4_wx/Makefile + sed -i 's#ldconfig || true##g' Makefile + ./configure --prefix=/usr --mandir=/usr/share/man --use-js=no + make || return 1 + make DESTDIR=${pkgdir}/ install-lib + make DESTDIR=${pkgdir}/ install +} diff --git a/abs/extra/gpac/gpac-0.4.2-ffmpeg-errno.patch b/abs/extra/gpac/gpac-0.4.2-ffmpeg-errno.patch new file mode 100755 index 0000000..ec59cec --- /dev/null +++ b/abs/extra/gpac/gpac-0.4.2-ffmpeg-errno.patch @@ -0,0 +1,20 @@ +Index: gpac/modules/ffmpeg_in/ffmpeg_demux.c +=================================================================== +--- gpac.orig/modules/ffmpeg_in/ffmpeg_demux.c ++++ gpac/modules/ffmpeg_in/ffmpeg_demux.c +@@ -23,6 +23,7 @@ + */ + + #include "ffmpeg_in.h" ++#include <errno.h> + + /*default buffer is 200 ms per channel*/ + #define FFD_DATA_BUFFER 800 +@@ -285,7 +286,6 @@ static GF_ESD *FFD_GetESDescriptor(FFDem + case CODEC_ID_MP3: + esd->decoderConfig->objectTypeIndication = 0x69; + break; +- case CODEC_ID_MPEG4AAC: + case CODEC_ID_AAC: + if (!dec->extradata_size) goto opaque_audio; + esd->decoderConfig->objectTypeIndication = 0x40; |