summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-05-31 11:17:16 +0000
committerBen de Groot <yngwin@gentoo.org>2008-05-31 11:17:16 +0000
commitae8e91568862f5ca4c6b8acdce70b3a0e7053774 (patch)
treebb7af327dbae9330ebf03db9ec797d2db58b4742 /media-sound
parentAdding media-sound/qtscrobbler:cli to use.local.desc (diff)
downloadhistorical-ae8e91568862f5ca4c6b8acdce70b3a0e7053774.tar.gz
historical-ae8e91568862f5ca4c6b8acdce70b3a0e7053774.tar.bz2
historical-ae8e91568862f5ca4c6b8acdce70b3a0e7053774.zip
Make qtscrobbler commandline client optional with USE=cli
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qtscrobbler/ChangeLog10
-rw-r--r--media-sound/qtscrobbler/Manifest4
-rw-r--r--media-sound/qtscrobbler/qtscrobbler-0.8-r1.ebuild (renamed from media-sound/qtscrobbler/qtscrobbler-0.8.ebuild)20
3 files changed, 22 insertions, 12 deletions
diff --git a/media-sound/qtscrobbler/ChangeLog b/media-sound/qtscrobbler/ChangeLog
index 21885ae7b9f9..7c5bf6f54755 100644
--- a/media-sound/qtscrobbler/ChangeLog
+++ b/media-sound/qtscrobbler/ChangeLog
@@ -1,10 +1,16 @@
# ChangeLog for media-sound/qtscrobbler
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qtscrobbler/ChangeLog,v 1.1 2008/05/31 01:04:34 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qtscrobbler/ChangeLog,v 1.2 2008/05/31 11:17:16 yngwin Exp $
+
+*qtscrobbler-0.8-r1 (31 May 2008)
+
+ 31 May 2008; Ben de Groot <yngwin@gentoo.org> -qtscrobbler-0.8.ebuild,
+ +qtscrobbler-0.8-r1.ebuild:
+ Make commandline client optional with USE=cli
*qtscrobbler-0.8 (31 May 2008)
31 May 2008; Ben de Groot <yngwin@gentoo.org> +qtscrobbler-0.8.ebuild:
Initial import. Ebuild based on the one in ephemeral overlay. Fixes bug
- 140738.
+ 182135.
diff --git a/media-sound/qtscrobbler/Manifest b/media-sound/qtscrobbler/Manifest
index 87b8ada6015e..1fd50162f5a4 100644
--- a/media-sound/qtscrobbler/Manifest
+++ b/media-sound/qtscrobbler/Manifest
@@ -1,4 +1,4 @@
DIST qtscrob-0.8.tar.bz2 126583 RMD160 e37c9bb69943f00375ec51c67b49c5b774fca257 SHA1 9f8305a2775183b063d0bdd6ca8b202c17bb1e12 SHA256 2d52dcff4b50ca5c75ba3c309e087ab80ecf2d6e3f1cd2f5acbcb55c4de915ec
-EBUILD qtscrobbler-0.8.ebuild 1391 RMD160 64cd332602e4e0f9ecb0d0429febd1256d4a021b SHA1 a5a8cdb11f5a5a0d6da38615d8abb9b2fc3bb9ee SHA256 5a18cad15cfa7cd61a0948a7a2c8eb89e0b2d4de830b8f6b76a9c104d9c70163
-MISC ChangeLog 409 RMD160 0348f311e0f293c1dc36d6d2cc7f4479cf0bc2e0 SHA1 0827b579607da47bf05bc5e235014aa410c3ff0d SHA256 ac555018de4987f953aee49a326ab101842aecb4bd48fb03eb1e8c4498654011
+EBUILD qtscrobbler-0.8-r1.ebuild 1428 RMD160 967f73d07325436ca2071bedb1ffda47c2b3aa79 SHA1 c7312bea461d773cabef6ead9096498da62841f9 SHA256 39116d7a33f9057c7068874b955c2fc85aae87aa5bab58acb479a4ff70e3ff13
+MISC ChangeLog 596 RMD160 829d33451a6ccd2b49aaeec55eb1bc7e1de781f7 SHA1 f065bcefc17d7ba14fd8cb65e7a05a3e6bfcd6de SHA256 45090ce4aa2b881020272063ee31d59dab4ff7eedee81e0730a19af8cadecad0
MISC metadata.xml 160 RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 SHA1 0c1bb16a7cc376ef35b87d8699ec9504718d36b9 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b
diff --git a/media-sound/qtscrobbler/qtscrobbler-0.8.ebuild b/media-sound/qtscrobbler/qtscrobbler-0.8-r1.ebuild
index fc84f8f142ea..bf29b4c378b8 100644
--- a/media-sound/qtscrobbler/qtscrobbler-0.8.ebuild
+++ b/media-sound/qtscrobbler/qtscrobbler-0.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qtscrobbler/qtscrobbler-0.8.ebuild,v 1.2 2008/05/31 04:52:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qtscrobbler/qtscrobbler-0.8-r1.ebuild,v 1.1 2008/05/31 11:17:16 yngwin Exp $
EAPI=1
inherit eutils qt4
@@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE="qt4"
+IUSE="cli +qt4"
DEPEND="net-misc/curl
qt4? ( || ( x11-libs/qt-gui:4 >=x11-libs/qt-4.3:4 ) )"
@@ -32,18 +32,22 @@ src_unpack() {
}
src_compile() {
- cd "${S}/src/cli"
- emake || die "emake qtscrob cli failed"
+ if use cli; then
+ cd "${S}/src/cli"
+ emake || die "emake cli failed"
+ fi
if use qt4; then
cd "${S}/src/qt"
- qmake "${MY_PN}.pro" || die "qmake qtscrob gui failed"
- emake || die "emake qtscrob gui failed"
+ qmake "${MY_PN}.pro" || die "qmake qt4 gui failed"
+ emake || die "emake qt4 gui failed"
fi
}
src_install() {
- cd "${S}/src/cli"
- newbin scrobble-cli qtscrobbler-cli
+ if use cli; then
+ cd "${S}/src/cli"
+ newbin scrobble-cli qtscrobbler-cli
+ fi
if use qt4; then
cd "${S}/src/qt"
newbin qtscrob qtscrobbler