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-plugins/audacious-plugins/
Date: Tue, 02 Jun 2020 11:27:05
Message-Id: 1591097201.da77f0cb61e36745e10568ff759d92ceda517293.asturm@gentoo
1 commit: da77f0cb61e36745e10568ff759d92ceda517293
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 2 09:56:00 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=da77f0cb
7
8 media-plugins/audacious-plugins: 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-plugins/audacious-plugins/Manifest | 1 +
14 .../audacious-plugins-4.0.4.ebuild | 165 +++++++++++++++++++++
15 2 files changed, 166 insertions(+)
16
17 diff --git a/media-plugins/audacious-plugins/Manifest b/media-plugins/audacious-plugins/Manifest
18 index e94486fe61e..24ad2ffb45a 100644
19 --- a/media-plugins/audacious-plugins/Manifest
20 +++ b/media-plugins/audacious-plugins/Manifest
21 @@ -1,2 +1,3 @@
22 DIST audacious-plugins-3.10.1.tar.bz2 1715477 BLAKE2B fda3940e6c06aadd93a3e1538be747083fcc969cf3118cf3e942787906b9ee0a13bd3c30d15ba19cb713559cdf8f7b71d7b961173b1619f0aafbdea5deb75ac3 SHA512 454e9ce4061e92a0ecda40f562d4cc7453fc0019fd76b25dbe9e319319fa37c22f9785cb29563e8074de8a88e6130106aca1e431790297e1b4636dc974fde565
23 DIST audacious-plugins-4.0.3.tar.bz2 1759123 BLAKE2B 7a389a1d8f1bc17ce53e4e8c2560291c00b305ca0988f7ee27ce8a15d4be200d380a3525d43d1c04f6de9d7653f73c91721ba985801dc49dfa64b56309145f9b SHA512 6aaf9ca1d70e211e779baa65de844118f2e3c5ecef2ce6342429748e64437ddc67286ea286fbd7b0282304747dab31972f73ccb0aa312968c19d832ac0e0a6fc
24 +DIST audacious-plugins-4.0.4.tar.bz2 1761281 BLAKE2B 36f77d19e2cac461cd5649589bc4cb19a76577c30d5de4015688da5bf21efe1c835e1160534bc377e9a6f495fc9c2650544cc6c7bafac61c2f7187991a4d7935 SHA512 d0b435658f5aff9318e521e85d335444e089f80a267c2b9391123365b1c95b535bfa668ea772d9c437ad2611288ec7961a2ecf1d8cf8687f3b32a3cb1e14ddf8
25
26 diff --git a/media-plugins/audacious-plugins/audacious-plugins-4.0.4.ebuild b/media-plugins/audacious-plugins/audacious-plugins-4.0.4.ebuild
27 new file mode 100644
28 index 00000000000..32544b9a66f
29 --- /dev/null
30 +++ b/media-plugins/audacious-plugins/audacious-plugins-4.0.4.ebuild
31 @@ -0,0 +1,165 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +MY_P="${P/_/-}"
38 +
39 +if [[ ${PV} == *9999 ]]; then
40 + inherit autotools git-r3
41 + EGIT_REPO_URI="https://github.com/audacious-media-player/audacious-plugins.git"
42 +else
43 + SRC_URI="https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2"
44 + KEYWORDS="~amd64 ~x86"
45 +fi
46 +DESCRIPTION="Lightweight and versatile audio player"
47 +HOMEPAGE="https://audacious-media-player.org/"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +IUSE="aac +alsa ampache bs2b cdda cue ffmpeg flac fluidsynth gme http jack lame
52 + libnotify libsamplerate lirc mms modplug mp3 nls opengl pulseaudio qtmedia
53 + scrobbler sdl sid sndfile soxr speedpitch streamtuner vorbis wavpack"
54 +REQUIRED_USE="
55 + || ( alsa jack pulseaudio qtmedia sdl )
56 + ampache? ( http ) streamtuner? ( http )"
57 +
58 +# The following plugins REQUIRE a GUI build of audacious, because non-GUI
59 +# builds do NOT install the libaudgui library & headers.
60 +# Plugins without a configure option:
61 +# alarm
62 +# albumart
63 +# delete-files
64 +# ladspa
65 +# playlist-manager
66 +# search-tool
67 +# skins
68 +# vtx
69 +# Plugins with a configure option:
70 +# glspectrum
71 +# gtkui
72 +# hotkey
73 +# notify
74 +# statusicon
75 +BDEPEND="
76 + dev-util/gdbus-codegen
77 + virtual/pkgconfig
78 + nls? ( dev-util/intltool )
79 +"
80 +DEPEND="
81 + app-arch/unzip
82 + dev-libs/dbus-glib
83 + dev-libs/glib
84 + dev-libs/libxml2:2
85 + dev-qt/qtcore:5
86 + dev-qt/qtgui:5
87 + dev-qt/qtwidgets:5
88 + ~media-sound/audacious-${PV}
89 + aac? ( >=media-libs/faad2-2.7 )
90 + alsa? ( >=media-libs/alsa-lib-1.0.16 )
91 + ampache? ( =media-libs/ampache_browser-1* )
92 + bs2b? ( media-libs/libbs2b )
93 + cdda? (
94 + dev-libs/libcdio:=
95 + dev-libs/libcdio-paranoia:=
96 + >=media-libs/libcddb-1.2.1
97 + )
98 + cue? ( media-libs/libcue:= )
99 + ffmpeg? ( >=media-video/ffmpeg-0.7.3 )
100 + flac? (
101 + >=media-libs/flac-1.2.1-r1
102 + >=media-libs/libvorbis-1.0
103 + )
104 + fluidsynth? ( media-sound/fluidsynth:= )
105 + http? ( >=net-libs/neon-0.26.4 )
106 + jack? (
107 + >=media-libs/bio2jack-0.4
108 + virtual/jack
109 + )
110 + lame? ( media-sound/lame )
111 + libnotify? ( x11-libs/libnotify )
112 + libsamplerate? ( media-libs/libsamplerate:= )
113 + lirc? ( app-misc/lirc )
114 + mms? ( >=media-libs/libmms-0.3 )
115 + modplug? ( media-libs/libmodplug )
116 + mp3? ( >=media-sound/mpg123-1.12.1 )
117 + opengl? ( dev-qt/qtopengl:5 )
118 + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
119 + qtmedia? ( dev-qt/qtmultimedia:5 )
120 + scrobbler? ( net-misc/curl )
121 + sdl? ( media-libs/libsdl2[sound] )
122 + sid? ( >=media-libs/libsidplayfp-1.0.0 )
123 + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
124 + soxr? ( media-libs/soxr )
125 + speedpitch? ( media-libs/libsamplerate:= )
126 + streamtuner? ( dev-qt/qtnetwork:5 )
127 + vorbis? (
128 + >=media-libs/libogg-1.1.3
129 + >=media-libs/libvorbis-1.2.0
130 + )
131 + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )
132 +"
133 +RDEPEND="${DEPEND}"
134 +
135 +S="${WORKDIR}/${MY_P}"
136 +
137 +pkg_setup() {
138 + use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
139 +}
140 +
141 +src_prepare() {
142 + default
143 + if ! use nls; then
144 + sed -e "/SUBDIRS/s/ po//" -i Makefile || die # bug #512698
145 + fi
146 + [[ ${PV} == *9999 ]] && eautoreconf
147 +}
148 +
149 +src_configure() {
150 + local myeconfargs=(
151 + --enable-mpris2
152 + --enable-qt
153 + --enable-songchange
154 + --disable-adplug # not packaged
155 + --disable-gtk
156 + --disable-openmpt # not packaged
157 + --disable-oss4
158 + --disable-coreaudio
159 + --disable-sndio
160 + $(use_enable aac)
161 + $(use_enable alsa)
162 + $(use_enable ampache)
163 + $(use_enable bs2b)
164 + $(use_enable cdda cdaudio)
165 + $(use_enable cue)
166 + $(use_enable flac)
167 + $(use_enable flac filewriter)
168 + $(use_enable fluidsynth amidiplug)
169 + $(use_enable gme console)
170 + $(use_enable http neon)
171 + $(use_enable jack)
172 + $(use_enable lame filewriter_mp3)
173 + $(use_enable libnotify notify)
174 + $(use_enable libsamplerate resample)
175 + $(use_enable lirc)
176 + $(use_enable mms)
177 + $(use_enable modplug)
178 + $(use_enable mp3 mpg123)
179 + $(use_enable nls)
180 + $(use_enable opengl qtglspectrum)
181 + $(use_enable pulseaudio pulse)
182 + $(use_enable qtmedia qtaudio)
183 + $(use_enable scrobbler scrobbler2)
184 + $(use_enable sdl sdlout)
185 + $(use_enable sid)
186 + $(use_enable sndfile)
187 + $(use_enable soxr)
188 + $(use_enable speedpitch)
189 + $(use_enable streamtuner)
190 + $(use_enable vorbis)
191 + $(use_enable wavpack)
192 + $(use_with ffmpeg ffmpeg ffmpeg)
193 + )
194 +
195 + econf "${myeconfargs[@]}"
196 +}