1 |
On 10/09/2015 04:42 PM, Michael Palimaka wrote: |
2 |
> commit: 2f9b36011ada0104883275fad335084922f5c9c6 |
3 |
> Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
4 |
> AuthorDate: Fri Oct 9 14:40:56 2015 +0000 |
5 |
> Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
6 |
> CommitDate: Fri Oct 9 14:42:22 2015 +0000 |
7 |
> URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f9b3601 |
8 |
> |
9 |
> media-sound/musique: version bump |
10 |
> |
11 |
|
12 |
reformatted, because email reviews are broken |
13 |
|
14 |
diff --git a/media-sound/musique/musique-1.4.ebuild |
15 |
b/media-sound/musique/musique-1.4.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..6e40cbb |
18 |
--- /dev/null |
19 |
+++ b/media-sound/musique/musique-1.4.ebuild |
20 |
@@ -0,0 +1,46 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI="5" |
26 |
+ |
27 |
+inherit eutils qt4-r2 |
28 |
+ |
29 |
+DESCRIPTION="Qt4 music player" |
30 |
+HOMEPAGE="http://flavio.tordini.org/musique" |
31 |
+SRC_URI="http://flavio.tordini.org/files/${PN}/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-3" |
34 |
|
35 |
It seems this can be GPL-3+, see |
36 |
https://github.com/flaviotordini/musique#legal-stuff |
37 |
|
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ dev-qt/qtcore:4 |
44 |
+ dev-qt/qtdbus:4 |
45 |
+ dev-qt/qtgui:4 |
46 |
+ dev-qt/qtsingleapplication[qt4,X] |
47 |
+ dev-qt/qtsql:4[sqlite] |
48 |
+ || ( dev-qt/qtphonon:4 media-libs/phonon[qt4] ) |
49 |
+ media-libs/taglib |
50 |
+" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+S="${WORKDIR}/${PN}" |
54 |
+ |
55 |
+DOCS=( CHANGES TODO ) |
56 |
+ |
57 |
+src_prepare () { |
58 |
+ epatch "${FILESDIR}"/${P}-unbundle-qtsingleapplication.patch |
59 |
+ rm -r src/qtsingleapplication || die |
60 |
+ qt4-r2_src_prepare |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ eqmake4 ${PN}.pro PREFIX="/usr" |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ qt4-r2_src_install |
69 |
+ doicon data/${PN}.svg |
70 |
|
71 |
is this icon referenced in a hardcoded way? Otherwise, you can do: |
72 |
doicon -s scalable data/${PN}.svg |
73 |
|
74 |
which will install it into /usr/share/icons/hicolor/scalable/apps |
75 |
which is the more modern location. |
76 |
|
77 |
doicon also allows -c and -t switches, see |
78 |
https://devmanual.gentoo.org/eclass-reference/eutils.eclass/index.html |
79 |
|
80 |
If you go for that location, you also need to update icon cache for |
81 |
users who run qt applications inside a gtk based DE via gnome2-utils.eclass. |
82 |
|
83 |
Maybe these cache updates should be replaced by PM hooks, but I'm not |
84 |
sure if portage hooks support is good enough for that. |