summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-03-25 12:21:20 +0000
committermarkd <markd@pkgsrc.org>2005-03-25 12:21:20 +0000
commitab82093c134776d3b1520e0e5517d8515fe198cc (patch)
tree3c1cf3e348aac2e352496d1e55b529f55345f791 /misc
parentbd15cb81b8e5c2804701b33b16132609aab6183c (diff)
downloadpkgsrc-ab82093c134776d3b1520e0e5517d8515fe198cc.tar.gz
Optional gstreamer support in kttsd.
Diffstat (limited to 'misc')
-rw-r--r--misc/kdeaccessibility3/Makefile15
-rw-r--r--misc/kdeaccessibility3/PLIST4
2 files changed, 17 insertions, 2 deletions
diff --git a/misc/kdeaccessibility3/Makefile b/misc/kdeaccessibility3/Makefile
index d29ec342236..31c8a69c427 100644
--- a/misc/kdeaccessibility3/Makefile
+++ b/misc/kdeaccessibility3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/03/24 22:37:18 markd Exp $
+# $NetBSD: Makefile,v 1.7 2005/03/25 12:21:20 markd Exp $
DISTNAME= kdeaccessibility-${_KDE_VERSION}
CATEGORIES= misc
@@ -10,6 +10,19 @@ USE_BUILDLINK3= YES
.include "../../mk/bsd.prefs.mk"
+PKG_OPTIONS_VAR= PKG_OPTIONS.kdeaccessibility
+PKG_SUPPORTED_OPTIONS= gstreamer
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgstreamer)
+CONFIGURE_ARGS+= --enable-kttsd-gstreamer
+.include "../../multimedia/gstreamer/buildlink3.mk"
+.include "../../multimedia/gst-plugins/buildlink3.mk"
+PLIST_SUBST+= HAVE_GST=""
+.else
+PLIST_SUBST+= HAVE_GST="@comment "
+.endif
+
.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
diff --git a/misc/kdeaccessibility3/PLIST b/misc/kdeaccessibility3/PLIST
index 3c1b7cc2fdc..6eff70625fb 100644
--- a/misc/kdeaccessibility3/PLIST
+++ b/misc/kdeaccessibility3/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2005/03/23 22:21:36 markd Exp $
+@comment $NetBSD: PLIST,v 1.5 2005/03/25 12:21:20 markd Exp $
bin/kmag
bin/kmousetool
bin/kmouth
@@ -16,6 +16,7 @@ lib/kde3/libkttsd_eposplugin.la
lib/kde3/libkttsd_festivalintplugin.la
lib/kde3/libkttsd_fliteplugin.la
lib/kde3/libkttsd_freettsplugin.la
+${HAVE_GST}lib/kde3/libkttsd_gstplugin.la
lib/kde3/libkttsd_hadifixplugin.la
lib/kde3/libkttsd_sbdplugin.la
lib/kde3/libkttsd_stringreplacerplugin.la
@@ -2459,6 +2460,7 @@ share/kde/services/kttsd_eposplugin.desktop
share/kde/services/kttsd_festivalintplugin.desktop
share/kde/services/kttsd_fliteplugin.desktop
share/kde/services/kttsd_freettsplugin.desktop
+${HAVE_GST}share/kde/services/kttsd_gstplugin.desktop
share/kde/services/kttsd_hadifixplugin.desktop
share/kde/services/kttsd_sbdplugin.desktop
share/kde/services/kttsd_stringreplacerplugin.desktop