summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins/Makefile
diff options
context:
space:
mode:
authorpav <pav@df743ca5-7f9a-e211-a948-0013205c9059>2003-11-17 06:02:08 +0800
committerpav <pav@df743ca5-7f9a-e211-a948-0013205c9059>2003-11-17 06:02:08 +0800
commita7aacb759d70ea142cf0565ef13e7ebad8b14aed (patch)
treeebd9197ea08214ff5bbe903811279d8b25a89031 /multimedia/gstreamer-plugins/Makefile
parentfed3b4596bf8c0f4562474c65c6108c78bb67769 (diff)
downloadmarcuscom-ports-a7aacb759d70ea142cf0565ef13e7ebad8b14aed.tar
marcuscom-ports-a7aacb759d70ea142cf0565ef13e7ebad8b14aed.tar.gz
marcuscom-ports-a7aacb759d70ea142cf0565ef13e7ebad8b14aed.tar.bz2
marcuscom-ports-a7aacb759d70ea142cf0565ef13e7ebad8b14aed.tar.lz
marcuscom-ports-a7aacb759d70ea142cf0565ef13e7ebad8b14aed.tar.xz
marcuscom-ports-a7aacb759d70ea142cf0565ef13e7ebad8b14aed.tar.zst
marcuscom-ports-a7aacb759d70ea142cf0565ef13e7ebad8b14aed.zip
- Add output plugins for speex and xvid to Makefile/pkg-plist magic
- Add missing header file needed for xvid plugin to build git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1338 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer-plugins/Makefile')
-rw-r--r--multimedia/gstreamer-plugins/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
index 0597f45c7..6ef327300 100644
--- a/multimedia/gstreamer-plugins/Makefile
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -277,6 +277,11 @@ WITH_VORBIS=yes
#WITH_XMMS=yes
.endif
+# xvid
+.if exists(${LOCALBASE}/lib/libxvidcore.so.2)
+WITH_XVID=yes
+.endif
+
##
## control CONFIGURE options
##
@@ -589,6 +594,15 @@ CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
PLIST_SUB+= SDL=""
.endif
+# speex
+.ifndef(WITH_SPEEX)
+CONFIGURE_ARGS+= --disable-speex
+PLIST_SUB+= SPEEX="@comment "
+.else
+LIB_DEPENDS+= speex.2:${PORTSDIR}/audio/speex
+PLIST_SUB+= SPEEX=""
+.endif
+
# swfdec
.ifndef(WITH_SWFDEC)
CONFIGURE_ARGS+= --disable-swfdec
@@ -627,6 +641,15 @@ CONFIGURE_ENV+= XMMS_CONFIG=${XMMS_CONFIG}
PLIST_SUB+= XMMS=""
.endif
+# xvid
+.ifndef(WITH_XVID)
+CONFIGURE_ARGS+= --disable-xvid
+PLIST_SUB+= XVID="@comment "
+.else
+LIB_DEPENDS+= xvidcore.2:${PORTSDIR}/multimedia/xvid
+PLIST_SUB+= XVID=""
+.endif
+
pre-everything::
.ifndef(WITH_AALIB)
@${ECHO_MSG} '===>'
@@ -756,5 +779,9 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_XMMS to enable xmms Audio plugin'
.endif
+.ifndef(WITH_XVID)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_XVID to enable xvid Video plgin'
+.endif
.include <bsd.port.post.mk>