diff options
author | ahze <ahze@FreeBSD.org> | 2005-05-04 07:53:04 +0000 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-05-04 07:53:04 +0000 |
commit | 42a2c576fef4363c39dded7d91d837b8fcf4051d (patch) | |
tree | 5c9089006d7f91cdf4b65d32a0527b5d4c2ededc /multimedia/gpac-libgpac | |
parent | 0dbae531d17ccedfb5f6eda1cb5aa6c3ad2c9624 (diff) | |
download | FreeBSD-ports-42a2c576fef4363c39dded7d91d837b8fcf4051d.zip FreeBSD-ports-42a2c576fef4363c39dded7d91d837b8fcf4051d.tar.gz |
- Add gpac-libm4systems
Gpac MPEG-4 Systems library and headers
WWW: http://gpac.sourceforge.net/
This is a small portion of gpac, only headers and mpeg4 systems library
due to a chicken and egg problem similar to mpeg4ip, faad, and mpeg4ip-libmp4v2
x264 wants m4systems lib for mpeg4 output, gpac wants ffmpeg, next version
of ffmpeg wants x264.
Diffstat (limited to 'multimedia/gpac-libgpac')
-rw-r--r-- | multimedia/gpac-libgpac/Makefile | 48 | ||||
-rw-r--r-- | multimedia/gpac-libgpac/distinfo | 2 | ||||
-rw-r--r-- | multimedia/gpac-libgpac/pkg-descr | 3 | ||||
-rw-r--r-- | multimedia/gpac-libgpac/pkg-plist | 39 |
4 files changed, 92 insertions, 0 deletions
diff --git a/multimedia/gpac-libgpac/Makefile b/multimedia/gpac-libgpac/Makefile new file mode 100644 index 0000000..c31472c --- /dev/null +++ b/multimedia/gpac-libgpac/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: gpac-libm4systems +# Date created: 2005-05-04 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gpac-libm4systems +DISTVERSION= 0.2.4-rc4 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gpac +DISTNAME= gpac-${DISTVERSION} + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Gpac MPEG-4 Systems library and headers + +WRKSRC= ${WRKDIR}/gpac +ALL_TARGET= lib +USE_GMAKE= yes +HAS_CONFIGURE= yes +INSTALLS_SHLIB= yes +USE_REINPLACE= yes + +BUILD_WRKSRC= ${WRKSRC}/M4Systems +INSTALL_WRKSRC= ${WRKSRC}/bin/gcc + +CONFIGURE_ARGS= --cc="${CC}" \ + --extra-cflags="${CFLAGS} ${PTHREAD_CFLAGS}" \ + --extra-ldflags="${LDFLAGS} ${PTHREAD_LDFLAGS}" + +.include <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ + ${WRKSRC}/include/gpac/m4_config.h + @${RM} -f ${WRKSRC}/include/gpac/m4_config.h.bak +.endif + +do-install: + ${MKDIR} ${PREFIX}/include/gpac + cd ${WRKSRC}/include/gpac && ${FIND} . | \ + ${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/gpac + ${INSTALL_DATA} ${INSTALL_WRKSRC}/libm4systems.so ${PREFIX}/lib + ${INSTALL_DATA} ${INSTALL_WRKSRC}/libm4systems_static.a ${PREFIX}/lib + +.include <bsd.port.post.mk> diff --git a/multimedia/gpac-libgpac/distinfo b/multimedia/gpac-libgpac/distinfo new file mode 100644 index 0000000..d51aa98 --- /dev/null +++ b/multimedia/gpac-libgpac/distinfo @@ -0,0 +1,2 @@ +MD5 (gpac-0.2.4-rc4.tar.gz) = 7b9b7d28691608045c5bc3ff3ec27858 +SIZE (gpac-0.2.4-rc4.tar.gz) = 2799479 diff --git a/multimedia/gpac-libgpac/pkg-descr b/multimedia/gpac-libgpac/pkg-descr new file mode 100644 index 0000000..bcbab06 --- /dev/null +++ b/multimedia/gpac-libgpac/pkg-descr @@ -0,0 +1,3 @@ +Gpac MPEG-4 Systems library and headers + +WWW: http://gpac.sourceforge.net/ diff --git a/multimedia/gpac-libgpac/pkg-plist b/multimedia/gpac-libgpac/pkg-plist new file mode 100644 index 0000000..5d9418b --- /dev/null +++ b/multimedia/gpac-libgpac/pkg-plist @@ -0,0 +1,39 @@ +include/gpac/intern/avilib.h +include/gpac/intern/m4_author_dev.h +include/gpac/intern/m4_bifs_dev.h +include/gpac/intern/m4_bifs_tables.h +include/gpac/intern/m4_crypt_dev.h +include/gpac/intern/m4_esm_dev.h +include/gpac/intern/m4_ietf_dev.h +include/gpac/intern/m4_isomedia_dev.h +include/gpac/intern/m4_od_dev.h +include/gpac/intern/m4_render_dev.h +include/gpac/intern/m4_render_tools.h +include/gpac/intern/m4_scenegraph_dev.h +include/gpac/intern/m4_swf_dev.h +include/gpac/m4_author.h +include/gpac/m4_avhw.h +include/gpac/m4_bifs.h +include/gpac/m4_config.h +include/gpac/m4_crypt.h +include/gpac/m4_decoder.h +include/gpac/m4_descriptors.h +include/gpac/m4_graphics.h +include/gpac/m4_ietf.h +include/gpac/m4_isomedia.h +include/gpac/m4_mpeg4_nodes.h +include/gpac/m4_network.h +include/gpac/m4_ogg.h +include/gpac/m4_render.h +include/gpac/m4_scenegraph.h +include/gpac/m4_scenegraph_svg.h +include/gpac/m4_scenegraph_vrml.h +include/gpac/m4_svg_nodes.h +include/gpac/m4_terminal.h +include/gpac/m4_tools.h +include/gpac/m4_user.h +include/gpac/m4_x3d_nodes.h +lib/libm4systems.so +lib/libm4systems_static.a +@dirrm include/gpac/intern +@dirrm include/gpac |