summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-10-14 07:38:02 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-10-14 07:38:02 +0800
commit312f9a927272022e34c03950c629be1ffaa71364 (patch)
tree8331aa94eed0ce89bbd52b42015ade1406e6896c
parentaa4e59d321c66309e160a31cc784fc8b8c700746 (diff)
downloadmarcuscom-ports-312f9a927272022e34c03950c629be1ffaa71364.tar
marcuscom-ports-312f9a927272022e34c03950c629be1ffaa71364.tar.gz
marcuscom-ports-312f9a927272022e34c03950c629be1ffaa71364.tar.bz2
marcuscom-ports-312f9a927272022e34c03950c629be1ffaa71364.tar.lz
marcuscom-ports-312f9a927272022e34c03950c629be1ffaa71364.tar.xz
marcuscom-ports-312f9a927272022e34c03950c629be1ffaa71364.tar.zst
marcuscom-ports-312f9a927272022e34c03950c629be1ffaa71364.zip
add curl, libmms and assrender plugin.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17115 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--Mk/bsd.gstreamer.mk23
-rw-r--r--ftp/gstreamer1-plugins-curl/Makefile15
-rw-r--r--multimedia/gstreamer1-plugins-assrender/Makefile15
-rw-r--r--multimedia/gstreamer1-plugins/Makefile15
-rw-r--r--multimedia/gstreamer1-plugins/Makefile.common21
-rw-r--r--net/gstreamer1-plugins-libmms/Makefile15
6 files changed, 84 insertions, 20 deletions
diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk
index 58e4eaea0..aeca48904 100644
--- a/Mk/bsd.gstreamer.mk
+++ b/Mk/bsd.gstreamer.mk
@@ -6,7 +6,7 @@
# Created by: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/Mk/bsd.gstreamer.mk,v 1.52 2012/10/11 22:26:28 kwm Exp $
+# $MCom: ports/Mk/bsd.gstreamer.mk,v 1.53 2012/10/13 22:38:02 kwm Exp $
.if !defined(_POSTMKINCLUDED) && !defined(Gstreamer_Pre_Include)
@@ -64,33 +64,34 @@ GST1_SHLIB_VERSION= 0
# supported plugins by both 0.10 and 1.0.
_GSTREAMER_PLUGINS= a52dec aalib amrnb \
- cdio cdparanoia dts dv dvd \
+ cdio cdparanoia curl dts dv dvd \
faac faad flac flite \
gdkpixbuf gsm jack \
- jpeg lame libcaca libpng \
+ jpeg lame libcaca libmms libpng \
mpeg2dec ogg opencv pulse \
schroedinger sidplay shout2 soup speex \
resindvd taglib theora twolame \
v4l2 vorbis vpx wavpack
# old define should go away
-_GSTREAMER_PLUGINS+= amrwbdec bz2 cairo \
- cdaudio gio gl gme gnomevfs gnonlin \
- jpeg ladspa libmms \
+_GSTREAMER_PLUGINS+= amrwbdec cairo \
+ cdaudio gio gl gme gnonlin \
+ jpeg ladspa \
libvisual mp3 mpeg2enc musepack \
nas neon pango \
sdl sndfile spc soundtouch \
vdpau \
x264 xvid
+# xxx the bz2 plugin, bundle it with a "base" port.
# plugins only in 0.10
.if defined(USE_GSTREAMER)
-_GSTREAMER_PLUGINS+=annodex cairo esound ffmpeg fluendo-mp3 gconf hal mm python qt4 vp8
+_GSTREAMER_PLUGINS+=annodex bz2 cairo esound ffmpeg fluendo-mp3 gconf gnomevfs hal mm python qt4 vp8
.endif
# plugins only in 1.0
.if defined(USE_GSTREAMER1)
-_GSTREAMER_PLUGINS+=celt mad spandsp vpx x ximagesrc zbar
+_GSTREAMER_PLUGINS+=assrender celt mad spandsp vpx x ximagesrc zbar
.endif
# other plugins
@@ -207,12 +208,18 @@ sdl_DEPENDS= devel/gstreamer-plugins-sdl
soup_DEPENDS= devel/gstreamer-plugins-soup
+#-- ftp plugin section -------------------------------------------------------#
+
+curl_DEPENDS= ftp/gstreamer1-plugins-curl
+
#-- graphics plugin section --------------------------------------------------#
aalib_DEPENDS= graphics/gstreamer-plugins-aalib
annodex_DEPENDS= multimedia/gstreamer-plugins-annodex
+assrender_DEPENDS= multimedia/gstreamer-plugins-assrender
+
cairo_DEPENDS= graphics/gstreamer-plugins-cairo
gdkpixbuf_DEPENDS= graphics/gstreamer-plugins-gdkpixbuf
diff --git a/ftp/gstreamer1-plugins-curl/Makefile b/ftp/gstreamer1-plugins-curl/Makefile
new file mode 100644
index 000000000..c4f1d3cb6
--- /dev/null
+++ b/ftp/gstreamer1-plugins-curl/Makefile
@@ -0,0 +1,15 @@
+# Created by: Koop Mast <kwm@FreeBSD.org>
+# $FreeBSD$
+# $MCom$
+
+PORTREVISION= 0
+CATEGORIES= multimedia
+
+COMMENT= Gstreamer curl plugin
+
+GST_PLUGIN= curl
+DIST= bad
+
+MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-assrender/Makefile b/multimedia/gstreamer1-plugins-assrender/Makefile
new file mode 100644
index 000000000..50e34f480
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-assrender/Makefile
@@ -0,0 +1,15 @@
+# Created by: Koop Mast <kwm@FreeBSD.org>
+# $FreeBSD$
+# $MCom$
+
+PORTREVISION= 0
+CATEGORIES= multimedia
+
+COMMENT= Gstreamer ASS/SSA text renderer plugin
+
+GST_PLUGIN= assrender
+DIST= bad
+
+MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins/Makefile b/multimedia/gstreamer1-plugins/Makefile
index 0c7475ed7..64de659c1 100644
--- a/multimedia/gstreamer1-plugins/Makefile
+++ b/multimedia/gstreamer1-plugins/Makefile
@@ -1,6 +1,6 @@
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/multimedia/gstreamer1-plugins/Makefile,v 1.3 2012/10/06 16:28:55 kwm Exp $
+# $MCom: ports/multimedia/gstreamer1-plugins/Makefile,v 1.4 2012/10/11 22:26:28 kwm Exp $
PORTNAME= gstreamer1-plugins
PORTVERSION?= ${BASE_PORTVERSION}
@@ -77,14 +77,23 @@ PLIST_SUB+= I386="@comment "
.if ${GST_PLUGIN} == "base"
DIST= base
NO_GSTREAMER_COMMON= yes
-CONFIGURE_ARGS+=--with-default-audiosink="${DEFAULT_AUDIOSINK}" \
- --with-default-audiosrc="${DEFAULT_AUDIOSRC}"
MAN1= gst-discoverer-1.0.1
.else
BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINOR_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins
RUN_DEPEDNS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINOR_VERSION}:${PORTSDIR}/multimedia/gstreamer1-plugins
.endif
+.if ${DIST} == base || ${DIST} == ugly
+# xxx hmmm
+# --with-default-audiosink specify default audio sink
+# --with-default-audiosrc specify default audio source
+# --with-default-videosink specify default video sink
+# --with-default-videosrc specify default video source
+# --with-default-visualizer specify default visualizer
+CONFIGURE_ARGS+=--with-default-audiosink="${DEFAULT_AUDIOSINK}" \
+ --with-default-audiosrc="${DEFAULT_AUDIOSRC}"
+.endif
+
PLIST_SUB+= VERSION="${VERSION}" \
SHLIB_VERSION="${SHLIB_VERSION}"
diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common
index 975ef778f..ac3e24636 100644
--- a/multimedia/gstreamer1-plugins/Makefile.common
+++ b/multimedia/gstreamer1-plugins/Makefile.common
@@ -1,5 +1,5 @@
# $FreeBSD$
-# $MCom: ports/multimedia/gstreamer1-plugins/Makefile.common,v 1.4 2012/10/11 22:26:28 kwm Exp $
+# $MCom: ports/multimedia/gstreamer1-plugins/Makefile.common,v 1.5 2012/10/13 22:38:03 kwm Exp $
# XXX configure checks for bad
@@ -18,19 +18,21 @@ BASE_GST_ALL_PLUGINS= \
# bad
BAD_GST_ALL_PLUGINS+= \
+ assrender \
celt \
+ curl \
dts \
faac \
faad \
flite \
gsm \
+ libmms \
opencv \
resindvd \
schro \
spandsp \
zbar
# apexsink \
-# assrender \
# bz2 \
# cdaudio \
# cog \
@@ -40,7 +42,6 @@ BAD_GST_ALL_PLUGINS+= \
# gme \
# kate \
# ladspa \
-# libmms \
# lv2 \
# mimic \
# modplug \
@@ -94,7 +95,6 @@ BAD_GST_NON_PLUGINS= \
# enabled always
# --enable-shm AC_CHECK_LIB([rt], [shm_open] <<== -lrt really? :)
-# assrender (libass >= 0.9.4) ASS/SSA renderer
# vo-amrwbenc (vo-amrwbenc > =0.1.0
# vo-aacenc vo-accenc > 0.1.0
# apexsink (AirPort Express Wireless sink) (openssl >= 0.9.5 + libcrypto)
@@ -102,7 +102,6 @@ BAD_GST_NON_PLUGINS= \
# cdaudio libcdaudio
# chromaprint (libchromaprint)
# cog (libpng)
-# curl (libcurl >= 7.21.0)
# decklink (needs thread some FreeBSD probably and configure.ac patch)
# dirac (dirac >= 0.10)
# renindvd (dvdnav 4.1.2 , dvdread 4.1.2
@@ -110,7 +109,6 @@ BAD_GST_NON_PLUGINS= \
# kate (multimedia/libkate >= 0.1.7) (needs libtiger, google code)
# ladspa
# lv2 (slv2 >= 0.6.6)
-# libmms (libmms -> 0.4)
# linsys (linear Systems SDI plugin, needs configure voodo + code probably)
# modplug (libmodplug)
# mimic (libmimic)
@@ -298,6 +296,9 @@ gst_amrwb_GST_PLUGIN_DIR= ext/amrwbdec
gst_amrwb_PLIST_FILES= ${GST_LIB_DIR}/libgstamrwbdec.la \
${GST_LIB_DIR}/libgstamrwbdec.so
+# assrender
+gst_assrender_LIB_DEPENDS+= ass:${PORTSDIR}/multimedia/libass
+
# cairo
gst_cairo_LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo
gst_cairo_PLIST_FILES= ${GST_LIB_DIR}/libgstcairo.la \
@@ -323,6 +324,9 @@ gst_cdio_PLIST_FILES= ${GST_LIB_DIR}/libgstcdio.la \
# celt
gst_celt_LIB_DEPENDS+= celt0:${PORTSDIR}/audio/celt
+# curl
+gst_curl_LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
+
# dts
gst_dts_LIB_DEPENDS+= dca:${PORTSDIR}/multimedia/libdca
gst_dts_PLIST_FILES= ${GST_LIB_DIR}/libgstdtsdec.la \
@@ -406,9 +410,8 @@ gst_libcaca_PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.la \
# libmms
gst_libmms_LIB_DEPENDS+= mms:${PORTSDIR}/net/libmms
-gst_libmms_PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so \
- ${GST_LIB_DIR}/libgstmms.la
-#gst_libmms_DIST= bad
+gst_libmms_PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so \
+ ${GST_LIB_DIR}/libgstmms.la
# libpng
gst_libpng_LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
diff --git a/net/gstreamer1-plugins-libmms/Makefile b/net/gstreamer1-plugins-libmms/Makefile
new file mode 100644
index 000000000..5789a77c9
--- /dev/null
+++ b/net/gstreamer1-plugins-libmms/Makefile
@@ -0,0 +1,15 @@
+# Created by: Koop Mast <kwm@FreeBSD.org>
+# $FreeBSD$
+# $MCom$
+
+PORTREVISION= 0
+CATEGORIES= net
+
+COMMENT= Gstreamer mms:// and mmsh:// plugin
+
+GST_PLUGIN= libmms
+DIST= bad
+
+MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+
+.include "${MASTERDIR}/Makefile"