From: | "Ben de Groot (yngwin)" <yngwin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/qtscrobbler: ChangeLog Manifest metadata.xml qtscrobbler-0.8.ebuild |
Date: | Sat, 31 May 2008 01:04:41 |
Message-Id: | E1K2FWM-0003Ud-V0@stork.gentoo.org |
1 | yngwin 08/05/31 01:04:34 |
2 | |
3 | Added: ChangeLog Manifest metadata.xml |
4 | qtscrobbler-0.8.ebuild |
5 | Log: |
6 | Initial import of QtScrobbler - a last.fm committer for portable devices |
7 | (Portage version: 2.1.5.2) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-sound/qtscrobbler/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qtscrobbler/ChangeLog?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qtscrobbler/ChangeLog?rev=1.1&content-type=text/plain |
14 | |
15 | Index: ChangeLog |
16 | =================================================================== |
17 | # ChangeLog for media-sound/qtscrobbler |
18 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/media-sound/qtscrobbler/ChangeLog,v 1.1 2008/05/31 01:04:34 yngwin Exp $ |
20 | |
21 | *qtscrobbler-0.8 (31 May 2008) |
22 | |
23 | 31 May 2008; Ben de Groot <yngwin@g.o> +qtscrobbler-0.8.ebuild: |
24 | Initial import. Ebuild based on the one in ephemeral overlay. Fixes bug |
25 | 140738. |
26 | |
27 | |
28 | |
29 | |
30 | 1.1 media-sound/qtscrobbler/Manifest |
31 | |
32 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qtscrobbler/Manifest?rev=1.1&view=markup |
33 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qtscrobbler/Manifest?rev=1.1&content-type=text/plain |
34 | |
35 | Index: Manifest |
36 | =================================================================== |
37 | DIST qtscrob-0.8.tar.bz2 126583 RMD160 e37c9bb69943f00375ec51c67b49c5b774fca257 SHA1 9f8305a2775183b063d0bdd6ca8b202c17bb1e12 SHA256 2d52dcff4b50ca5c75ba3c309e087ab80ecf2d6e3f1cd2f5acbcb55c4de915ec |
38 | EBUILD qtscrobbler-0.8.ebuild 1281 RMD160 0810f28865ac25640bc72538d1719f1c17fe6544 SHA1 bcb768634a0918910724cf16d61edda8daeafa57 SHA256 42088ba86c49c78f9d4639f607226202745b1cba89728124cbfa6e6d596108e1 |
39 | MISC ChangeLog 314 RMD160 9cc785e53461f71181a84d4726cc3884b9fc4196 SHA1 fdbfa57b5df085b21a7383898513d1413cce9799 SHA256 1e5b80bb9a122fca9abb15c1b5e04b591e08f737fe8d57795264cdb72d262126 |
40 | MISC metadata.xml 160 RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 SHA1 0c1bb16a7cc376ef35b87d8699ec9504718d36b9 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b |
41 | |
42 | |
43 | |
44 | 1.1 media-sound/qtscrobbler/metadata.xml |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qtscrobbler/metadata.xml?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qtscrobbler/metadata.xml?rev=1.1&content-type=text/plain |
48 | |
49 | Index: metadata.xml |
50 | =================================================================== |
51 | <?xml version="1.0" encoding="UTF-8"?> |
52 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
53 | <pkgmetadata> |
54 | <herd>sound</herd> |
55 | </pkgmetadata> |
56 | |
57 | |
58 | |
59 | 1.1 media-sound/qtscrobbler/qtscrobbler-0.8.ebuild |
60 | |
61 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qtscrobbler/qtscrobbler-0.8.ebuild?rev=1.1&view=markup |
62 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qtscrobbler/qtscrobbler-0.8.ebuild?rev=1.1&content-type=text/plain |
63 | |
64 | Index: qtscrobbler-0.8.ebuild |
65 | =================================================================== |
66 | # Copyright 1999-2008 Gentoo Foundation |
67 | # Distributed under the terms of the GNU General Public License v2 |
68 | # $Header: /var/cvsroot/gentoo-x86/media-sound/qtscrobbler/qtscrobbler-0.8.ebuild,v 1.1 2008/05/31 01:04:34 yngwin Exp $ |
69 | |
70 | EAPI=1 |
71 | inherit eutils qt4 |
72 | |
73 | MY_PN="qtscrob" |
74 | MY_P="${MY_PN}-${PV}" |
75 | |
76 | DESCRIPTION="Updates a last.fm profile using information from a supported portable music player" |
77 | HOMEPAGE="http://qtscrob.sourceforge.net/" |
78 | SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" |
79 | |
80 | LICENSE="GPL-2" |
81 | SLOT="0" |
82 | KEYWORDS="~x86" |
83 | IUSE="qt4" |
84 | |
85 | DEPEND="net-misc/curl |
86 | qt4? ( || ( x11-libs/qt-gui:4 >=x11-libs/qt-4.3:4 ) )" |
87 | RDEPEND="${DEPEND}" |
88 | |
89 | S="${WORKDIR}/${MY_P}" |
90 | |
91 | src_unpack() { |
92 | unpack ${A} |
93 | # Makefile for cli prog does not read CFLAGS env var. |
94 | # This sed fixes this. |
95 | cd "${S}/src/cli" |
96 | sed -i -e "s:CFLAGS =.*:CFLAGS = \$(INCLUDE) `curl-config --cflags` ${CFLAGS}:" Makefile |
97 | } |
98 | |
99 | |
100 | src_compile() { |
101 | cd "${S}/src/cli" |
102 | emake || die "emake qtscrob cli failed" |
103 | if use qt4; then |
104 | cd "${S}/src/qt" |
105 | qmake "${MY_PN}.pro" || die "qmake qtscrob gui failed" |
106 | emake || die "emake qtscrob gui failed" |
107 | fi |
108 | } |
109 | |
110 | src_install() { |
111 | cd "${S}/src/cli" |
112 | newbin scrobble-cli qtscrobbler-cli |
113 | if use qt4; then |
114 | cd "${S}/src/qt" |
115 | newbin qtscrob qtscrobbler |
116 | newicon resources/icons/128.png qtscrobbler.png |
117 | make_desktop_entry qtscrobbler QtScrobbler |
118 | fi |
119 | cd "${S}" |
120 | dodoc AUTHORS CHANGELOG README |
121 | } |
122 | |
123 | |
124 | |
125 | -- |
126 | gentoo-commits@l.g.o mailing list |