Gentoo Archives: gentoo-commits

From: "Santiago M. Mola (coldwind)" <coldwind@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/museek+: ChangeLog museek+-0.1.13.ebuild
Date: Sat, 22 Sep 2007 19:51:31
Message-Id: E1IZAcC-0002NU-H6@stork.gentoo.org
1 coldwind 07/09/22 19:26:08
2
3 Modified: ChangeLog
4 Added: museek+-0.1.13.ebuild
5 Log:
6 Bump to 0.1.13.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.6 net-p2p/museek+/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 3 Jul 2007 21:20:52 -0000 1.5
23 +++ ChangeLog 22 Sep 2007 19:26:08 -0000 1.6
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-p2p/museek+
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.5 2007/07/03 21:20:52 coldwind Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.6 2007/09/22 19:26:08 coldwind Exp $
29 +
30 +*museek+-0.1.13 (22 Sep 2007)
31 +
32 + 22 Sep 2007; Santiago M. Mola <coldwind@g.o>
33 + +files/museek+-0.1.13-post_release_fixes.patch, +museek+-0.1.13.ebuild:
34 + Bump to 0.1.13.
35
36 03 Jul 2007; Santiago M. Mola <coldwind@g.o> metadata.xml:
37 Update my maintainer data.
38
39
40
41 1.1 net-p2p/museek+/museek+-0.1.13.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/museek+-0.1.13.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/museek+-0.1.13.ebuild?rev=1.1&content-type=text/plain
45
46 Index: museek+-0.1.13.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/museek+-0.1.13.ebuild,v 1.1 2007/09/22 19:26:08 coldwind Exp $
51
52 inherit qt3 eutils distutils multilib
53
54 DESCRIPTION="A SoulSeek client which uses a daemon and multiple gui clients."
55 HOMEPAGE="http://www.museek-plus.org"
56 SRC_URI="mirror://sourceforge/museek-plus/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~x86"
61 IUSE="debug gtk ncurses qt3 trayicon"
62
63 RDEPEND=">=dev-cpp/libxmlpp-1.0.2
64 gtk? ( >=dev-python/pygtk-2.6.1 )
65 qt3? ( $(qt_min_version 3.3)
66 >=dev-libs/qsa-1.1.1 )
67 media-libs/libvorbis
68 media-libs/libogg
69 virtual/fam"
70 DEPEND="${RDEPEND}
71 dev-lang/swig"
72
73 pkg_setup() {
74 if use ncurses && ! built_with_use dev-lang/python ncurses ; then
75 eerror "In order to build Mucous (museek ncurses client)"
76 eerror "you need dev-lang/python built with ncurses USE flag enabled."
77 die "no ncurses support in Python"
78 fi
79 }
80
81 src_unpack() {
82 unpack ${A}
83 cd "${S}"
84 epatch "${FILESDIR}/${P}-post_release_fixes.patch"
85 sed -i -e "s:join('lib':join('$(get_libdir)':g" \
86 */CMakeLists.txt || die "sed failed"
87 }
88
89 src_compile() {
90 # Build museekd, mucous, murmur, python bindings and clients
91 local myconf="-DPREFIX=/usr -DMANDIR=share/man -DBINDINGS=1 -DCLIENTS=1"
92 myconf="${myconf} -DSWIG_DIR='$(swig -swiglib)'" # bug #192594
93 if use ncurses ; then
94 myconf="${myconf} -DMUCOUS=1"
95 else
96 myconf="${myconf} -DMUCOUS=0"
97 fi
98 if use gtk ; then
99 myconf="${myconf} -DMURMUR=1"
100 else
101 myconf="${myconf} -DMURMUR=0"
102 fi
103 if use qt3 ; then
104 myconf="${myconf} -DNO_MUSEEQ=0"
105 use trayicon && myconf="${myconf} -DTRAYICON=1"
106 else
107 myconf="${myconf} -DNO_MUSEEQ=1"
108 fi
109 if ! use debug ; then
110 myconf="${myconf} -DMULOG=none"
111 fi
112
113 cmake ${myconf} || die "cmake failed"
114 emake || die "emake failed"
115
116 # Build setup tools
117 cd "${S}/setup"
118 distutils_src_compile
119 }
120
121 src_install() {
122 # Install main stuff
123 emake DESTDIR="${D}" install || die "emake install failed"
124 dodoc README CREDITS CHANGELOG TODO
125
126 # Install setup tools
127 cd "${S}/setup"
128 distutils_src_install
129 }
130
131 pkg_postinst() {
132 distutils_pkg_postinst
133
134 elog "In order to configure ${PN} execute musetup, musetup-gtk,"
135 elog "or musetup-qt with your user."
136 elog "Then you can launch ${PN} daemon with 'museekd' and use"
137 elog "any of the provided clients."
138 }
139
140
141
142 --
143 gentoo-commits@g.o mailing list