aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kaffeine
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-01-31 18:15:43 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-01-31 18:15:43 +0000
commit8f57a952f30f9c7554097ddf55956f6f8e55c660 (patch)
tree770232e3f97484d0fb4f560673b9d6590a9c9967 /multimedia/kaffeine
parenta40f2d0d2b31582abfe7b5f3c8eb00e490b94be4 (diff)
downloadports-8f57a952f30f9c7554097ddf55956f6f8e55c660.tar.gz
ports-8f57a952f30f9c7554097ddf55956f6f8e55c660.zip
Notes
Diffstat (limited to 'multimedia/kaffeine')
-rw-r--r--multimedia/kaffeine/Makefile13
-rw-r--r--multimedia/kaffeine/pkg-plist15
2 files changed, 19 insertions, 9 deletions
diff --git a/multimedia/kaffeine/Makefile b/multimedia/kaffeine/Makefile
index fc81e5bdddff..c2cbad9c8979 100644
--- a/multimedia/kaffeine/Makefile
+++ b/multimedia/kaffeine/Makefile
@@ -6,7 +6,7 @@
PORTNAME= kaffeine
PORTVERSION= 0.7.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kaffeine
@@ -19,7 +19,14 @@ LIB_DEPENDS= xine.15:${PORTSDIR}/multimedia/libxine
USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_GMAKE= yes
+
+.ifndef (WITHOUT_GSTREAMER)
USE_GSTREAMER= yes
+PLIST_SUB+= NOGSTREAMER="@comment "
+.else
+PLIST_SUB+= NOGSTREAMER=""
+.endif
+
USE_AUTOTOOLS= libtool:15:inc
GNU_CONFIGURE= yes
CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
@@ -34,4 +41,8 @@ MANLANG= "" de
CONFIGURE_ARGS+= --with-xorg
.endif
+.ifdef (WITHOUT_GSTREAMER)
+CONFIGURE_ARGS+= --without-gstreamer
+.endif
+
.include <bsd.port.post.mk>
diff --git a/multimedia/kaffeine/pkg-plist b/multimedia/kaffeine/pkg-plist
index a98c04b05740..29944890064a 100644
--- a/multimedia/kaffeine/pkg-plist
+++ b/multimedia/kaffeine/pkg-plist
@@ -5,15 +5,15 @@ include/kaffeine/kaffeine_part_iface.h
include/kaffeine/kmediapart.h
include/kaffeine/mrl.h
include/kaffeine/playlistimport.h
-lib/kde3/libgstreamerpart.so
-lib/kde3/libgstreamerpart.la
+%%NOGSTREAMER%%lib/kde3/libgstreamerpart.so
+%%NOGSTREAMER%%lib/kde3/libgstreamerpart.la
lib/kde3/libkaffeinepart.la
lib/kde3/libkaffeinepart.so
lib/libkmediapart.la
lib/libkmediapart.so
lib/libkmediapart.so.0
share/applications/kde/kaffeine.desktop
-share/apps/gstreamerpart/gstreamer_part.rc
+%%NOGSTREAMER%%share/apps/gstreamerpart/gstreamer_part.rc
share/apps/kaffeine/kaffeine_part.rc
share/apps/kaffeine/kaffeineui.rc
share/apps/kaffeine/logo
@@ -43,7 +43,7 @@ share/doc/HTML/en/kaffeine/dvbconfig.png
share/doc/HTML/en/kaffeine/dvbtimers.png
share/doc/HTML/en/kaffeine/gstpart.png
share/icons/hicolor/128x128/apps/kaffeine.png
-share/icons/hicolor/16x16/apps/gstreamer.png
+%%NOGSTREAMER%%share/icons/hicolor/16x16/apps/gstreamer.png
share/icons/hicolor/16x16/apps/kaffeine.png
share/icons/hicolor/16x16/apps/kdvbra.png
share/icons/hicolor/16x16/apps/kdvbrac.png
@@ -90,11 +90,10 @@ share/locale/tr/LC_MESSAGES/kaffeine.mo
share/locale/zh_CN/LC_MESSAGES/kaffeine.mo
share/mimelnk/application/x-kaffeine.desktop
share/mimelnk/application/x-mplayer2.desktop
-share/services/gstreamer_part.desktop
+%%NOGSTREAMER%%share/services/gstreamer_part.desktop
share/services/kaffeine_part.desktop
@dirrm include/kaffeine
@dirrm share/apps/kaffeine
-@dirrm share/doc/HTML/zh_CN/kaffeine/
@dirrm share/doc/HTML/en/kaffeine
-@dirrm share/apps/konqueror/servicemenus
-@dirrm share/apps/konqueror
+@dirrmtry share/apps/konqueror/servicemenus
+@dirrmtry share/apps/konqueror