1 |
commit: f1b5892518d015a70e94656cdf0c22c75dc5176c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 24 23:42:20 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 24 23:43:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b58925 |
7 |
|
8 |
media-sound/audacious: Revert drop 3.9 |
9 |
|
10 |
Required by media-libs/freeverb3[audacious]. |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-sound/audacious/Manifest | 2 + |
14 |
media-sound/audacious/audacious-3.9.ebuild | 94 ++++++++++++++++++++++++++++++ |
15 |
media-sound/audacious/metadata.xml | 1 + |
16 |
3 files changed, 97 insertions(+) |
17 |
|
18 |
diff --git a/media-sound/audacious/Manifest b/media-sound/audacious/Manifest |
19 |
index 165a6870661..091c016fb12 100644 |
20 |
--- a/media-sound/audacious/Manifest |
21 |
+++ b/media-sound/audacious/Manifest |
22 |
@@ -1,2 +1,4 @@ |
23 |
DIST audacious-3.10.tar.bz2 563531 BLAKE2B cde59bd5aff8e0530f76f3bdde20b48f829592a0a67cc03e8b7c08a8892259e99e9de2b1608698ff28819b7a6d0341d5237491f7591c4380566512076a0889b9 SHA512 513d5f9608c1ebeae9cf9bb95128244e990e66c74bf49aff6570ec557d537809f3ebf93c400f5df2708ff61cf04ecc95da183b111f5a757735cef5a68dd9907f |
24 |
+DIST audacious-3.9-gtk3.tar.bz2 600249 BLAKE2B 08559eafc85236e8e881d0cbe6f08e29c82baf0fc46b9209f1d3eee290460260bfa99e6e8f26940f8c6854f3782da24061226ebdb416b6249d10914093e16276 SHA512 6ff98d027c13b30ea9600a9aba914ec993c69826199b8dc303cb60cebdf2af06a7e3dd4af1d34a86343be5485848a57c8a29e48d2a45a33945585550de4e5f9c |
25 |
+DIST audacious-3.9.tar.bz2 599488 BLAKE2B 2288fe6919c1770cd283af809629fda72186cc0b87a42821f5fb9b7a20c8e7cd5bc00611d10677a82877c5ebc8a1b5ad728626027b95cc875b66dda732b8747f SHA512 d8ef24c91c84bfa80831075cd9a12fc4bf02cec8bc96bcfa5a941254d194cccdc482482b1c015bc63e1142718c2221034c0f3a87e2cb6e4daf3b4cc428328aaa |
26 |
DIST gentoo_ice-xmms-0.2.tar.bz2 51839 BLAKE2B d3bf8dbfee675dd588bc0258f1015c76877b6b0a3835813d8e9621d149b924aaa33544d07f7ad44a01c058d41d7480b3908b0773c124af33b6e020c376b13d54 SHA512 e863a8f86073007c47ce8c20739aae4bff22e22a7ddc11556b12ae6ebb68654cec7310fdc9d05f2c47f81cf2591fe601b2eb12a2fd911c0a6118c9f3cc524f05 |
27 |
|
28 |
diff --git a/media-sound/audacious/audacious-3.9.ebuild b/media-sound/audacious/audacious-3.9.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..dea37f7b001 |
31 |
--- /dev/null |
32 |
+++ b/media-sound/audacious/audacious-3.9.ebuild |
33 |
@@ -0,0 +1,94 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit gnome2-utils xdg-utils |
40 |
+ |
41 |
+MY_P="${P/_/-}" |
42 |
+S="${WORKDIR}/${MY_P}" |
43 |
+ |
44 |
+DESCRIPTION="Audacious Player - Your music, your way, no exceptions" |
45 |
+HOMEPAGE="https://audacious-media-player.org/" |
46 |
+ |
47 |
+if [[ ${PV} == *9999 ]]; then |
48 |
+ inherit autotools git-r3 |
49 |
+ EGIT_REPO_URI="https://github.com/audacious-media-player/audacious.git" |
50 |
+else |
51 |
+ SRC_URI=" |
52 |
+ !gtk3? ( https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2 ) |
53 |
+ gtk3? ( https://distfiles.audacious-media-player.org/${MY_P}-gtk3.tar.bz2 )" |
54 |
+ KEYWORDS="~amd64 ~x86" |
55 |
+fi |
56 |
+ |
57 |
+SRC_URI+=" mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2" |
58 |
+ |
59 |
+LICENSE="BSD-2" |
60 |
+SLOT="0" |
61 |
+IUSE="gtk gtk3 nls qt5" |
62 |
+REQUIRED_USE="^^ ( gtk gtk3 qt5 )" |
63 |
+ |
64 |
+RDEPEND=" |
65 |
+ >=dev-libs/dbus-glib-0.60 |
66 |
+ >=dev-libs/glib-2.28 |
67 |
+ >=x11-libs/cairo-1.2.6 |
68 |
+ >=x11-libs/pango-1.8.0 |
69 |
+ virtual/freedesktop-icon-theme |
70 |
+ gtk? ( x11-libs/gtk+:2 ) |
71 |
+ gtk3? ( x11-libs/gtk+:3 ) |
72 |
+ qt5? ( |
73 |
+ dev-qt/qtcore:5 |
74 |
+ dev-qt/qtgui:5 |
75 |
+ dev-qt/qtwidgets:5 |
76 |
+ )" |
77 |
+DEPEND="${RDEPEND} |
78 |
+ virtual/pkgconfig |
79 |
+ nls? ( dev-util/intltool )" |
80 |
+PDEPEND="~media-plugins/audacious-plugins-${PV}" |
81 |
+ |
82 |
+src_unpack() { |
83 |
+ default |
84 |
+ if use gtk3; then |
85 |
+ mv "${MY_P}"{-gtk3,} || die |
86 |
+ fi |
87 |
+ [[ ${PV} == *9999 ]] && git-r3_src_unpack |
88 |
+} |
89 |
+ |
90 |
+src_prepare() { |
91 |
+ default |
92 |
+ [[ ${PV} == *9999 ]] && eautoreconf |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ # D-Bus is a mandatory dependency, remote control, |
97 |
+ # session management and some plugins depend on this. |
98 |
+ # Building without D-Bus is *unsupported* and a USE-flag |
99 |
+ # will not be added due to the bug reports that will result. |
100 |
+ # Bugs #197894, #199069, #207330, #208606 |
101 |
+ econf \ |
102 |
+ --disable-valgrind \ |
103 |
+ --enable-dbus \ |
104 |
+ $(use_enable $(usex gtk gtk gtk3) gtk) \ |
105 |
+ $(use_enable nls) \ |
106 |
+ $(use_enable qt5 qt) |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ default |
111 |
+ |
112 |
+ # Gentoo_ice skin installation; bug #109772 |
113 |
+ insinto /usr/share/audacious/Skins/gentoo_ice |
114 |
+ doins -r "${WORKDIR}"/gentoo_ice/. |
115 |
+ docinto gentoo_ice |
116 |
+ dodoc "${WORKDIR}"/README |
117 |
+} |
118 |
+ |
119 |
+pkg_postinst() { |
120 |
+ xdg_desktop_database_update |
121 |
+ gnome2_icon_cache_update |
122 |
+} |
123 |
+ |
124 |
+pkg_postrm() { |
125 |
+ xdg_desktop_database_update |
126 |
+ gnome2_icon_cache_update |
127 |
+} |
128 |
|
129 |
diff --git a/media-sound/audacious/metadata.xml b/media-sound/audacious/metadata.xml |
130 |
index 56e2b754081..503c619ac00 100644 |
131 |
--- a/media-sound/audacious/metadata.xml |
132 |
+++ b/media-sound/audacious/metadata.xml |
133 |
@@ -10,6 +10,7 @@ |
134 |
<name>Gentoo Sound project</name> |
135 |
</maintainer> |
136 |
<use> |
137 |
+ <flag name="gtk3">Link against version 3 of the GIMP Toolkit instead of version 2 (x11-libs/gtk+)</flag> |
138 |
<flag name="qt5">Build with Qt5 interface instead Gtk+</flag> |
139 |
</use> |
140 |
</pkgmetadata> |