summaryrefslogtreecommitdiff
path: root/community-staging/gpac
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
commit28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch)
treeb5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /community-staging/gpac
parent3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff)
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'community-staging/gpac')
-rw-r--r--community-staging/gpac/PKGBUILD35
-rw-r--r--community-staging/gpac/libpng14-infopp-null.patch12
-rw-r--r--community-staging/gpac/openjpeg14.patch23
3 files changed, 0 insertions, 70 deletions
diff --git a/community-staging/gpac/PKGBUILD b/community-staging/gpac/PKGBUILD
deleted file mode 100644
index 2e1960eee..000000000
--- a/community-staging/gpac/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 57689 2011-11-01 10:02:30Z ebelanger $
-# Maintainer: Eric BĂ©langer <eric@archlinux.org>
-
-pkgname=gpac
-pkgver=0.4.5
-pkgrel=9
-pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
-arch=('i686' 'x86_64')
-url="http://gpac.sourceforge.net"
-depends=('wxgtk' 'libmad' 'faad2' 'ffmpeg' 'freeglut')
-license=('LGPL')
-options=('!makeflags')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
- libpng14-infopp-null.patch openjpeg14.patch)
-sha1sums=('2ec03c1d7dc3f4d10c0f7b47696cc1e753a56fc8'
- '00ba08808ec46ef6b8301ede26e500b3449253c1'
- '95747ca98cdf0efc33ec776764401f5a83818ab5')
-
-build() {
- cd "${srcdir}/${pkgname}"
- chmod +x configure
- sed -i 's|--warn-common||' configure
- sed -i 's#lib64#lib#g' configure
- patch -p1 -i "${srcdir}/libpng14-infopp-null.patch"
- patch -p1 -i "${srcdir}/openjpeg14.patch"
-
- export LDFLAGS=${LDFLAGS/,--as-needed/}
- ./configure --prefix=/usr --mandir=/usr/share/man --X11-path=/usr --use-js=no
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
- make DESTDIR="${pkgdir}" install install-lib
-}
diff --git a/community-staging/gpac/libpng14-infopp-null.patch b/community-staging/gpac/libpng14-infopp-null.patch
deleted file mode 100644
index b02456557..000000000
--- a/community-staging/gpac/libpng14-infopp-null.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -upr gpac.orig/src/media_tools/img.c gpac/src/media_tools/img.c
---- gpac.orig/src/media_tools/img.c 2010-01-24 19:03:28.000000000 +0200
-+++ gpac/src/media_tools/img.c 2010-01-24 19:04:07.000000000 +0200
-@@ -551,7 +551,7 @@ GF_Err gf_img_png_enc(char *data, u32 wi
- /* Allocate/initialize the image information data. REQUIRED */
- info_ptr = png_create_info_struct(png_ptr);
- if (info_ptr == NULL) {
-- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
-+ png_destroy_write_struct(&png_ptr, NULL);
- return GF_IO_ERR;
- }
-
diff --git a/community-staging/gpac/openjpeg14.patch b/community-staging/gpac/openjpeg14.patch
deleted file mode 100644
index 68a625eeb..000000000
--- a/community-staging/gpac/openjpeg14.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=361359
-
-Index: gpac/modules/img_in/jp2_dec.c
-===================================================================
---- gpac.orig/modules/img_in/jp2_dec.c
-+++ gpac/modules/img_in/jp2_dec.c
-@@ -340,9 +340,16 @@ static GF_Err JP2_ProcessData(GF_MediaDe
- return GF_OK;
- }
-
-+char opj_version_buffer[500];
-+
- static const char *JP2_GetCodecName(GF_BaseDecoder *dec)
- {
-+#ifndef OPENJPEG_VERSION
-+ snprintf(opj_version_buffer, sizeof(opj_version_buffer), "OpenJPEG %s", opj_version());
-+ return opj_version_buffer;
-+#else
- return "OpenJPEG "OPENJPEG_VERSION ;
-+#endif
- }
-
-