Gentoo Archives: gentoo-commits

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