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: Fri, 15 Nov 2019 00:36:47
Message-Id: 1573778156.a2405e64e50c4914150b77022fa428444df9ef14.asturm@gentoo
1 commit: a2405e64e50c4914150b77022fa428444df9ef14
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 15 00:03:32 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 15 00:35:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2405e64
7
8 media-plugins/audacious-plugins: 4.0_beta1 version bump
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.18
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-plugins/audacious-plugins/Manifest | 1 +
14 .../audacious-plugins-4.0_beta1.ebuild | 164 +++++++++++++++++++++
15 2 files changed, 165 insertions(+)
16
17 diff --git a/media-plugins/audacious-plugins/Manifest b/media-plugins/audacious-plugins/Manifest
18 index 4be89181fe8..a41ee5793eb 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-3.9-gtk3.tar.bz2 1842950 BLAKE2B 55f373be204a9b4c9cff41d41d43c4776f680ab203643e90e5d338bec2e7f8a4c60cda9caa08e461089a475f3ec1bc237538f781718eb0d26a4365743337e977 SHA512 e2529af761bc97e589cac08689b16db657096b1bbfcc802789726ae1b472746025bec1b492de52eef755d7b50574d09b9250761bf701b1ca37f8a0e8db0f207b
24 +DIST audacious-plugins-4.0-beta1.tar.bz2 1731865 BLAKE2B 0187137f25b19f672fe580c13ab0050d1968fc95886fa66e42a83ff674e37463f19fc29a0603afc1a0f25b54ae535b12089c44b6c7a45f23022dc71f5a366062 SHA512 4d365967478c926db3c71b68b8c4bf0333da551f1581b01f860d0846162d6f6d1564a9fc627ce3cfcea4e47c02133dbd37407dedc283d9945e60c4f472e9dd41
25
26 diff --git a/media-plugins/audacious-plugins/audacious-plugins-4.0_beta1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-4.0_beta1.ebuild
27 new file mode 100644
28 index 00000000000..32c55d7cc51
29 --- /dev/null
30 +++ b/media-plugins/audacious-plugins/audacious-plugins-4.0_beta1.ebuild
31 @@ -0,0 +1,164 @@
32 +# Copyright 1999-2019 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 adplug +alsa ampache bs2b cdda cue ffmpeg flac fluidsynth http gme
52 + jack lame libav libnotify libsamplerate lirc mms modplug mp3 nls opengl
53 + pulseaudio qtmedia scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
54 +REQUIRED_USE="
55 + || ( alsa jack pulseaudio qtmedia sdl )
56 + ampache? ( 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 + adplug? ( media-libs/adplug )
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? ( >=virtual/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 + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
119 + opengl? ( dev-qt/qtopengl:5 )
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 + 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-gtk
155 + --disable-openmpt # not packaged
156 + --disable-oss4
157 + --disable-coreaudio
158 + --disable-sndio
159 + $(use_enable aac)
160 + $(use_enable adplug)
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 vorbis)
190 + $(use_enable wavpack)
191 + $(use_with ffmpeg ffmpeg $(usex libav libav ffmpeg))
192 + )
193 +
194 + econf "${myeconfargs[@]}"
195 +}