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