diff options
author | Santiago M. Mola <coldwind@gentoo.org> | 2008-02-16 14:33:07 +0000 |
---|---|---|
committer | Santiago M. Mola <coldwind@gentoo.org> | 2008-02-16 14:33:07 +0000 |
commit | 60e7c99e0f11783e643af691af9509574267389c (patch) | |
tree | 1f57582aed28633914b76b92f9bf934f5cfcd46e /net-p2p/museek+ | |
parent | old (diff) | |
download | gentoo-2-60e7c99e0f11783e643af691af9509574267389c.tar.gz gentoo-2-60e7c99e0f11783e643af691af9509574267389c.tar.bz2 gentoo-2-60e7c99e0f11783e643af691af9509574267389c.zip |
Revbump fixing #210364
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-p2p/museek+')
-rw-r--r-- | net-p2p/museek+/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/museek+/museek+-0.1.13-r2.ebuild | 95 |
2 files changed, 102 insertions, 1 deletions
diff --git a/net-p2p/museek+/ChangeLog b/net-p2p/museek+/ChangeLog index 54fa645257cb..69f2fe53a760 100644 --- a/net-p2p/museek+/ChangeLog +++ b/net-p2p/museek+/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/museek+ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.9 2008/01/24 22:07:05 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.10 2008/02/16 14:33:07 coldwind Exp $ + +*museek+-0.1.13-r2 (16 Feb 2008) + + 16 Feb 2008; Santiago M. Mola <coldwind@gentoo.org> + +museek+-0.1.13-r2.ebuild: + Revbump fixing #210364 24 Jan 2008; Santiago M. Mola <coldwind@gentoo.org> museek+-0.1.13-r1.ebuild: diff --git a/net-p2p/museek+/museek+-0.1.13-r2.ebuild b/net-p2p/museek+/museek+-0.1.13-r2.ebuild new file mode 100644 index 000000000000..85182bf62b49 --- /dev/null +++ b/net-p2p/museek+/museek+-0.1.13-r2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/museek+-0.1.13-r2.ebuild,v 1.1 2008/02/16 14:33:07 coldwind Exp $ + +inherit qt3 eutils distutils multilib + +DESCRIPTION="A SoulSeek client which uses a daemon and multiple gui clients." +HOMEPAGE="http://www.museek-plus.org" +SRC_URI="mirror://sourceforge/museek-plus/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug fam gtk ncurses qsa qt3 trayicon vorbis" + +RDEPEND=">=dev-cpp/libxmlpp-1.0.2 + gtk? ( >=dev-python/pygtk-2.6.1 ) + qt3? ( $(qt_min_version 3.3) ) + qsa? ( >=dev-libs/qsa-1.1.1 ) + vorbis? ( media-libs/libvorbis + media-libs/libogg ) + fam? ( virtual/fam )" +DEPEND="${RDEPEND} + dev-lang/swig + >=dev-util/cmake-2.4.6" + +pkg_setup() { + if use ncurses && ! built_with_use dev-lang/python ncurses ; then + eerror "In order to build Mucous (museek ncurses client)" + eerror "you need dev-lang/python built with ncurses USE flag enabled." + die "no ncurses support in Python" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-optional-deps.patch" + epatch "${FILESDIR}/${P}-post_release_fixes.patch" + sed -i -e "s:join('lib':join('$(get_libdir)':g" \ + */CMakeLists.txt || die "sed failed" +} + +my_use() { + use $1 && echo "1" || echo "0" +} + +src_compile() { + # Build museekd, mucous, murmur, python bindings and clients + local myconf="-DPREFIX=/usr -DMANDIR=share/man -DBINDINGS=1 -DCLIENTS=1" + myconf="${myconf} -DSWIG_DIR='$(swig -swiglib)'" # bug #192594 + myconf="${myconf} -DMUCOUS=$(my_use ncurses) + -DMURMUR=$(my_use gtk) + -DNO_MUSEEQ=$(my_use !qt3) + -DTRAYICON=$(my_use trayicon) + -DQSA=$(my_use qsa) + -DNO_MUSCAND=$(my_use !fam) + -DVORBIS=$(my_use vorbis)" + if ! use debug ; then + myconf="${myconf} -DMULOG=none" + fi + + cmake ${myconf} || die "cmake failed" + emake || die "emake failed" + + # Build setup tools + cd "${S}/setup" + distutils_src_compile +} + +src_install() { + # Install main stuff + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README CREDITS CHANGELOG TODO + + # Install setup tools + cd "${S}/setup" + distutils_src_install + + # fix wrong path to make musetup-gtk working, #193444, #210364 + mv "${D}"/usr/share/{,museek/museekd/}config.xml.tmpl +} + +pkg_postinst() { + distutils_pkg_postinst + + elog "Some tools require you to install extra software to run:" + elog "musetup-gtk: dev-python/pygtk" + elog "musetup-qt: dev-python/PyQt" + elog + elog "In order to configure ${PN} execute musetup, musetup-gtk," + elog "or musetup-qt with your user." + elog "Then you can launch ${PN} daemon with 'museekd' and use" + elog "any of the provided clients." +} |