pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/mldonkey-gui Update to 2.6.4 (changelog see mldonk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85f949df3102
branches:  trunk
changeset: 500317:85f949df3102
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 06 11:51:13 2005 +0000

description:
Update to 2.6.4 (changelog see mldonkey).
Add options for choosing between lablgtk and lablgtk2 toolkit.
XXX: lablgtk2 GUI is very unstable (at least for me), don't use it yet.

diffstat:

 net/mldonkey-gui/Makefile   |   5 +++--
 net/mldonkey-gui/options.mk |  24 ++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 2 deletions(-)

diffs (52 lines):

diff -r 0131859eeac1 -r 85f949df3102 net/mldonkey-gui/Makefile
--- a/net/mldonkey-gui/Makefile Thu Oct 06 11:50:03 2005 +0000
+++ b/net/mldonkey-gui/Makefile Thu Oct 06 11:51:13 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/07/25 08:41:29 tron Exp $
+# $NetBSD: Makefile,v 1.7 2005/10/06 11:51:13 wiz Exp $
 #
 
 .include "../../net/mldonkey/Makefile.common"
@@ -13,6 +13,8 @@
 
 INSTALLATION_DIRS=     bin
 
+.include "options.mk"
+
 do-install:
        ${RM} -f ${PREFIX}/bin/mlgui
        cd ${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
@@ -23,5 +25,4 @@
        ${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/libexec/mldonkey
        ${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui ${PREFIX}/libexec/mldonkey
 
-.include "../../x11/lablgtk/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0131859eeac1 -r 85f949df3102 net/mldonkey-gui/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mldonkey-gui/options.mk       Thu Oct 06 11:51:13 2005 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1 2005/10/06 11:51:13 wiz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.mldonkey-gui
+PKG_OPTIONS_REQUIRED_GROUPS+=  toolkit
+PKG_OPTIONS_GROUP.toolkit=     lablgtk lablgtk2
+# lablgtk2 GUI segfaults easily
+PKG_SUGGESTED_OPTIONS= lablgtk
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlablgtk)
+CONFIGURE_ARGS+=       --enable-gui=newgui1
+.include "../../x11/lablgtk/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mlablgtk2)
+CONFIGURE_ARGS+=       --enable-gui=newgui2
+.include "../../graphics/librsvg2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+# 2.4.0nb3 was first version with included optimized files on which
+# mldonkey configure script insists
+BUILDLINK_DEPENDS.lablgtk2+=   lablgtk2>=2.4.0nb3
+.include "../../x11/lablgtk2/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index