Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/qsynth/
Date: Mon, 26 Sep 2016 15:03:19
Message-Id: 1474902188.5426a0845e1c98bfcea94cad414fe12d433a1b02.aballier@gentoo
1 commit: 5426a0845e1c98bfcea94cad414fe12d433a1b02
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 12:42:53 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 15:03:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5426a084
7
8 media-sound/qsynth: remove old
9
10 Package-Manager: portage-2.3.1
11
12 media-sound/qsynth/Manifest | 3 --
13 media-sound/qsynth/qsynth-0.3.6.ebuild | 83 ----------------------------------
14 media-sound/qsynth/qsynth-0.4.0.ebuild | 76 -------------------------------
15 media-sound/qsynth/qsynth-0.4.1.ebuild | 76 -------------------------------
16 4 files changed, 238 deletions(-)
17
18 diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest
19 index ef1b6ce..169b02d 100644
20 --- a/media-sound/qsynth/Manifest
21 +++ b/media-sound/qsynth/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST qsynth-0.3.6.tar.gz 223774 SHA256 b5968da98661bac5c9fcc93d3a15851594dfbf3bb7d01ace15fbe8779d53fb3c SHA512 c61f6913f28a18a8e74af290560c0f8862e86c192715299fd24e73243a3563c1d65bebf6ab8844c692b06bf357f6bf42d43ef5298d74636fe7c4c082aea3eeea WHIRLPOOL 0e3c6aaab8a4ed9a77baca128f4661c4dfd82d089b636d3ce97a95ce4a303ba745f5023447bd1d5477aeda4bad5b64923f69e3aa1d5a1e435b5efb7906829483
24 DIST qsynth-0.3.9.tar.gz 255130 SHA256 eb2050d0f7a8011b9ac20f82fec88faf2237a2475dfefc424cb4944399b17e22 SHA512 7702dc9eb3d38d338dcab5587e02e9fcdaffbe6188437e3b0f54b07499553f7a7d083f233cd21963a908578108f82c0d904b68da2f156ca0ab489e989b5787a8 WHIRLPOOL 621b53fbf251e4b35dcdefb6b63e6ed124fc12dccad6148f077914bd25931cc8ea10a8dfb959b5ad4ae8a451686c63dedeb060b8a68d7a3d6e72e2d5c437104a
25 -DIST qsynth-0.4.0.tar.gz 251230 SHA256 9dc8413ddc6847a2dd0bfb3b44e0246273531ea253fd9dc91c5c329876420cb2 SHA512 13d8cda192ae09a3e48768df11d2df7ccace59a495f18bd99d6b7009c51eb43b3d6df97e81391e9c098c6fdc0396434bf178302edb016bdba69d6aa4d790a831 WHIRLPOOL 8f5873874018e538767ea44bf8752adc11e5e993a26b71beb0b54a3739d2ed9b5fed042f9af1925d45b9fdc6fed74ecebdd19164ab2d9cdc5d43831aeda1f503
26 -DIST qsynth-0.4.1.tar.gz 251821 SHA256 50f4e36e0c5a7e092429e1cafbd8989346127b8b0c0868566addcacc5735970c SHA512 0a4e2dacc9116a9c52a50af39f0838a0c97d0e2f0ba75f8c3f07a219810299c5dd650ad7cd5ba337e497f83537b7cb94a181c9e3a5ba641febe1a0179d6c8620 WHIRLPOOL 044811f6a2966cfccd613da8db16d8caa46599d61fbdf8124d94c57d25b796155fa76261cb3bed7fbb49f8cd7d4eaaa9bb1e2966db97236be61f98121f43c453
27 DIST qsynth-0.4.2.tar.gz 252394 SHA256 25a59769e20a5af971f197f4be7233cedbbfa7c7a7ee54c9f49b6b4a8e4ef8f2 SHA512 d951969b6a4ea185b9c732867559000e91e73b69fcd19974d406516ce79c0040b598ee578cc10aa2ed199f652535e061fe8178c8b37651438e605a0bc3ee674e WHIRLPOOL a95a7ec9ecac41962e9b81dfa10f18df962ad3a6046fccf5b7073a17f05802568bacc37252b4fbb05c41a038fcf3047d57eb178a8a524f5e5a3019ec47f3deb7
28
29 diff --git a/media-sound/qsynth/qsynth-0.3.6.ebuild b/media-sound/qsynth/qsynth-0.3.6.ebuild
30 deleted file mode 100644
31 index 034eb33..00000000
32 --- a/media-sound/qsynth/qsynth-0.3.6.ebuild
33 +++ /dev/null
34 @@ -1,83 +0,0 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Id$
38 -
39 -EAPI=4
40 -LANGS="cs de es ru"
41 -
42 -inherit qt4-r2 eutils flag-o-matic
43 -
44 -DESCRIPTION="A Qt application to control FluidSynth"
45 -HOMEPAGE="http://qsynth.sourceforge.net/"
46 -SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -IUSE="debug jack alsa pulseaudio"
51 -KEYWORDS="amd64 ppc x86"
52 -
53 -DEPEND=">=dev-qt/qtcore-4.2:4
54 - >=dev-qt/qtgui-4.2:4
55 - >=media-sound/fluidsynth-1.0.7a[jack?,alsa?,pulseaudio?]
56 - x11-libs/libX11"
57 -RDEPEND="${DEPEND}"
58 -
59 -REQUIRED_USE="|| ( alsa jack pulseaudio )"
60 -
61 -DOCS="AUTHORS ChangeLog README TODO TRANSLATORS"
62 -
63 -src_prepare() {
64 - sed -e '/@install/,/share\/locale$/d' -i Makefile.in || die "sed translations failed"
65 -
66 - sed -e 's/@make/@\$(MAKE)/' -i Makefile.in || die "sed Makefile failed"
67 -
68 - qt4-r2_src_prepare
69 -}
70 -
71 -src_configure() {
72 - # Stupidly, qsynth's configure does *not* use pkg-config to
73 - # discover the presence of Qt4, but uses fixed paths; as they
74 - # don't really work that well for our case, let's just use this
75 - # nasty hack and be done with it. *NOTE*: this hinders
76 - # cross-compile.
77 - append-flags -I/usr/include/qt4
78 - append-ldflags -L/usr/$(get_libdir)/qt4
79 -
80 - econf \
81 - $(use_enable debug)
82 - eqmake4 "${PN}.pro" -o "${PN}.mak"
83 -}
84 -
85 -src_compile() {
86 - lupdate "${PN}.pro" || die "lupdate failed"
87 - qt4-r2_src_compile
88 -}
89 -
90 -src_install () {
91 - qt4-r2_src_install
92 -
93 - insinto /usr/share/locale
94 - local lang
95 - for lang in ${LANGS} ; do
96 - if use linguas_${lang} ; then
97 - doins "src/translations/${PN}_${lang}.qm"
98 - fi
99 - done
100 -
101 - # The desktop file is invalid, and we also change the command
102 - # depending on useflags
103 - rm -rf "${D}/usr/share/applications/qsynth.desktop"
104 -
105 - local cmd
106 - if use jack; then
107 - cmd="qsynth"
108 - elif use pulseaudio; then
109 - cmd="qsynth -a pulseaudio"
110 - elif use alsa; then
111 - cmd="qsynth -a alsa"
112 - else
113 - cmd="qsynth -a oss"
114 - fi
115 -
116 - make_desktop_entry "${cmd}" Qsynth qsynth
117 -}
118
119 diff --git a/media-sound/qsynth/qsynth-0.4.0.ebuild b/media-sound/qsynth/qsynth-0.4.0.ebuild
120 deleted file mode 100644
121 index de76b60..00000000
122 --- a/media-sound/qsynth/qsynth-0.4.0.ebuild
123 +++ /dev/null
124 @@ -1,76 +0,0 @@
125 -# Copyright 1999-2015 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -# $Id$
128 -
129 -EAPI=5
130 -
131 -inherit qmake-utils eutils
132 -
133 -DESCRIPTION="A Qt application to control FluidSynth"
134 -HOMEPAGE="http://qsynth.sourceforge.net/"
135 -SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz"
136 -
137 -LICENSE="GPL-2"
138 -SLOT="0"
139 -IUSE="debug jack alsa pulseaudio +qt5"
140 -KEYWORDS="~amd64 ~ppc ~x86"
141 -
142 -RDEPEND="
143 - qt5? (
144 - dev-qt/qtwidgets:5
145 - dev-qt/qtx11extras:5
146 - dev-qt/qtcore:5
147 - )
148 - !qt5? (
149 - >=dev-qt/qtcore-4.2:4
150 - >=dev-qt/qtgui-4.2:4
151 - )
152 - >=media-sound/fluidsynth-1.0.7a[jack?,alsa?,pulseaudio?]
153 - x11-libs/libX11"
154 -DEPEND="${RDEPEND}
155 - qt5? ( dev-qt/linguist-tools:5 )
156 -"
157 -
158 -REQUIRED_USE="|| ( alsa jack pulseaudio )"
159 -
160 -src_prepare() {
161 - use qt5 && epatch "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch"
162 -}
163 -
164 -src_configure() {
165 - econf \
166 - $(use_enable debug) \
167 - $(use_enable qt5) \
168 - --with-qt"$(usex qt5 "5=$(qt5_get_bindir)/.." "4=$(qt4_get_bindir)/..")"
169 -
170 - # Emulate what the Makefile does, so that we can get the correct
171 - # compiler used.
172 - if use qt5 ; then
173 - eqmake5 ${PN}.pro -o ${PN}.mak
174 - else
175 - eqmake4 ${PN}.pro -o ${PN}.mak
176 - fi
177 -}
178 -
179 -src_install () {
180 - emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
181 -
182 - dodoc AUTHORS ChangeLog README TODO TRANSLATORS
183 -
184 - # The desktop file is invalid, and we also change the command
185 - # depending on useflags
186 - rm -rf "${D}/usr/share/applications/qsynth.desktop"
187 -
188 - local cmd
189 - if use jack; then
190 - cmd="qsynth"
191 - elif use pulseaudio; then
192 - cmd="qsynth -a pulseaudio"
193 - elif use alsa; then
194 - cmd="qsynth -a alsa"
195 - else
196 - cmd="qsynth -a oss"
197 - fi
198 -
199 - make_desktop_entry "${cmd}" Qsynth qsynth
200 -}
201
202 diff --git a/media-sound/qsynth/qsynth-0.4.1.ebuild b/media-sound/qsynth/qsynth-0.4.1.ebuild
203 deleted file mode 100644
204 index de76b60..00000000
205 --- a/media-sound/qsynth/qsynth-0.4.1.ebuild
206 +++ /dev/null
207 @@ -1,76 +0,0 @@
208 -# Copyright 1999-2015 Gentoo Foundation
209 -# Distributed under the terms of the GNU General Public License v2
210 -# $Id$
211 -
212 -EAPI=5
213 -
214 -inherit qmake-utils eutils
215 -
216 -DESCRIPTION="A Qt application to control FluidSynth"
217 -HOMEPAGE="http://qsynth.sourceforge.net/"
218 -SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz"
219 -
220 -LICENSE="GPL-2"
221 -SLOT="0"
222 -IUSE="debug jack alsa pulseaudio +qt5"
223 -KEYWORDS="~amd64 ~ppc ~x86"
224 -
225 -RDEPEND="
226 - qt5? (
227 - dev-qt/qtwidgets:5
228 - dev-qt/qtx11extras:5
229 - dev-qt/qtcore:5
230 - )
231 - !qt5? (
232 - >=dev-qt/qtcore-4.2:4
233 - >=dev-qt/qtgui-4.2:4
234 - )
235 - >=media-sound/fluidsynth-1.0.7a[jack?,alsa?,pulseaudio?]
236 - x11-libs/libX11"
237 -DEPEND="${RDEPEND}
238 - qt5? ( dev-qt/linguist-tools:5 )
239 -"
240 -
241 -REQUIRED_USE="|| ( alsa jack pulseaudio )"
242 -
243 -src_prepare() {
244 - use qt5 && epatch "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch"
245 -}
246 -
247 -src_configure() {
248 - econf \
249 - $(use_enable debug) \
250 - $(use_enable qt5) \
251 - --with-qt"$(usex qt5 "5=$(qt5_get_bindir)/.." "4=$(qt4_get_bindir)/..")"
252 -
253 - # Emulate what the Makefile does, so that we can get the correct
254 - # compiler used.
255 - if use qt5 ; then
256 - eqmake5 ${PN}.pro -o ${PN}.mak
257 - else
258 - eqmake4 ${PN}.pro -o ${PN}.mak
259 - fi
260 -}
261 -
262 -src_install () {
263 - emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
264 -
265 - dodoc AUTHORS ChangeLog README TODO TRANSLATORS
266 -
267 - # The desktop file is invalid, and we also change the command
268 - # depending on useflags
269 - rm -rf "${D}/usr/share/applications/qsynth.desktop"
270 -
271 - local cmd
272 - if use jack; then
273 - cmd="qsynth"
274 - elif use pulseaudio; then
275 - cmd="qsynth -a pulseaudio"
276 - elif use alsa; then
277 - cmd="qsynth -a alsa"
278 - else
279 - cmd="qsynth -a oss"
280 - fi
281 -
282 - make_desktop_entry "${cmd}" Qsynth qsynth
283 -}