summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-08-10 22:00:43 +0000
committerBen de Groot <yngwin@gentoo.org>2008-08-10 22:00:43 +0000
commit09b2358de5fd9d13a7b84c0b242129d3212f625b (patch)
treee1c2b945611a59224c2ba741eb8114e45d0cc757 /media-sound/qtscrobbler
parentAdd ~ia64 wrt #232691 (diff)
downloadhistorical-09b2358de5fd9d13a7b84c0b242129d3212f625b.tar.gz
historical-09b2358de5fd9d13a7b84c0b242129d3212f625b.tar.bz2
historical-09b2358de5fd9d13a7b84c0b242129d3212f625b.zip
Version bump
Package-Manager: portage-2.2_rc7/cvs/Linux 2.6.26-hh1 i686
Diffstat (limited to 'media-sound/qtscrobbler')
-rw-r--r--media-sound/qtscrobbler/ChangeLog7
-rw-r--r--media-sound/qtscrobbler/Manifest4
-rw-r--r--media-sound/qtscrobbler/qtscrobbler-0.9.ebuild59
3 files changed, 68 insertions, 2 deletions
diff --git a/media-sound/qtscrobbler/ChangeLog b/media-sound/qtscrobbler/ChangeLog
index 6e050b3b15c3..1bc18afd2e50 100644
--- a/media-sound/qtscrobbler/ChangeLog
+++ b/media-sound/qtscrobbler/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2008/08/08 20:59:32 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qtscrobbler/ChangeLog,v 1.4 2008/08/10 22:00:43 yngwin Exp $
+
+*qtscrobbler-0.9 (10 Aug 2008)
+
+ 10 Aug 2008; Ben de Groot <yngwin@gentoo.org> +qtscrobbler-0.9.ebuild:
+ Version bump
08 Aug 2008; Steve Dibb <beandog@gentoo.org> qtscrobbler-0.8-r1.ebuild:
Add ~amd64, bug 231820
diff --git a/media-sound/qtscrobbler/Manifest b/media-sound/qtscrobbler/Manifest
index 6e0fccc759b6..600276dbe5e2 100644
--- a/media-sound/qtscrobbler/Manifest
+++ b/media-sound/qtscrobbler/Manifest
@@ -1,4 +1,6 @@
DIST qtscrob-0.8.tar.bz2 126583 RMD160 e37c9bb69943f00375ec51c67b49c5b774fca257 SHA1 9f8305a2775183b063d0bdd6ca8b202c17bb1e12 SHA256 2d52dcff4b50ca5c75ba3c309e087ab80ecf2d6e3f1cd2f5acbcb55c4de915ec
+DIST qtscrob-0.9.tar.bz2 132657 RMD160 3f4e1a80ef15cf9ca09ed505306cc114f9f35a2d SHA1 d1dc679b58e60abaa966c4c28f20ed1800c621d8 SHA256 33b1b9ebab49a6e048357cb11e0111238d3ff273cf2778b3625a5c7eb2c32960
EBUILD qtscrobbler-0.8-r1.ebuild 1436 RMD160 783de674fe05eedc7f7cd0618b8763bf3da6ce36 SHA1 29ab2263dea74f87bacf1d00ccef744b4e5fcdb1 SHA256 6525b0ff3ab1c460d08560629f96a819cfd791c6499c7040a2798d02c02bcd9c
-MISC ChangeLog 697 RMD160 d060df5b2c80a77176879efc5caa8ff4e1607084 SHA1 5e7384716b4dd0d602be0ff2db1ab7affb3fed05 SHA256 c121be9d0a801a26d72e9d57f9194f8fa8b443332ca012a79c36c93a6459d46d
+EBUILD qtscrobbler-0.9.ebuild 1432 RMD160 391da30bffddb17d8a6c16a3692f1ae7172eeec8 SHA1 1b86a10395dc6e159331d368172ade40a2f8bd84 SHA256 12d1c78b92c64058d4bddfb378e47780b94e46152db02fbff786023575a667c7
+MISC ChangeLog 817 RMD160 22196ddb9d121f55462aa1f0cf951c7d15fa362d SHA1 86eda128212f5c7473517f1922799956e3a0d1e1 SHA256 8672f64edd7826e3a7d58a409850fdc73851e29919e8390aad2a937247c309d3
MISC metadata.xml 230 RMD160 e4eadb1f04df0059db1cfcf2be4b985b7dbad5a9 SHA1 d04586124a91e94d252da19ffcba5d67d2dabe0c SHA256 28eeba781d0d677392552603cc8bad4bee83475ac5cb70459b5e007cde761342
diff --git a/media-sound/qtscrobbler/qtscrobbler-0.9.ebuild b/media-sound/qtscrobbler/qtscrobbler-0.9.ebuild
new file mode 100644
index 000000000000..e614046bcb45
--- /dev/null
+++ b/media-sound/qtscrobbler/qtscrobbler-0.9.ebuild
@@ -0,0 +1,59 @@
+# 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.9.ebuild,v 1.1 2008/08/10 22:00:43 yngwin Exp $
+
+EAPI=1
+inherit eutils qt4
+
+MY_PN="qtscrob"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Updates a last.fm profile using information from a supported portable music player"
+HOMEPAGE="http://qtscrob.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cli +qt4"
+
+DEPEND="net-misc/curl
+ qt4? ( || ( x11-libs/qt-gui:4 >=x11-libs/qt-4.3:4 ) )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ # Makefile for cli prog does not read CFLAGS env var.
+ # This sed fixes this.
+ cd "${S}/src/cli"
+ sed -i -e "s:CFLAGS =.*:CFLAGS = \$(INCLUDE) `curl-config --cflags` ${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ 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 qt4 gui failed"
+ emake || die "emake qt4 gui failed"
+ fi
+}
+
+src_install() {
+ 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
+ newicon resources/icons/128.png qtscrobbler.png
+ make_desktop_entry qtscrobbler QtScrobbler
+ fi
+ cd "${S}"
+ dodoc AUTHORS CHANGELOG README
+}