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