Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/qsynth/
Date: Sat, 09 May 2020 08:41:10
Message-Id: 1589013660.e59c55fdffa83a316d7480a8f2804db9682a50d1.fordfrog@gentoo
1 commit: e59c55fdffa83a316d7480a8f2804db9682a50d1
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 9 08:39:46 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sat May 9 08:41:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e59c55fd
7
8 media-sound/qsynth: removed obsolete 0.6.1
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-sound/qsynth/Manifest | 1 -
14 media-sound/qsynth/qsynth-0.6.1.ebuild | 70 ----------------------------------
15 2 files changed, 71 deletions(-)
16
17 diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest
18 index ddcabb3a35d..59e267c0362 100644
19 --- a/media-sound/qsynth/Manifest
20 +++ b/media-sound/qsynth/Manifest
21 @@ -1,2 +1 @@
22 -DIST qsynth-0.6.1.tar.gz 337277 BLAKE2B c0f160bc4a1db84a53fb96fe66212b335a07736f6659514a61a20e9d23a95e50bee5818443035095e262f45a38d09b59aff10062cfc121c75a20e2b57a488aef SHA512 597ec51f2f2bc45e717dd6e039d10ace3540c6e7332832cbd36a16fb05b88248a59e5ba107369c8bd66d29060c31d0daef13f4967794e2f7b55c85a64dcd6e0c
23 DIST qsynth-0.6.2.tar.gz 383146 BLAKE2B 6e93a1d16dc57ce5cc180932eec049cbd62eb64d6667cbfc748c474fe2b751273ff50a94a5497f1d268e2d413831095bea92a2f086b417625f02fecf1bc6ec9d SHA512 6e6f5dc64c39ab18ad1a9e791376e0dcf6eea4882986b1723a5a2f7c53309ce166d443a198c62b33ac31ed3fc17100c3a4f8e3b1e474b70afcec0ffa7f1ffc08
24
25 diff --git a/media-sound/qsynth/qsynth-0.6.1.ebuild b/media-sound/qsynth/qsynth-0.6.1.ebuild
26 deleted file mode 100644
27 index afd6bb7009c..00000000000
28 --- a/media-sound/qsynth/qsynth-0.6.1.ebuild
29 +++ /dev/null
30 @@ -1,70 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit desktop flag-o-matic qmake-utils xdg-utils
37 -
38 -DESCRIPTION="A Qt application to control FluidSynth"
39 -HOMEPAGE="https://qsynth.sourceforge.io/"
40 -SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -IUSE="+alsa debug jack pulseaudio"
45 -KEYWORDS="amd64 ppc x86"
46 -
47 -BDEPEND="
48 - dev-qt/linguist-tools:5
49 -"
50 -DEPEND="
51 - dev-qt/qtcore:5
52 - dev-qt/qtgui:5
53 - dev-qt/qtnetwork:5
54 - dev-qt/qtwidgets:5
55 - media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?]
56 -"
57 -RDEPEND="${DEPEND}"
58 -
59 -REQUIRED_USE="|| ( alsa jack pulseaudio )"
60 -
61 -PATCHES=( "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch" )
62 -
63 -src_configure() {
64 - append-cxxflags -std=c++11
65 - sed -e "/@gzip.*mandir)\/man1/d" -i Makefile.in || die
66 - econf \
67 - $(use_enable debug)
68 -
69 - eqmake5 ${PN}.pro -o ${PN}.mak
70 -}
71 -
72 -src_install() {
73 - emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
74 - einstalldocs
75 -
76 - # The desktop file is invalid, and we also change the command
77 - # depending on useflags
78 - rm "${ED}/usr/share/applications/qsynth.desktop" || die
79 -
80 - local cmd
81 - if use jack; then
82 - cmd="qsynth"
83 - elif use pulseaudio; then
84 - cmd="qsynth -a pulseaudio"
85 - elif use alsa; then
86 - cmd="qsynth -a alsa"
87 - else
88 - cmd="qsynth -a oss"
89 - fi
90 -
91 - make_desktop_entry "${cmd}" Qsynth qsynth
92 -}
93 -
94 -pkg_postinst() {
95 - xdg_icon_cache_update
96 -}
97 -
98 -pkg_postrm() {
99 - xdg_icon_cache_update
100 -}