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: Thu, 30 Apr 2020 20:03:11
Message-Id: 1588276976.a11d4198235deeb6ac5f917b7b426412a39c7607.asturm@gentoo
1 commit: a11d4198235deeb6ac5f917b7b426412a39c7607
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 19:56:08 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 20:02:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11d4198
7
8 media-plugins/audacious-plugins: 4.0.3 version bump
9
10 Package-Manager: Portage-2.3.99, 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.3.ebuild | 166 +++++++++++++++++++++
15 2 files changed, 167 insertions(+)
16
17 diff --git a/media-plugins/audacious-plugins/Manifest b/media-plugins/audacious-plugins/Manifest
18 index cf8fadc2da9..64b9474664e 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.2.tar.bz2 1752042 BLAKE2B 73a7c72517e1f897885d0d73797e0b47fe4c25625f317dd6ea6179de997d10f2e6b829bc35411794c1b526eb671e07220bc7056214668d2cd5b53d2e754a7041 SHA512 0d3aa46f6ad75e6d541de7b7f24de2cc169a8856c5a204688231b6233131a1ce55feb9bb126eed89d05a8ee21e3a441449a1e11fd20b4fc10724afebb4318118
24 +DIST audacious-plugins-4.0.3.tar.bz2 1759123 BLAKE2B 7a389a1d8f1bc17ce53e4e8c2560291c00b305ca0988f7ee27ce8a15d4be200d380a3525d43d1c04f6de9d7653f73c91721ba985801dc49dfa64b56309145f9b SHA512 6aaf9ca1d70e211e779baa65de844118f2e3c5ecef2ce6342429748e64437ddc67286ea286fbd7b0282304747dab31972f73ccb0aa312968c19d832ac0e0a6fc
25
26 diff --git a/media-plugins/audacious-plugins/audacious-plugins-4.0.3.ebuild b/media-plugins/audacious-plugins/audacious-plugins-4.0.3.ebuild
27 new file mode 100644
28 index 00000000000..a911f9f7c86
29 --- /dev/null
30 +++ b/media-plugins/audacious-plugins/audacious-plugins-4.0.3.ebuild
31 @@ -0,0 +1,166 @@
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
52 + lame libav libnotify libsamplerate lirc mms modplug mp3 nls opengl
53 + pulseaudio qtmedia scrobbler sdl sid sndfile soxr speedpitch streamtuner
54 + vorbis wavpack"
55 +REQUIRED_USE="
56 + || ( alsa jack pulseaudio qtmedia sdl )
57 + ampache? ( http ) streamtuner? ( http )"
58 +
59 +# The following plugins REQUIRE a GUI build of audacious, because non-GUI
60 +# builds do NOT install the libaudgui library & headers.
61 +# Plugins without a configure option:
62 +# alarm
63 +# albumart
64 +# delete-files
65 +# ladspa
66 +# playlist-manager
67 +# search-tool
68 +# skins
69 +# vtx
70 +# Plugins with a configure option:
71 +# glspectrum
72 +# gtkui
73 +# hotkey
74 +# notify
75 +# statusicon
76 +BDEPEND="
77 + dev-util/gdbus-codegen
78 + virtual/pkgconfig
79 + nls? ( dev-util/intltool )
80 +"
81 +DEPEND="
82 + app-arch/unzip
83 + dev-libs/dbus-glib
84 + dev-libs/glib
85 + dev-libs/libxml2:2
86 + dev-qt/qtcore:5
87 + dev-qt/qtgui:5
88 + dev-qt/qtwidgets:5
89 + ~media-sound/audacious-${PV}
90 + aac? ( >=media-libs/faad2-2.7 )
91 + alsa? ( >=media-libs/alsa-lib-1.0.16 )
92 + ampache? ( =media-libs/ampache_browser-1* )
93 + bs2b? ( media-libs/libbs2b )
94 + cdda? (
95 + dev-libs/libcdio:=
96 + dev-libs/libcdio-paranoia:=
97 + >=media-libs/libcddb-1.2.1
98 + )
99 + cue? ( media-libs/libcue:= )
100 + ffmpeg? ( >=media-video/ffmpeg-0.7.3 )
101 + flac? (
102 + >=media-libs/flac-1.2.1-r1
103 + >=media-libs/libvorbis-1.0
104 + )
105 + fluidsynth? ( media-sound/fluidsynth:= )
106 + http? ( >=net-libs/neon-0.26.4 )
107 + jack? (
108 + >=media-libs/bio2jack-0.4
109 + virtual/jack
110 + )
111 + lame? ( media-sound/lame )
112 + libnotify? ( x11-libs/libnotify )
113 + libsamplerate? ( media-libs/libsamplerate:= )
114 + lirc? ( app-misc/lirc )
115 + mms? ( >=media-libs/libmms-0.3 )
116 + modplug? ( media-libs/libmodplug )
117 + mp3? ( >=media-sound/mpg123-1.12.1 )
118 + opengl? ( dev-qt/qtopengl:5 )
119 + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
120 + qtmedia? ( dev-qt/qtmultimedia:5 )
121 + scrobbler? ( net-misc/curl )
122 + sdl? ( media-libs/libsdl2[sound] )
123 + sid? ( >=media-libs/libsidplayfp-1.0.0 )
124 + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
125 + soxr? ( media-libs/soxr )
126 + speedpitch? ( media-libs/libsamplerate:= )
127 + streamtuner? ( dev-qt/qtnetwork:5 )
128 + vorbis? (
129 + >=media-libs/libogg-1.1.3
130 + >=media-libs/libvorbis-1.2.0
131 + )
132 + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )
133 +"
134 +RDEPEND="${DEPEND}"
135 +
136 +S="${WORKDIR}/${MY_P}"
137 +
138 +pkg_setup() {
139 + use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
140 +}
141 +
142 +src_prepare() {
143 + default
144 + if ! use nls; then
145 + sed -e "/SUBDIRS/s/ po//" -i Makefile || die # bug #512698
146 + fi
147 + [[ ${PV} == *9999 ]] && eautoreconf
148 +}
149 +
150 +src_configure() {
151 + local myeconfargs=(
152 + --enable-mpris2
153 + --enable-qt
154 + --enable-songchange
155 + --disable-adplug # not packaged
156 + --disable-gtk
157 + --disable-openmpt # not packaged
158 + --disable-oss4
159 + --disable-coreaudio
160 + --disable-sndio
161 + $(use_enable aac)
162 + $(use_enable alsa)
163 + $(use_enable ampache)
164 + $(use_enable bs2b)
165 + $(use_enable cdda cdaudio)
166 + $(use_enable cue)
167 + $(use_enable flac)
168 + $(use_enable flac filewriter)
169 + $(use_enable fluidsynth amidiplug)
170 + $(use_enable gme console)
171 + $(use_enable http neon)
172 + $(use_enable jack)
173 + $(use_enable lame filewriter_mp3)
174 + $(use_enable libnotify notify)
175 + $(use_enable libsamplerate resample)
176 + $(use_enable lirc)
177 + $(use_enable mms)
178 + $(use_enable modplug)
179 + $(use_enable mp3 mpg123)
180 + $(use_enable nls)
181 + $(use_enable opengl qtglspectrum)
182 + $(use_enable pulseaudio pulse)
183 + $(use_enable qtmedia qtaudio)
184 + $(use_enable scrobbler scrobbler2)
185 + $(use_enable sdl sdlout)
186 + $(use_enable sid)
187 + $(use_enable sndfile)
188 + $(use_enable soxr)
189 + $(use_enable speedpitch)
190 + $(use_enable streamtuner)
191 + $(use_enable vorbis)
192 + $(use_enable wavpack)
193 + $(use_with ffmpeg ffmpeg $(usex libav libav ffmpeg))
194 + )
195 +
196 + econf "${myeconfargs[@]}"
197 +}