diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/museek+/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/museek+/Manifest | 3 | ||||
-rw-r--r-- | net-p2p/museek+/museek+-0.1.13-r2.ebuild | 95 |
3 files changed, 104 insertions, 2 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+/Manifest b/net-p2p/museek+/Manifest index 58272f326dfd..df6fdd871109 100644 --- a/net-p2p/museek+/Manifest +++ b/net-p2p/museek+/Manifest @@ -8,5 +8,6 @@ DIST museek+-0.1.12.tar.bz2 758908 RMD160 2be013e1c27e846b29ff4d51c825fc0cda2f58 DIST museek+-0.1.13.tar.bz2 1186870 RMD160 25e1febce98ee536ba380e58b052ed7113f84d06 SHA1 003cc4f7d98b8bce8cdfa969b370a5e3c10ca9a1 SHA256 e1958556b30dee59eb7648973432d4d048f30c79f38ab7145fca6f0f2690473e EBUILD museek+-0.1.12.ebuild 2475 RMD160 1bc318fb878c23759658340bb0fc49ad62740d36 SHA1 81d7f4345ef621018ea5c89a53b1cce2a396a98b SHA256 772d3ef3b982612da433bac90447daad81611b1b218dda80cdb2115f16c689b0 EBUILD museek+-0.1.13-r1.ebuild 2621 RMD160 39587affa2b44533069c839bd2608db9364b986d SHA1 87ee3788cde2f2e43af1276dd05e8b9d7404c3ce SHA256 533cd4ff7e954857b7954d4c4c698edd4505962e38df2e3d89775a6c8c801cad -MISC ChangeLog 1849 RMD160 4734c85db368144005c7372f46bcdd108449312d SHA1 912b7b31e17b6fe9c189f8d3f02ac8dba1938c0b SHA256 12934e4892c8d0458ed61a1d8a4abc548ad30502723936fdd052c0561aee4da0 +EBUILD museek+-0.1.13-r2.ebuild 2685 RMD160 be3e914ad3bb0e6d08c9f6352c56c03972f4e405 SHA1 03c79b7be85b7fb29106760d607333a09a7de877 SHA256 deab61ba2aa1121665ebd1eb58e3aa912ec6fb33a28bed75e2ab46f2e287e68e +MISC ChangeLog 1993 RMD160 6a0e37884fb7cbc2b575584a29d3f815d0fe76b2 SHA1 effc83f74f235d5dd7613511a1ba42c85614ee9a SHA256 9dc65881fa2da85efc7ab146d8f5c134467349e5e56f8df067cfc2375a1514a2 MISC metadata.xml 252 RMD160 7e449912477ab0ef9b7d65a9b64dc43231363517 SHA1 e8ec909da9c64cc2d1b86d75290af7f143222aad SHA256 a82843a279b0bc7cc4f5a1ae7a89c75976e1bac6def09f666c5c5ffc7e34f7dc 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." +} |