summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-01-20 11:12:29 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-01-20 11:12:29 +0800
commit3054a321cd71b0d8b67ce69a679669609a319de2 (patch)
treea561a3f94abf932bb26bea79b73ae5bab56fb0f7 /multimedia/gstreamer-plugins/Makefile
parente243e2992058bfd44a54eb66214ff0406c436de1 (diff)
downloadmarcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar
marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.gz
marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.bz2
marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.lz
marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.xz
marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.tar.zst
marcuscom-ports-3054a321cd71b0d8b67ce69a679669609a319de2.zip
- Update to 0.10.2 for gnome 2.13.x
Repocopied by: marcus Only the base plugins (gnomevfs libvisual ogg pango theora vorbis) are working for now. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5448 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer-plugins/Makefile')
-rw-r--r--multimedia/gstreamer-plugins/Makefile129
1 files changed, 129 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
new file mode 100644
index 000000000..37fccb353
--- /dev/null
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -0,0 +1,129 @@
+# New ports collection makefile for: gstreamer plugins
+# Date created: Wed Jul 10 23:38:01 UTC 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gstreamer
+PORTVERSION?= 0.10.2
+PORTREVISION?= 0
+CATEGORIES?= multimedia audio
+MASTER_SITES= ${MASTER_SITE_GNOME:S/$/:base/} \
+ http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \
+ http://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \
+ ${MASTER_SITE_GNOME:S/$/:good/} \
+ http://gstreamer.freedesktop.org/src/gst-plugins-good/:good \
+ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/:ugly
+MASTER_SITE_SUBDIR= sources/gst-plugins-base/0.10/:base \
+ sources/gst-plugins-good/0.10/:good
+PKGNAMESUFFIX= -plugins${GST_PLUGIN_SUFFIX}
+DISTFILES= ${BASE_DISTFILE}:base \
+ ${BAD_DISTFILE}:bad \
+ ${GOOD_DISTFILE}:good \
+ ${UGLY_DISTFILE}:ugly
+DIST_SUBDIR= gnome2
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT?= GStreamer written collection of plugins handling several media types
+
+LIB_DEPENDS+= gstreamer-0.10.2:${PORTSDIR}/multimedia/gstreamer \
+ popt.0:${PORTSDIR}/devel/popt
+
+BASE_PORTVERSION= ${PORTVERSION}
+BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION}
+BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX}
+BAD_PORTVERSION= 0.10.0
+BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION}
+BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX}
+GOOD_PORTVERSION= 0.10.1
+GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION}
+GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX}
+UGLY_PORTVERSION= 0.10.1
+UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION}
+UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX}
+
+SHLIB_VERSION= 1
+VERSION= 0.10
+WANT_GSTREAMER= yes
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME+= gnomehack \
+ gnomeprefix \
+ gnometarget \
+ pkgconfig
+USE_REINPLACE= yes
+USE_AUTOTOOLS= libtool:15
+GST_PLUGIN?= base
+
+CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
+ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib ${EXTRA_LIBS} ${PTHREAD_LIBS}"
+
+.include <bsd.port.pre.mk>
+.include "${MASTERDIR}/Makefile.common"
+
+.if !defined(WITH_CPUFLAGS)
+WITHOUT_CPU_CFLAGS= yes
+.endif
+
+.if ${GST_PLUGIN} == "base"
+INSTALLS_SHLIB= yes
+
+PLIST_SUB+= VERSION="${VERSION}" \
+ SHLIB_VERSION="${SHLIB_VERSION}"
+.endif
+
+# cdrom default device
+.ifdef(WITH_CDROM_DEVICE)
+DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE}
+.else
+. if ${OSVERSION} < 500000
+DEFAULT_CDROM_DEVICE=/dev/acd0c
+. else
+DEFAULT_CDROM_DEVICE=/dev/acd0
+. endif
+.endif
+
+# dvd default device
+.ifdef(WITH_DVD_DEVICE)
+DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
+.else
+. if ${OSVERSION} < 500000
+DEFAULT_DVD_DEVICE=/dev/acd0c
+. else
+DEFAULT_DVD_DEVICE=/dev/acd0
+. endif
+.endif
+
+pre-everything::
+.if !defined(WITH_CPUFLAGS)
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "If you want to compile with CPUFLAGS"
+ @${ECHO_MSG} "hit Ctrl+C now and use make \"WITH_CPUFLAGS=yes\""
+ @${ECHO_MSG} "NOTE: This option may cause build, install, and/or"
+ @${ECHO_MSG} "runtime failures. If this option does not work for you"
+ @${ECHO_MSG} "please do not use it."
+ @${ECHO_MSG} ""
+.endif
+
+post-extract:
+# for cdrom/vcd support
+# taken from mplayer distfile
+# MD5 (MPlayer-1.0pre4.tar.bz2) = 83ebac0f05b192516a41fca2350ca01a
+# @${CP} ${FILESDIR}/bsdi_dvd.h ${WRKSRC}/sys/vcd/
+
+post-patch:
+ @${FIND} ${WRKSRC} -type f | \
+ ${XARGS} -n 10 ${REINPLACE_CMD} -e \
+ 's|malloc\.h|stdlib.h|; \
+ s|stdint\.h|inttypes.h|; \
+ s|%%VERSION%%|${VERSION}|'
+#.for f in ${GST_ALL_PLUGINS}
+# @${REINPLACE_CMD} -e 's|ext/${f}/Makefile||g' \
+# ${WRKSRC}/configure
+#.endfor
+
+.include <bsd.port.post.mk>