aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins80/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer-plugins80/Makefile.common')
-rw-r--r--multimedia/gstreamer-plugins80/Makefile.common101
1 files changed, 51 insertions, 50 deletions
diff --git a/multimedia/gstreamer-plugins80/Makefile.common b/multimedia/gstreamer-plugins80/Makefile.common
index 4509c14ea83b..b080a69004b3 100644
--- a/multimedia/gstreamer-plugins80/Makefile.common
+++ b/multimedia/gstreamer-plugins80/Makefile.common
@@ -134,16 +134,16 @@ GST_LIB_DIR= lib/gstreamer-${VERSION}
# Auto create PLIST
PLIST= ${NONEXISTENT}
-PLIST_FILES?= ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.a \
- ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.la \
- ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so
+PLIST_FILES?= ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so \
+ ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.a \
+ ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.la
# aalib
.if ${GST_PLUGIN}=="aalib"
LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
-PLIST_FILES= ${GST_LIB_DIR}/libgstaasink.a \
- ${GST_LIB_DIR}/libgstaasink.la \
- ${GST_LIB_DIR}/libgstaasink.so
+PLIST_FILES= ${GST_LIB_DIR}/libgstaasink.so \
+ ${GST_LIB_DIR}/libgstaasink.a \
+ ${GST_LIB_DIR}/libgstaasink.la
.endif
# artsd
@@ -179,9 +179,9 @@ GST_PLIST_SUFFIX= dec
.if ${GST_PLUGIN}=="esound"
USE_GNOME+= esound
GST_PLUGIN_DIR= ext/esd
-PLIST_FILES= ${GST_LIB_DIR}/libgstesd.a \
- ${GST_LIB_DIR}/libgstesd.la \
- ${GST_LIB_DIR}/libgstesd.so
+PLIST_FILES= ${GST_LIB_DIR}/libgstesd.so \
+ ${GST_LIB_DIR}/libgstesd.a \
+ ${GST_LIB_DIR}/libgstesd.la
.endif
# faac
@@ -216,7 +216,7 @@ PLIST_FILES= include/gstreamer-0.8/gst/gconf/gconf.h \
lib/libgstgconf-0.8.so \
lib/libgstgconf-0.8.so.1 \
libdata/pkgconfig/gstreamer-gconf-0.8.pc \
- '@dirrmtry include/gstreamer-0.8/gst/gconf'
+ '@unexec rmdir %D/include/gstreamer-0.8/gst/gconf 2>/dev/null || true'
.endif
# gdkpixbuf
@@ -249,9 +249,9 @@ LIB_DEPENDS+= cdaudio.1:${PORTSDIR}/audio/libcdaudio
# libcdio
.if ${GST_PLUGIN}=="cdio"
LIB_DEPENDS+= cdio.6:${PORTSDIR}/sysutils/libcdio
-PLIST_FILES= ${GST_LIB_DIR}/libgstcddasrc.a \
- ${GST_LIB_DIR}/libgstcddasrc.la \
- ${GST_LIB_DIR}/libgstcddasrc.so
+PLIST_FILES= ${GST_LIB_DIR}/libgstcddasrc.so \
+ ${GST_LIB_DIR}/libgstcddasrc.a \
+ ${GST_LIB_DIR}/libgstcddasrc.la
.endif
# libvisual
@@ -267,9 +267,9 @@ LIB_DEPENDS+= mpcdec.4:${PORTSDIR}/audio/libmpcdec
# hermes
.if ${GST_PLUGIN}=="hermes"
LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes
-PLIST_FILES= ${GST_LIB_DIR}/libgsthermescolorspace.a \
- ${GST_LIB_DIR}/libgsthermescolorspace.la \
- ${GST_LIB_DIR}/libgsthermescolorspace.so
+PLIST_FILES= ${GST_LIB_DIR}/libgsthermescolorspace.so \
+ ${GST_LIB_DIR}/libgsthermescolorspace.a \
+ ${GST_LIB_DIR}/libgsthermescolorspace.la
.endif
# jpeg
@@ -284,9 +284,9 @@ LIB_DEPENDS+= jpeg-mmx.62:${PORTSDIR}/graphics/jpeg-mmx
CONFLICTS+= gstreamer-plugins-jpeg-*.*
GST_PLUGIN_DIR= ext/jpeg
-PLIST_FILES= ${GST_LIB_DIR}/libgstjpeg.a \
- ${GST_LIB_DIR}/libgstjpeg.la \
- ${GST_LIB_DIR}/libgstjpeg.so
+PLIST_FILES= ${GST_LIB_DIR}/libgstjpeg.so \
+ ${GST_LIB_DIR}/libgstjpeg.a \
+ ${GST_LIB_DIR}/libgstjpeg.la
.endif
# ladspa
@@ -312,15 +312,16 @@ LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
# libcaca
.if ${GST_PLUGIN}=="libcaca"
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcaca.a:${PORTSDIR}/graphics/libcaca
-PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.a \
- ${GST_LIB_DIR}/libgstcacasink.la \
- ${GST_LIB_DIR}/libgstcacasink.so
+PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.so \
+ ${GST_LIB_DIR}/libgstcacasink.a \
+ ${GST_LIB_DIR}/libgstcacasink.la
.endif
# dv
.if ${GST_PLUGIN}=="dv"
LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv
GST_PLIST_SUFFIX= dec
+EXTRA_LIBS= -ldv
.endif
# dvd (dvdnav dvdread)
@@ -329,9 +330,9 @@ EXTRA_LIBS+= -ldvdnav
LIB_DEPENDS+= dvdnav.4:${PORTSDIR}/multimedia/libdvdnav
GST_PLUGIN_DIR= ext/dvdnav \
ext/dvdread
-PLIST_FILES= ${GST_LIB_DIR}/libgstdvdnavsrc.a \
+PLIST_FILES= ${GST_LIB_DIR}/libgstdvdnavsrc.so \
+ ${GST_LIB_DIR}/libgstdvdnavsrc.a \
${GST_LIB_DIR}/libgstdvdnavsrc.la \
- ${GST_LIB_DIR}/libgstdvdnavsrc.so \
${GST_LIB_DIR}/libgstdvdreadsrc.a \
${GST_LIB_DIR}/libgstdvdreadsrc.la \
${GST_LIB_DIR}/libgstdvdreadsrc.so
@@ -345,17 +346,17 @@ LIB_DEPENDS+= fame-0.9.1:${PORTSDIR}/multimedia/libfame
# libmms
.if ${GST_PLUGIN}=="libmms"
LIB_DEPENDS+= mms.0:${PORTSDIR}/net/libmms
-PLIST_FILES= ${GST_LIB_DIR}/libgstmms.a \
- ${GST_LIB_DIR}/libgstmms.la \
- ${GST_LIB_DIR}/libgstmms.so
+PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so \
+ ${GST_LIB_DIR}/libgstmms.a \
+ ${GST_LIB_DIR}/libgstmms.la
.endif
# libmng
.if ${GST_PLUGIN}=="libmng"
LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng
-PLIST_FILES= ${GST_LIB_DIR}/libgstmng.a \
- ${GST_LIB_DIR}/libgstmng.la \
- ${GST_LIB_DIR}/libgstmng.so
+PLIST_FILES= ${GST_LIB_DIR}/libgstmng.so \
+ ${GST_LIB_DIR}/libgstmng.a \
+ ${GST_LIB_DIR}/libgstmng.la
.endif
# mikmod
@@ -376,9 +377,9 @@ LIB_DEPENDS+= lavjpeg-1.8.0:${PORTSDIR}/multimedia/mjpegtools
# musicbrainz
.if ${GST_PLUGIN}=="musicbrainz"
LIB_DEPENDS+= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
-PLIST_FILES= lib/gstreamer-${VERSION}/libgsttrm.a \
- lib/gstreamer-${VERSION}/libgsttrm.la \
- lib/gstreamer-${VERSION}/libgsttrm.so
+PLIST_FILES= lib/gstreamer-${VERSION}/libgsttrm.so \
+ lib/gstreamer-${VERSION}/libgsttrm.a \
+ lib/gstreamer-${VERSION}/libgsttrm.la
.endif
# shout
@@ -394,9 +395,9 @@ LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2
# sidplay
.if ${GST_PLUGIN}=="sidplay"
LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
-PLIST_FILES= ${GST_LIB_DIR}/libgstsid.a \
- ${GST_LIB_DIR}/libgstsid.la \
- ${GST_LIB_DIR}/libgstsid.so
+PLIST_FILES= ${GST_LIB_DIR}/libgstsid.so \
+ ${GST_LIB_DIR}/libgstsid.a \
+ ${GST_LIB_DIR}/libgstsid.la
.endif
# sndfile
@@ -439,9 +440,9 @@ LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg
# pango
.if ${GST_PLUGIN}=="pango"
USE_GNOME+= pango
-PLIST_FILES= ${GST_LIB_DIR}/libgsttextoverlay.a \
+PLIST_FILES= ${GST_LIB_DIR}/libgsttextoverlay.so \
+ ${GST_LIB_DIR}/libgsttextoverlay.a \
${GST_LIB_DIR}/libgsttextoverlay.la \
- ${GST_LIB_DIR}/libgsttextoverlay.so \
${GST_LIB_DIR}/libgsttimeoverlay.a \
${GST_LIB_DIR}/libgsttimeoverlay.la \
${GST_LIB_DIR}/libgsttimeoverlay.so
@@ -452,20 +453,20 @@ PLIST_FILES= ${GST_LIB_DIR}/libgsttextoverlay.a \
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
GST_PLUGIN_DIR= ext/libpng \
ext/snapshot
-PLIST_FILES= ${GST_LIB_DIR}/libgstpng.a \
+PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so \
+ ${GST_LIB_DIR}/libgstpng.a \
+ ${GST_LIB_DIR}/libgstpng.la \
+ ${GST_LIB_DIR}/libgstpng.a \
${GST_LIB_DIR}/libgstpng.la \
- ${GST_LIB_DIR}/libgstpng.so \
- ${GST_LIB_DIR}/libgstsnapshot.a \
- ${GST_LIB_DIR}/libgstsnapshot.la \
${GST_LIB_DIR}/libgstsnapshot.so
.endif
-# polyp
+# poly
.if ${GST_PLUGIN}=="polyp"
LIB_DEPENDS+= polyp-0.7.0:${PORTSDIR}/audio/polypaudio
-PLIST_FILES= ${GST_LIB_DIR}/libpolypaudio.a \
- ${GST_LIB_DIR}/libpolypaudio.la \
- ${GST_LIB_DIR}/libpolypaudio.so
+PLIST_FILES= ${GST_LIB_DIR}/libpolypaudio.so \
+ ${GST_LIB_DIR}/libpolypaudio.a \
+ ${GST_LIB_DIR}/libpolypaudio.la
GST_PLUGIN_DIR= ext/polyp
.endif
@@ -509,9 +510,9 @@ LIB_DEPENDS+= wavpack.0:${PORTSDIR}/audio/wavpack
# x264
.if ${GST_PLUGIN}=="x264"
LIB_DEPENDS+= x264.1:${PORTSDIR}/multimedia/x264
-PLIST_FILES= ${GST_LIB_DIR}/libx264.a \
- ${GST_LIB_DIR}/libx264.la \
- ${GST_LIB_DIR}/libx264.so
+PLIST_FILES= ${GST_LIB_DIR}/libx264.so \
+ ${GST_LIB_DIR}/libx264.a \
+ ${GST_LIB_DIR}/libx264.la
.endif
# xvid
@@ -519,7 +520,7 @@ PLIST_FILES= ${GST_LIB_DIR}/libx264.a \
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
.endif
-LIB_DEPENDS+= gstplay-${VERSION}.${SHLIB_VERSION}:${PORTSDIR}/multimedia/gstreamer-plugins
+LIB_DEPENDS+= gstplay-${VERSION}.${SHLIB_VERSION}:${PORTSDIR}/multimedia/gstreamer-plugins80
PLIST_FILES+= '@exec %D/bin/gst-register-${VERSION} --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true'
PLIST_FILES+= '@unexec %D/bin/gst-register-${VERSION} --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true'