pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/kdeaccessibility3 Optional gstreamer support in k...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bda2a2b4790
branches:  trunk
changeset: 491543:5bda2a2b4790
user:      markd <markd%pkgsrc.org@localhost>
date:      Fri Mar 25 12:21:20 2005 +0000

description:
Optional gstreamer support in kttsd.

diffstat:

 misc/kdeaccessibility3/Makefile |  15 ++++++++++++++-
 misc/kdeaccessibility3/PLIST    |   4 +++-
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r 6861895bb61f -r 5bda2a2b4790 misc/kdeaccessibility3/Makefile
--- a/misc/kdeaccessibility3/Makefile   Fri Mar 25 12:05:09 2005 +0000
+++ b/misc/kdeaccessibility3/Makefile   Fri Mar 25 12:21:20 2005 +0000
@@ -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 @@
 
 .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 -r 6861895bb61f -r 5bda2a2b4790 misc/kdeaccessibility3/PLIST
--- a/misc/kdeaccessibility3/PLIST      Fri Mar 25 12:05:09 2005 +0000
+++ b/misc/kdeaccessibility3/PLIST      Fri Mar 25 12:21:20 2005 +0000
@@ -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_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_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



Home | Main Index | Thread Index | Old Index