1 |
commit: 0ccd0346116f1dd8e2998e6c12c0195339302639 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 21 22:51:39 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 28 18:56:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ccd0346 |
7 |
|
8 |
media-sound/audacious: Drop qt5 from 3.10; gtk2-only |
9 |
|
10 |
Package-Manager: Portage-2.3.94, Repoman-2.3.21 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-sound/audacious/audacious-3.10.1-r1.ebuild | 77 ++++++++++++++++++++++++ |
14 |
1 file changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/media-sound/audacious/audacious-3.10.1-r1.ebuild b/media-sound/audacious/audacious-3.10.1-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..14d88ac879a |
19 |
--- /dev/null |
20 |
+++ b/media-sound/audacious/audacious-3.10.1-r1.ebuild |
21 |
@@ -0,0 +1,77 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+MY_P="${P/_/-}" |
28 |
+ |
29 |
+if [[ ${PV} == *9999 ]]; then |
30 |
+ inherit autotools git-r3 |
31 |
+ EGIT_REPO_URI="https://github.com/audacious-media-player/audacious.git" |
32 |
+else |
33 |
+ SRC_URI="https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2" |
34 |
+ KEYWORDS="amd64 x86" |
35 |
+fi |
36 |
+inherit xdg |
37 |
+ |
38 |
+DESCRIPTION="Lightweight and versatile audio player" |
39 |
+HOMEPAGE="https://audacious-media-player.org/" |
40 |
+SRC_URI+=" mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2" |
41 |
+ |
42 |
+LICENSE="BSD-2" |
43 |
+SLOT="0" |
44 |
+IUSE="nls" |
45 |
+ |
46 |
+BDEPEND=" |
47 |
+ virtual/pkgconfig |
48 |
+ nls? ( dev-util/intltool ) |
49 |
+" |
50 |
+DEPEND=" |
51 |
+ >=dev-libs/dbus-glib-0.60 |
52 |
+ >=dev-libs/glib-2.28 |
53 |
+ >=x11-libs/cairo-1.2.6 |
54 |
+ x11-libs/gtk+:2 |
55 |
+ >=x11-libs/pango-1.8.0 |
56 |
+ virtual/freedesktop-icon-theme |
57 |
+" |
58 |
+RDEPEND="${DEPEND}" |
59 |
+PDEPEND="~media-plugins/audacious-plugins-${PV}" |
60 |
+ |
61 |
+S="${WORKDIR}/${MY_P}" |
62 |
+ |
63 |
+src_unpack() { |
64 |
+ default |
65 |
+ [[ ${PV} == *9999 ]] && git-r3_src_unpack |
66 |
+} |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ if ! use nls; then |
71 |
+ sed -e "/SUBDIRS/s/ po//" -i Makefile || die # bug #512698 |
72 |
+ fi |
73 |
+ [[ ${PV} == *9999 ]] && eautoreconf |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ # D-Bus is a mandatory dependency, remote control, |
78 |
+ # session management and some plugins depend on this. |
79 |
+ # Building without D-Bus is *unsupported* and a USE-flag |
80 |
+ # will not be added due to the bug reports that will result. |
81 |
+ # Bugs #197894, #199069, #207330, #208606 |
82 |
+ econf \ |
83 |
+ --disable-valgrind \ |
84 |
+ --enable-dbus \ |
85 |
+ --enable-gtk \ |
86 |
+ --disable-qt \ |
87 |
+ $(use_enable nls) |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ default |
92 |
+ |
93 |
+ # Gentoo_ice skin installation; bug #109772 |
94 |
+ insinto /usr/share/audacious/Skins/gentoo_ice |
95 |
+ doins -r "${WORKDIR}"/gentoo_ice/. |
96 |
+ docinto gentoo_ice |
97 |
+ dodoc "${WORKDIR}"/README |
98 |
+} |