pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/gpac Import gpac version 0.4.5.
details: https://anonhg.NetBSD.org/pkgsrc/rev/48d36773d648
branches: trunk
changeset: 553521:48d36773d648
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Fri Jan 23 14:54:23 2009 +0000
description:
Import gpac version 0.4.5.
GPAC features encoders and multiplexers, publishing and content distribution
tools for MP4 and 3GPP or 3GPP2 files and many tools for scene descriptions
(BIFS/VRML/X3D converters, SWF/BIFS, SVG/BIFS, etc...). MP4Box provides all
these tools in a single command-line application.
diffstat:
multimedia/gpac/DESCR | 4 ++++
multimedia/gpac/Makefile | 35 +++++++++++++++++++++++++++++++++++
multimedia/gpac/PLIST | 35 +++++++++++++++++++++++++++++++++++
multimedia/gpac/buildlink3.mk | 19 +++++++++++++++++++
multimedia/gpac/distinfo | 8 ++++++++
multimedia/gpac/patches/patch-aa | 22 ++++++++++++++++++++++
multimedia/gpac/patches/patch-ab | 12 ++++++++++++
multimedia/gpac/patches/patch-ac | 23 +++++++++++++++++++++++
8 files changed, 158 insertions(+), 0 deletions(-)
diffs (190 lines):
diff -r ab4d9f2c847a -r 48d36773d648 multimedia/gpac/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gpac/DESCR Fri Jan 23 14:54:23 2009 +0000
@@ -0,0 +1,4 @@
+GPAC features encoders and multiplexers, publishing and content distribution
+tools for MP4 and 3GPP or 3GPP2 files and many tools for scene descriptions
+(BIFS/VRML/X3D converters, SWF/BIFS, SVG/BIFS, etc...). MP4Box provides all
+these tools in a single command-line application.
diff -r ab4d9f2c847a -r 48d36773d648 multimedia/gpac/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gpac/Makefile Fri Jan 23 14:54:23 2009 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+#
+
+DISTNAME= gpac-0.4.5
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gpac/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://gpac.sourceforge.net/
+COMMENT= Open source multimedia framework
+
+WRKSRC= ${WRKDIR}/gpac
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+# not really GNU configure, but close enough
+GNU_CONFIGURE= yes
+
+.include "../../audio/faad2/buildlink3.mk"
+.include "../../audio/liba52/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/pulseaudio/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+# doesn't work yet
+#.include "../../lang/spidermonkey/buildlink3.mk"
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../multimedia/xvidcore/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXv/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ab4d9f2c847a -r 48d36773d648 multimedia/gpac/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gpac/PLIST Fri Jan 23 14:54:23 2009 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+bin/MP4Box
+bin/MP4Client
+lib/gpac/gm_aac_in.so
+lib/gpac/gm_ac3_in.so
+lib/gpac/gm_bifs_dec.so
+lib/gpac/gm_ctx_load.so
+lib/gpac/gm_dummy_in.so
+lib/gpac/gm_ffmpeg_in.so
+lib/gpac/gm_ft_font.so
+lib/gpac/gm_img_in.so
+lib/gpac/gm_ismacryp.so
+lib/gpac/gm_isom_in.so
+lib/gpac/gm_laser_dec.so
+lib/gpac/gm_mp3_in.so
+lib/gpac/gm_mpegts_in.so
+lib/gpac/gm_odf_dec.so
+lib/gpac/gm_ogg_xiph.so
+lib/gpac/gm_oss_audio.so
+lib/gpac/gm_raw_out.so
+lib/gpac/gm_rtp_in.so
+lib/gpac/gm_saf_in.so
+lib/gpac/gm_soft_raster.so
+lib/gpac/gm_svg_in.so
+lib/gpac/gm_timedtext.so
+lib/gpac/gm_x11_out.so
+lib/gpac/gm_xvid_dec.so
+lib/libgpac-0.4.5.so
+lib/libgpac.so
+man/man1/gpac.1
+man/man1/mp4box.1
+man/man1/mp4client.1
+share/gpac/gpac.mp4
+@dirrm share/gpac
+@dirrm lib/gpac
diff -r ab4d9f2c847a -r 48d36773d648 multimedia/gpac/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gpac/buildlink3.mk Fri Jan 23 14:54:23 2009 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GPAC_BUILDLINK3_MK:= ${GPAC_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= gpac
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngpac}
+BUILDLINK_PACKAGES+= gpac
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gpac
+
+.if ${GPAC_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.gpac+= gpac>=0.4.5
+BUILDLINK_PKGSRCDIR.gpac?= ../../multimedia/gpac
+.endif # GPAC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r ab4d9f2c847a -r 48d36773d648 multimedia/gpac/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gpac/distinfo Fri Jan 23 14:54:23 2009 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+
+SHA1 (gpac-0.4.5.tar.gz) = 2ec03c1d7dc3f4d10c0f7b47696cc1e753a56fc8
+RMD160 (gpac-0.4.5.tar.gz) = 21249249a412efa5d1237907cb6b8cfe6282e86f
+Size (gpac-0.4.5.tar.gz) = 4269054 bytes
+SHA1 (patch-aa) = bd4a1314fa80ced3cc4aaa632e4a522f877207a9
+SHA1 (patch-ab) = 19bb0746ced98fbb438673a406a570cad7aaabb4
+SHA1 (patch-ac) = 25f8b92a308b6a70fb160980fe86e7d3e3f3f0ac
diff -r ab4d9f2c847a -r 48d36773d648 multimedia/gpac/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gpac/patches/patch-aa Fri Jan 23 14:54:23 2009 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+
+--- modules/oss_audio/oss.c.orig 2008-04-18 11:57:49.000000000 -0400
++++ modules/oss_audio/oss.c
+@@ -89,7 +89,7 @@ static GF_Err OSS_Setup(GF_AudioOutput*d
+ static void OSS_Shutdown(GF_AudioOutput*dr)
+ {
+ OSSCTX();
+- ioctl(ctx->audio_dev,SNDCTL_DSP_RESET);
++ ioctl(ctx->audio_dev,SNDCTL_DSP_RESET,NULL);
+ close(ctx->audio_dev);
+ if (ctx->wav_buf) free(ctx->wav_buf);
+ ctx->wav_buf = NULL;
+@@ -104,7 +104,7 @@ static GF_Err OSS_ConfigureOutput(GF_Aud
+
+ if (!ctx) return GF_BAD_PARAM;
+ /* reset and reopen audio-device */
+- ioctl(ctx->audio_dev,SNDCTL_DSP_RESET);
++ ioctl(ctx->audio_dev,SNDCTL_DSP_RESET,NULL);
+ close(ctx->audio_dev);
+ if (ctx->wav_buf) free(ctx->wav_buf);
+ ctx->wav_buf = NULL;
diff -r ab4d9f2c847a -r 48d36773d648 multimedia/gpac/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gpac/patches/patch-ab Fri Jan 23 14:54:23 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+
+--- modules/x11_out/x11_out.c.orig 2009-01-23 09:17:24.000000000 -0500
++++ modules/x11_out/x11_out.c
+@@ -25,6 +25,7 @@
+
+ #include "x11_out.h"
+ #include <gpac/constants.h>
++#include <sys/time.h>
+
+
+ void X11_SetupWindow (GF_VideoOutput * vout);
diff -r ab4d9f2c847a -r 48d36773d648 multimedia/gpac/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gpac/patches/patch-ac Fri Jan 23 14:54:23 2009 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $
+
+--- configure.orig 2009-01-23 09:22:30.000000000 -0500
++++ configure
+@@ -217,12 +217,16 @@ case "$cpu" in
+ ;;
+ x86_64|amd64)
+ cpu="x86"
+- is_64="yes"
++ if test "$linux" = "yes" ; then
++ is_64="yes"
++ fi
+ canon_arch="`cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
+ if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
+ if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then
+ cpu="x86_64"
+- libdir="lib64"
++ if test "$linux" = "yes" ; then
++ libdir="lib64"
++ fi
+ #that's a bit crude...
+ PIC_CFLAGS="-fPIC -DPIC"
+ want_pic="yes"
Home |
Main Index |
Thread Index |
Old Index