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-r3.ebuild museek+-0.1.13-r1.ebuild museek+-0.1.13-r2.ebuild
Date: Wed, 30 Apr 2008 21:09:36
Message-Id: E1JrJYT-0000G1-8N@stork.gentoo.org
1 coldwind 08/04/30 21:09:33
2
3 Modified: ChangeLog
4 Added: museek+-0.1.13-r3.ebuild
5 Removed: museek+-0.1.13-r1.ebuild museek+-0.1.13-r2.ebuild
6 Log:
7 Fix missing dodir (bug #219007) and compatibility with gcc 4.3 (bug #219352). Remove old.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.12 net-p2p/museek+/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 29 Feb 2008 20:27:17 -0000 1.11
24 +++ ChangeLog 30 Apr 2008 21:09:32 -0000 1.12
25 @@ -1,6 +1,14 @@
26 # ChangeLog for net-p2p/museek+
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.11 2008/02/29 20:27:17 carlo Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.12 2008/04/30 21:09:32 coldwind Exp $
30 +
31 +*museek+-0.1.13-r3 (30 Apr 2008)
32 +
33 + 30 Apr 2008; Santiago M. Mola <coldwind@g.o>
34 + +files/museek+-0.1.13-gcc43.patch, -museek+-0.1.13-r1.ebuild,
35 + -museek+-0.1.13-r2.ebuild, +museek+-0.1.13-r3.ebuild:
36 + Fix missing dodir (bug #219007) and compatibility with gcc 4.3 (bug
37 + #219352). Remove old.
38
39 29 Feb 2008; Carsten Lohrke <carlo@g.o> museek+-0.1.12.ebuild:
40 Remove icon extension from desktop entry to match Icon Theme Specification.
41
42
43
44 1.1 net-p2p/museek+/museek+-0.1.13-r3.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/museek+-0.1.13-r3.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/museek+/museek+-0.1.13-r3.ebuild?rev=1.1&content-type=text/plain
48
49 Index: museek+-0.1.13-r3.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/museek+-0.1.13-r3.ebuild,v 1.1 2008/04/30 21:09:32 coldwind Exp $
54
55 inherit qt3 eutils distutils multilib
56
57 DESCRIPTION="A SoulSeek client which uses a daemon and multiple gui clients."
58 HOMEPAGE="http://www.museek-plus.org"
59 SRC_URI="mirror://sourceforge/museek-plus/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="debug fam gtk ncurses qsa qt3 trayicon vorbis"
65
66 RDEPEND=">=dev-cpp/libxmlpp-1.0.2
67 gtk? ( >=dev-python/pygtk-2.6.1 )
68 qt3? ( $(qt_min_version 3.3) )
69 qsa? ( >=dev-libs/qsa-1.1.1 )
70 vorbis? ( media-libs/libvorbis
71 media-libs/libogg )
72 fam? ( virtual/fam )"
73 DEPEND="${RDEPEND}
74 dev-lang/swig
75 >=dev-util/cmake-2.4.6"
76
77 pkg_setup() {
78 if use ncurses && ! built_with_use dev-lang/python ncurses ; then
79 eerror "In order to build Mucous (museek ncurses client)"
80 eerror "you need dev-lang/python built with ncurses USE flag enabled."
81 die "no ncurses support in Python"
82 fi
83 }
84
85 src_unpack() {
86 unpack ${A}
87 cd "${S}"
88 epatch "${FILESDIR}/${P}-optional-deps.patch"
89 epatch "${FILESDIR}/${P}-post_release_fixes.patch"
90 epatch "${FILESDIR}/${P}-gcc43.patch"
91 sed -i -e "s:join('lib':join('$(get_libdir)':g" \
92 */CMakeLists.txt || die "sed failed"
93 }
94
95 my_use() {
96 use $1 && echo "1" || echo "0"
97 }
98
99 src_compile() {
100 # Build museekd, mucous, murmur, python bindings and clients
101 local myconf="-DPREFIX=/usr -DMANDIR=share/man -DBINDINGS=1 -DCLIENTS=1"
102 myconf="${myconf} -DSWIG_DIR='$(swig -swiglib)'" # bug #192594
103 myconf="${myconf} -DMUCOUS=$(my_use ncurses)
104 -DMURMUR=$(my_use gtk)
105 -DNO_MUSEEQ=$(my_use !qt3)
106 -DTRAYICON=$(my_use trayicon)
107 -DQSA=$(my_use qsa)
108 -DNO_MUSCAND=$(my_use !fam)
109 -DVORBIS=$(my_use vorbis)"
110 if ! use debug ; then
111 myconf="${myconf} -DMULOG=none"
112 fi
113
114 cmake ${myconf} || die "cmake failed"
115 emake || die "emake failed"
116
117 # Build setup tools
118 cd "${S}/setup"
119 distutils_src_compile
120 }
121
122 src_install() {
123 # Install main stuff
124 emake DESTDIR="${D}" install || die "emake install failed"
125 dodoc README CREDITS CHANGELOG TODO
126
127 # Install setup tools
128 cd "${S}/setup"
129 distutils_src_install
130
131 # fix wrong path to make musetup-gtk working, #193444, #210364
132 dodir /usr/share/museek/museekd
133 mv "${D}"/usr/share/{,museek/museekd/}config.xml.tmpl
134 }
135
136 pkg_postinst() {
137 distutils_pkg_postinst
138
139 elog "Some tools require you to install extra software to run:"
140 elog "musetup-gtk: dev-python/pygtk"
141 elog "musetup-qt: dev-python/PyQt"
142 elog
143 elog "In order to configure ${PN} execute musetup, musetup-gtk,"
144 elog "or musetup-qt with your user."
145 elog "Then you can launch ${PN} daemon with 'museekd' and use"
146 elog "any of the provided clients."
147 }
148
149
150
151 --
152 gentoo-commits@l.g.o mailing list