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, 12 Jun 2021 09:51:20
Message-Id: 1623491471.672d9c73b091b15dbe2e7c0aca2d65a505526dbb.fordfrog@gentoo
1 commit: 672d9c73b091b15dbe2e7c0aca2d65a505526dbb
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 12 09:50:35 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 12 09:51:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=672d9c73
7
8 media-sound/qsynth: removed obsolete 0.9.2
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-sound/qsynth/Manifest | 1 -
14 media-sound/qsynth/qsynth-0.9.2.ebuild | 71 ----------------------------------
15 2 files changed, 72 deletions(-)
16
17 diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest
18 index 00a5e36dee6..6b75a208755 100644
19 --- a/media-sound/qsynth/Manifest
20 +++ b/media-sound/qsynth/Manifest
21 @@ -1,2 +1 @@
22 -DIST qsynth-0.9.2.tar.gz 394009 BLAKE2B 9560efe95992fc6e992871c8057898e1acac46718534c7e79060dde4d1519f9fd4798385812f384c97a764676e3e1005ebe24708545db3dfb9f8e08973f07441 SHA512 ab9a2268e3926439e4784c8dc2511d7c39aa2bfb97ffb7bb34f6761f1e859d1ea53f9f6da4d5c31395c6c03dc250b74c8c250b5d71321f2a151b75ec636be3d6
23 DIST qsynth-0.9.3.tar.gz 395265 BLAKE2B c19154ba02680ae784ea016bbcb2dcd6c3517d6e810d76cc16919508e2e7310d23a8e8397f45340c138f018340525ecae8d941ce5acf5d4e16295e88d3450069 SHA512 7da5bc0fd8feed6b3b0b048e7ac3fa86937d82ff34528fd0dbb1dd5a05fbff2bb2d8e360e499325660172acec7216964ce1442b75afc10ab0647b91376b2c421
24
25 diff --git a/media-sound/qsynth/qsynth-0.9.2.ebuild b/media-sound/qsynth/qsynth-0.9.2.ebuild
26 deleted file mode 100644
27 index a9c46977ac2..00000000000
28 --- a/media-sound/qsynth/qsynth-0.9.2.ebuild
29 +++ /dev/null
30 @@ -1,71 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit cmake desktop qmake-utils xdg
37 -
38 -DESCRIPTION="Qt application to control FluidSynth"
39 -HOMEPAGE="https://qsynth.sourceforge.io/"
40 -
41 -if [[ ${PV} == *9999* ]]; then
42 - EGIT_REPO_URI="https://git.code.sf.net/p/qsynth/code"
43 - inherit git-r3
44 -else
45 - SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz"
46 - KEYWORDS="amd64 ppc ppc64 x86"
47 -fi
48 -
49 -LICENSE="GPL-2"
50 -SLOT="0"
51 -IUSE="+alsa debug jack pulseaudio"
52 -
53 -REQUIRED_USE="|| ( alsa jack pulseaudio )"
54 -
55 -BDEPEND="
56 - dev-qt/linguist-tools:5
57 -"
58 -DEPEND="
59 - dev-qt/qtcore:5
60 - dev-qt/qtgui:5
61 - dev-qt/qtnetwork:5
62 - dev-qt/qtwidgets:5
63 - media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?]
64 -"
65 -RDEPEND="${DEPEND}"
66 -
67 -PATCHES=( "${FILESDIR}/${PN}-0.9.1-cmake-no-git-version.patch" )
68 -
69 -src_prepare() {
70 - cmake_src_prepare
71 -
72 - sed -e "/^find_package.*QT/s/Qt6 //" -i CMakeLists.txt || die
73 -}
74 -
75 -src_configure() {
76 - local mycmakeargs=(
77 - -DCONFIG_DEBUG=$(usex debug 1 0)
78 - )
79 - cmake_src_configure
80 -}
81 -
82 -src_install() {
83 - cmake_src_install
84 -
85 - # The desktop file is invalid, and we also change the command
86 - # depending on useflags
87 - rm "${D}/usr/share/applications/qsynth.desktop" || die
88 -
89 - local cmd
90 - if use jack; then
91 - cmd="qsynth"
92 - elif use pulseaudio; then
93 - cmd="qsynth -a pulseaudio"
94 - elif use alsa; then
95 - cmd="qsynth -a alsa"
96 - else
97 - cmd="qsynth -a oss"
98 - fi
99 -
100 - make_desktop_entry "${cmd}" Qsynth qsynth
101 -}