From b9f891e7704fd41fbbe2614c94f7915759bba92e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Mon, 12 Feb 2007 20:32:13 +0000 Subject: [PATCH] New ebuild, from bug 140047, thanks to Santiago M. Mola Velasco for the ebuild Package-Manager: portage-2.1.2-r9 --- net-p2p/museek+/ChangeLog | 11 +++ net-p2p/museek+/Manifest | 16 ++++ net-p2p/museek+/files/digest-museek+-0.1.12 | 3 + net-p2p/museek+/metadata.xml | 5 ++ net-p2p/museek+/museek+-0.1.12.ebuild | 89 +++++++++++++++++++++ 5 files changed, 124 insertions(+) create mode 100644 net-p2p/museek+/ChangeLog create mode 100644 net-p2p/museek+/Manifest create mode 100644 net-p2p/museek+/files/digest-museek+-0.1.12 create mode 100644 net-p2p/museek+/metadata.xml create mode 100644 net-p2p/museek+/museek+-0.1.12.ebuild diff --git a/net-p2p/museek+/ChangeLog b/net-p2p/museek+/ChangeLog new file mode 100644 index 000000000000..19d8caf63e6b --- /dev/null +++ b/net-p2p/museek+/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-p2p/museek+ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.1 2007/02/12 20:32:13 armin76 Exp $ + +*museek+-0.1.12 (12 Feb 2007) + + 12 Feb 2007; Raúl Porcel +metadata.xml, + +museek+-0.1.12.ebuild: + New ebuild, from bug 140047, thanks to Santiago M. Mola Velasco for the ebuild + diff --git a/net-p2p/museek+/Manifest b/net-p2p/museek+/Manifest new file mode 100644 index 000000000000..5ec4db835890 --- /dev/null +++ b/net-p2p/museek+/Manifest @@ -0,0 +1,16 @@ +DIST museek+-0.1.12.tar.bz2 758908 RMD160 2be013e1c27e846b29ff4d51c825fc0cda2f58e9 SHA1 8ec3aafdbd22a9ac143419bb5c1296635be76ad9 SHA256 458a6d98cfec13c416382df32c99ff7862d70f54bc94ff3ad1cdb0723a7b3a53 +EBUILD museek+-0.1.12.ebuild 2394 RMD160 d71cd3e130a0d4c1384dec3be7da2bd2c7a86060 SHA1 ea2583165766a2eec462c60325c86872c69cbcc9 SHA256 c3e691aebcdd8cb41c85a92585a58831da9f6c5b69522dd9d8449794b99665ce +MD5 d242f1b7b8548fe31d48bedb97962d74 museek+-0.1.12.ebuild 2394 +RMD160 d71cd3e130a0d4c1384dec3be7da2bd2c7a86060 museek+-0.1.12.ebuild 2394 +SHA256 c3e691aebcdd8cb41c85a92585a58831da9f6c5b69522dd9d8449794b99665ce museek+-0.1.12.ebuild 2394 +MISC ChangeLog 438 RMD160 0de29e4df795276dc8234b37cc1ac03711ee79a7 SHA1 e5db102943cd5c19564649635227c52ea2d44fff SHA256 7b3eded4832535bf36853a6c877781203de9379a7cc031794767cc5d7e32b664 +MD5 6bd98383c4c849e88dad4ec4a7055dd3 ChangeLog 438 +RMD160 0de29e4df795276dc8234b37cc1ac03711ee79a7 ChangeLog 438 +SHA256 7b3eded4832535bf36853a6c877781203de9379a7cc031794767cc5d7e32b664 ChangeLog 438 +MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f +MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 +RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160 +SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160 +MD5 c2fa9be1bc551c4ccad3b3ad223ce7be files/digest-museek+-0.1.12 247 +RMD160 b631e175011aed7ee2e4c56442c1a31a109132d0 files/digest-museek+-0.1.12 247 +SHA256 3a5376cf776176b2c8e76b558b0fbf15ef916756f984f8042779bae2d6569de6 files/digest-museek+-0.1.12 247 diff --git a/net-p2p/museek+/files/digest-museek+-0.1.12 b/net-p2p/museek+/files/digest-museek+-0.1.12 new file mode 100644 index 000000000000..f50707629bea --- /dev/null +++ b/net-p2p/museek+/files/digest-museek+-0.1.12 @@ -0,0 +1,3 @@ +MD5 5d871e40dc93c04e60688a06e0e143e8 museek+-0.1.12.tar.bz2 758908 +RMD160 2be013e1c27e846b29ff4d51c825fc0cda2f58e9 museek+-0.1.12.tar.bz2 758908 +SHA256 458a6d98cfec13c416382df32c99ff7862d70f54bc94ff3ad1cdb0723a7b3a53 museek+-0.1.12.tar.bz2 758908 diff --git a/net-p2p/museek+/metadata.xml b/net-p2p/museek+/metadata.xml new file mode 100644 index 000000000000..aa0f3664825f --- /dev/null +++ b/net-p2p/museek+/metadata.xml @@ -0,0 +1,5 @@ + + + +net-p2p + diff --git a/net-p2p/museek+/museek+-0.1.12.ebuild b/net-p2p/museek+/museek+-0.1.12.ebuild new file mode 100644 index 000000000000..8eea7c300e1e --- /dev/null +++ b/net-p2p/museek+/museek+-0.1.12.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/museek+-0.1.12.ebuild,v 1.1 2007/02/12 20:32:13 armin76 Exp $ + +inherit qt3 eutils + +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="~x86" +IUSE="debug gtk ncurses qsa qt3 trayicon vorbis" + +LANGS="fr de es it pl ru pt_BR ja zh sk he ar cs" + +for X in ${LANGS} ; do + IUSE="${IUSE} linguas_${X}" +done + +RDEPEND=">=dev-cpp/libxmlpp-1.0.2 + gtk? ( >=dev-python/pygtk-2.6.1 ) + qsa? ( >=dev-libs/qsa-1.1.1 ) + qt3? ( $(qt_min_version 3.3) ) + vorbis? ( media-libs/libvorbis + media-libs/libogg )" +DEPEND="${RDEPEND} + >=dev-util/scons-0.96 + dev-lang/swig" + +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 + + if use qsa && ! use qt3 ; then + eerror "In order to use QSA you need to build Museek+" + eerror "with QT3 support too." + die "using qsa without qt3" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-libxmlpp-dep-order.patch" +} + +src_compile() { + local myconf="" + use qt3 || myconf="${myconf} MUSEEQ=no" + use qsa || myconf="${myconf} QSA=no" + use gtk || myconf="${myconf} MUSETUPGTK=no" + use ncurses || myconf="${myconf} MUCOUS=no" + use vorbis || myconf="${myconf} VORBIS=no" + use trayicon || myconf="${myconf} MUSEEQTRAYICON=no" + use debug || myconf="${myconf} RELEASE=yes MULOG=none" + + local mylinguas="" + for X in ${LANGS} ; do + if use linguas_${X} ; then + mylinguas="${mylinguas}${X}," + fi + done + + myconf="${myconf} MUSEEQTRANSLATIONS=${mylinguas/,$/}" + + scons ${myconf} CFLAGS="${CFLAGS}" PREFIX=/usr || die "scons failed" +} + +src_install() { + scons DESTDIR="${D}" install || die "scons install failed" + dodoc README + exeinto /usr/bin + doexe "${FILESDIR}/museek" + + if use qt3 ; then + doicon "icons/museeq-circle2.png" + make_desktop_entry museeq "Museeq" museeq-circle2.png "Qt;Network;P2P" + fi +} + +pkg_postinst() { + elog "Use museek to manage start/restart/stop of the daemon," + elog "you can use it to launch museek applications too." +} -- 2.26.2