pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/pidgin Fix build when dbus is installed
details: https://anonhg.NetBSD.org/pkgsrc/rev/67a1a92344ab
branches: trunk
changeset: 541996:67a1a92344ab
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Tue Apr 29 12:35:10 2008 +0000
description:
Fix build when dbus is installed
Add an option to select whether dbus support should be enabled or not and
use it to control the installation of the musicmessaging plugin. Fixes the
package when dbus is already installed. Bump PKGREVISION to 2.
Ew. Conditional builds.
diffstat:
chat/pidgin/Makefile | 4 ++--
chat/pidgin/PLIST | 4 +++-
chat/pidgin/options.mk | 15 +++++++++++++--
3 files changed, 18 insertions(+), 5 deletions(-)
diffs (68 lines):
diff -r 3306f9dcf42f -r 67a1a92344ab chat/pidgin/Makefile
--- a/chat/pidgin/Makefile Tue Apr 29 11:46:05 2008 +0000
+++ b/chat/pidgin/Makefile Tue Apr 29 12:35:10 2008 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2008/04/14 05:45:23 tnn Exp $
+# $NetBSD: Makefile,v 1.10 2008/04/29 12:35:10 jmmv Exp $
#
PKGNAME= pidgin-${PIDGIN_VERSION}
COMMENT= Multi-protocol Instant Messaging client GTK frontend
-PKGREVISION= 1
+PKGREVISION= 2
PKG_DESTDIR_SUPPORT= user-destdir
diff -r 3306f9dcf42f -r 67a1a92344ab chat/pidgin/PLIST
--- a/chat/pidgin/PLIST Tue Apr 29 11:46:05 2008 +0000
+++ b/chat/pidgin/PLIST Tue Apr 29 12:35:10 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2008/04/14 05:45:23 tnn Exp $
+@comment $NetBSD: PLIST,v 1.7 2008/04/29 12:35:10 jmmv Exp $
bin/pidgin
include/pidgin/eggtrayicon.h
include/pidgin/gtkaccount.h
@@ -57,6 +57,7 @@
lib/pidgin/history.la
lib/pidgin/iconaway.la
lib/pidgin/markerline.la
+${PLIST.dbus}lib/pidgin/musicmessaging.la
lib/pidgin/notify.la
lib/pidgin/pidginrc.la
lib/pidgin/relnot.la
@@ -93,6 +94,7 @@
share/pixmaps/pidgin/arrow-up.xpm
share/pixmaps/pidgin/buttons/edit.png
share/pixmaps/pidgin/buttons/info.png
+${PLIST.dbus}share/pixmaps/pidgin/buttons/music.png
share/pixmaps/pidgin/buttons/pause.png
share/pixmaps/pidgin/dialogs/16/auth.png
share/pixmaps/pidgin/dialogs/16/error.png
diff -r 3306f9dcf42f -r 67a1a92344ab chat/pidgin/options.mk
--- a/chat/pidgin/options.mk Tue Apr 29 11:46:05 2008 +0000
+++ b/chat/pidgin/options.mk Tue Apr 29 12:35:10 2008 +0000
@@ -1,11 +1,22 @@
-# $NetBSD: options.mk,v 1.2 2007/08/04 14:01:38 tnn Exp $
+# $NetBSD: options.mk,v 1.3 2008/04/29 12:35:10 jmmv Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pidgin
-PKG_SUPPORTED_OPTIONS+= gtkspell gstreamer debug
+PKG_SUPPORTED_OPTIONS+= dbus debug gstreamer gtkspell
PKG_SUGGESTED_OPTIONS+= gtkspell
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= dbus
+
+.if !empty(PKG_OPTIONS:Mdbus)
+CONFIGURE_ARGS+= --enable-dbus
+PLIST.dbus= yes
+. include "../../sysutils/dbus/buildlink3.mk"
+. include "../../sysutils/dbus-glib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-dbus
+.endif
+
.if !empty(PKG_OPTIONS:Mgtkspell)
. include "../../textproc/gtkspell/buildlink3.mk"
.else
Home |
Main Index |
Thread Index |
Old Index