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, 13 Dec 2018 00:32:56
Message-Id: 1544661160.57c38adc1a497abc504c4d48d1518a045be1acda.asturm@gentoo
1 commit: 57c38adc1a497abc504c4d48d1518a045be1acda
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 25 01:12:26 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=57c38adc
7
8 media-plugins/audacious-plugins: 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 .../audacious-plugins-3.9-r2.ebuild | 147 +++++++++++++++++++++
15 1 file changed, 147 insertions(+)
16
17 diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.9-r2.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.9-r2.ebuild
18 new file mode 100644
19 index 00000000000..1c297c5c68a
20 --- /dev/null
21 +++ b/media-plugins/audacious-plugins/audacious-plugins-3.9-r2.ebuild
22 @@ -0,0 +1,147 @@
23 +# Copyright 1999-2018 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +DESCRIPTION="Lightweight and versatile audio player"
29 +HOMEPAGE="https://audacious-media-player.org/"
30 +SRC_URI="https://distfiles.audacious-media-player.org/${P}-gtk3.tar.bz2"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~x86"
35 +IUSE="aac +alsa bs2b cdda cue ffmpeg flac fluidsynth gnome http gme jack lame libav libnotify libsamplerate
36 + lirc mms modplug mp3 nls pulseaudio scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
37 +REQUIRED_USE="|| ( alsa jack pulseaudio sdl )"
38 +
39 +# The following plugins REQUIRE a GUI build of audacious, because non-GUI
40 +# builds do NOT install the libaudgui library & headers.
41 +# Plugins without a configure option:
42 +# alarm
43 +# albumart
44 +# delete-files
45 +# ladspa
46 +# playlist-manager
47 +# search-tool
48 +# skins
49 +# vtx
50 +# Plugins with a configure option:
51 +# glspectrum
52 +# gtkui
53 +# hotkey
54 +# notify
55 +# statusicon
56 +RDEPEND="
57 + app-arch/unzip
58 + dev-libs/dbus-glib
59 + dev-libs/glib
60 + dev-libs/libxml2:2
61 + media-libs/adplug
62 + ~media-sound/audacious-${PV}
63 + x11-libs/gtk+:3
64 + x11-libs/libXcomposite
65 + x11-libs/libXrender
66 + aac? ( >=media-libs/faad2-2.7 )
67 + alsa? ( >=media-libs/alsa-lib-1.0.16 )
68 + bs2b? ( media-libs/libbs2b )
69 + cdda? (
70 + dev-libs/libcdio:=
71 + dev-libs/libcdio-paranoia
72 + >=media-libs/libcddb-1.2.1
73 + )
74 + cue? ( media-libs/libcue )
75 + ffmpeg? ( >=virtual/ffmpeg-0.7.3 )
76 + flac? (
77 + >=media-libs/flac-1.2.1-r1
78 + >=media-libs/libvorbis-1.0
79 + )
80 + fluidsynth? ( media-sound/fluidsynth )
81 + http? ( >=net-libs/neon-0.26.4 )
82 + jack? (
83 + >=media-libs/bio2jack-0.4
84 + virtual/jack
85 + )
86 + lame? ( media-sound/lame )
87 + libnotify? ( x11-libs/libnotify )
88 + libsamplerate? ( media-libs/libsamplerate:= )
89 + lirc? ( app-misc/lirc )
90 + mms? ( >=media-libs/libmms-0.3 )
91 + modplug? ( media-libs/libmodplug )
92 + mp3? ( >=media-sound/mpg123-1.12.1 )
93 + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
94 + scrobbler? ( net-misc/curl )
95 + sdl? ( media-libs/libsdl2[sound] )
96 + sid? ( >=media-libs/libsidplayfp-1.0.0 )
97 + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
98 + soxr? ( media-libs/soxr )
99 + speedpitch? ( media-libs/libsamplerate:= )
100 + vorbis? (
101 + >=media-libs/libogg-1.1.3
102 + >=media-libs/libvorbis-1.2.0
103 + )
104 + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )
105 +"
106 +DEPEND="${RDEPEND}
107 + dev-util/gdbus-codegen
108 + virtual/pkgconfig
109 + nls? ( dev-util/intltool )
110 +"
111 +
112 +S="${WORKDIR}/${P}-gtk3"
113 +
114 +src_prepare() {
115 + default
116 + if ! use nls; then
117 + sed -e "/SUBDIRS/s/ po//" -i Makefile || die # bug #512698
118 + fi
119 +}
120 +
121 +src_configure() {
122 + use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
123 +
124 + local myeconfargs=(
125 + --enable-aosd
126 + --enable-gtk
127 + --enable-hotkey
128 + --enable-mpris2
129 + --enable-songchange
130 + --disable-ampache
131 + --disable-oss4
132 + --disable-qt
133 + --disable-qtaudio
134 + --disable-qtglspectrum
135 + --disable-coreaudio
136 + --disable-sndio
137 + $(use_enable aac)
138 + $(use_enable alsa)
139 + $(use_enable bs2b)
140 + $(use_enable cdda cdaudio)
141 + $(use_enable cue)
142 + $(use_enable flac)
143 + $(use_enable flac filewriter)
144 + $(use_enable fluidsynth amidiplug)
145 + $(use_enable gme console)
146 + $(use_enable http neon)
147 + $(use_enable jack)
148 + $(use_enable gnome gnomeshortcuts)
149 + $(use_enable lame filewriter_mp3)
150 + $(use_enable libnotify notify)
151 + $(use_enable libsamplerate resample)
152 + $(use_enable lirc)
153 + $(use_enable mms)
154 + $(use_enable modplug)
155 + $(use_enable mp3 mpg123)
156 + $(use_enable nls)
157 + $(use_enable pulseaudio pulse)
158 + $(use_enable scrobbler scrobbler2)
159 + $(use_enable sdl sdlout)
160 + $(use_enable sid)
161 + $(use_enable sndfile)
162 + $(use_enable soxr)
163 + $(use_enable speedpitch)
164 + $(use_enable vorbis)
165 + $(use_enable wavpack)
166 + $(use_with ffmpeg ffmpeg $(usex libav libav ffmpeg))
167 + )
168 + econf "${myeconfargs[@]}"
169 +}