summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-30 09:00:38 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-30 09:00:38 +0800
commit183de040f4f5beff753321fcd6ecc3e5c58ad1b4 (patch)
tree18da752a57cf80fc0d40257c75abe7be269f8ed7 /multimedia
parent8d4d787db353a844879c0577dff296597f40dfa3 (diff)
downloadmarcuscom-ports-183de040f4f5beff753321fcd6ecc3e5c58ad1b4.tar
marcuscom-ports-183de040f4f5beff753321fcd6ecc3e5c58ad1b4.tar.gz
marcuscom-ports-183de040f4f5beff753321fcd6ecc3e5c58ad1b4.tar.bz2
marcuscom-ports-183de040f4f5beff753321fcd6ecc3e5c58ad1b4.tar.lz
marcuscom-ports-183de040f4f5beff753321fcd6ecc3e5c58ad1b4.tar.xz
marcuscom-ports-183de040f4f5beff753321fcd6ecc3e5c58ad1b4.tar.zst
marcuscom-ports-183de040f4f5beff753321fcd6ecc3e5c58ad1b4.zip
Add Hermes support.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@484 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-plugins/Makefile18
-rw-r--r--multimedia/gstreamer-plugins/pkg-plist1
-rw-r--r--multimedia/gstreamer-plugins80/Makefile18
-rw-r--r--multimedia/gstreamer-plugins80/pkg-plist1
4 files changed, 38 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
index 4a4b9ea23..92634e37c 100644
--- a/multimedia/gstreamer-plugins/Makefile
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -142,6 +142,11 @@ WITH_LAME=yes
WITH_GNOMEVFS=yes
.endif
+# Hermes
+.if exists (${LOCALBASE}/lib/libHermes.a)
+WITH_HERMES=yes
+.endif
+
# gsm
.if exists(${LOCALBASE}/lib/libgsm.a)
WITH_GSM=yes
@@ -317,6 +322,15 @@ LIB_DEPENDS+= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2
PLIST_SUB+= GNOMEVFS=""
.endif
+# Hermes
+.ifndef(WITH_HERMES)
+CONFIGURE_ARGS+= --disable-hermes
+PLIST_SUB+= HERMES="@comment "
+.else
+LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes
+PLIST_SUB+= HERMES=""
+.endif
+
# gsm
.ifndef(WITH_GSM)
CONFIGURE_ARGS+= --disable-gsm
@@ -575,6 +589,10 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_GNOMEVFS to enable gnomevfs Network plugin'
.endif
+.ifndef(WITH_HERMES)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_HERMES to enable Hermes colorspace plugin'
+.endif
.ifndef(WITH_HTTP)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_HTTP to enable http Network plugin'
diff --git a/multimedia/gstreamer-plugins/pkg-plist b/multimedia/gstreamer-plugins/pkg-plist
index 8da40d87d..c766d6786 100644
--- a/multimedia/gstreamer-plugins/pkg-plist
+++ b/multimedia/gstreamer-plugins/pkg-plist
@@ -28,6 +28,7 @@ lib/gstreamer-0.5/libgstavimux.so
lib/gstreamer-0.5/libgstaviparse.so
lib/gstreamer-0.5/libgstcdxaparse.so
lib/gstreamer-0.5/libgstchart.so
+%%HERMES%%lib/gstreamer-0.5/libgstcolorspace.so
lib/gstreamer-0.5/libgstcutter.so
lib/gstreamer-0.5/libgstdeinterlace.so
%%LIBDV%%lib/gstreamer-0.5/libgstdvdec.so
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile
index 4a4b9ea23..92634e37c 100644
--- a/multimedia/gstreamer-plugins80/Makefile
+++ b/multimedia/gstreamer-plugins80/Makefile
@@ -142,6 +142,11 @@ WITH_LAME=yes
WITH_GNOMEVFS=yes
.endif
+# Hermes
+.if exists (${LOCALBASE}/lib/libHermes.a)
+WITH_HERMES=yes
+.endif
+
# gsm
.if exists(${LOCALBASE}/lib/libgsm.a)
WITH_GSM=yes
@@ -317,6 +322,15 @@ LIB_DEPENDS+= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2
PLIST_SUB+= GNOMEVFS=""
.endif
+# Hermes
+.ifndef(WITH_HERMES)
+CONFIGURE_ARGS+= --disable-hermes
+PLIST_SUB+= HERMES="@comment "
+.else
+LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes
+PLIST_SUB+= HERMES=""
+.endif
+
# gsm
.ifndef(WITH_GSM)
CONFIGURE_ARGS+= --disable-gsm
@@ -575,6 +589,10 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_GNOMEVFS to enable gnomevfs Network plugin'
.endif
+.ifndef(WITH_HERMES)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_HERMES to enable Hermes colorspace plugin'
+.endif
.ifndef(WITH_HTTP)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_HTTP to enable http Network plugin'
diff --git a/multimedia/gstreamer-plugins80/pkg-plist b/multimedia/gstreamer-plugins80/pkg-plist
index 8da40d87d..c766d6786 100644
--- a/multimedia/gstreamer-plugins80/pkg-plist
+++ b/multimedia/gstreamer-plugins80/pkg-plist
@@ -28,6 +28,7 @@ lib/gstreamer-0.5/libgstavimux.so
lib/gstreamer-0.5/libgstaviparse.so
lib/gstreamer-0.5/libgstcdxaparse.so
lib/gstreamer-0.5/libgstchart.so
+%%HERMES%%lib/gstreamer-0.5/libgstcolorspace.so
lib/gstreamer-0.5/libgstcutter.so
lib/gstreamer-0.5/libgstdeinterlace.so
%%LIBDV%%lib/gstreamer-0.5/libgstdvdec.so