commit:     2e7e271da86f17fd541a04453029903bcada677c
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 16 06:02:51 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Aug 16 06:02:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e7e271d

media-sound/qsynth: dropped obsolete 0.9.10

Bug: https://bugs.gentoo.org/911640
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/qsynth/Manifest                        |  1 -
 .../files/qsynth-0.9.1-cmake-no-git-version.patch  | 19 ------
 media-sound/qsynth/qsynth-0.9.10.ebuild            | 71 ----------------------
 3 files changed, 91 deletions(-)

diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest
index a2aeced3f50c..e7fcec5f5499 100644
--- a/media-sound/qsynth/Manifest
+++ b/media-sound/qsynth/Manifest
@@ -1,2 +1 @@
-DIST qsynth-0.9.10.tar.gz 333389 BLAKE2B 
87ca02e1f15a7b28f5af462d1ef52e9609fc0abc3d15d545493f448da61d85d8d264f5ab908816607de3291424b979348f330205fc6e727edb7287fd28e9067d
 SHA512 
82e04ccfe3193d570e28c4e5da3e9ea8afbc2b1f2e43f54459449b31ee5448a6232a5fe13631eed80a5cf75f4176e5a419ec6467bf3d7d5e30d34083d4d8f7aa
 DIST qsynth-0.9.11.tar.gz 333402 BLAKE2B 
72a57a978bad1c4b2abcb287ea27c1c1365c06efdeedcd9bb69ca01a20304f48b19065c5e5181e8d30a3d4137eee56ec69cfba32dd8d2fa29f3ea1140019e089
 SHA512 
3d6c40066db235fc39ca804de1a352ade9e03e162b5901d0e1170f1f0cb4ec3e1631d2fe2b1e50a9cbab9528bca54ebb0afb8e5d615fb8f0b06b9761ae472f2d

diff --git a/media-sound/qsynth/files/qsynth-0.9.1-cmake-no-git-version.patch 
b/media-sound/qsynth/files/qsynth-0.9.1-cmake-no-git-version.patch
deleted file mode 100644
index 0a0dcd59ee13..000000000000
--- a/media-sound/qsynth/files/qsynth-0.9.1-cmake-no-git-version.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -8,6 +8,7 @@ project(qsynth
- list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
- 
- set (CONFIG_VERSION ${PROJECT_VERSION})
-+#[[
- execute_process (
-   COMMAND git describe --tags --dirty --abbrev=6
-   OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT
-@@ -29,6 +30,8 @@ if (GIT_DESCRIBE_RESULT EQUAL 0)
- else ()
-   set (VERSION "${PROJECT_VERSION}")
- endif ()
-+]]
-+set (VERSION "${PROJECT_VERSION}")
- 
- set (PACKAGE_NAME "Qsynth")
- set (PACKAGE_VERSION "${VERSION}")

diff --git a/media-sound/qsynth/qsynth-0.9.10.ebuild 
b/media-sound/qsynth/qsynth-0.9.10.ebuild
deleted file mode 100644
index 501b255863f6..000000000000
--- a/media-sound/qsynth/qsynth-0.9.10.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake desktop xdg
-
-DESCRIPTION="Qt application to control FluidSynth"
-HOMEPAGE="https://qsynth.sourceforge.io/";
-
-if [[ ${PV} == *9999* ]]; then
-       EGIT_REPO_URI="https://git.code.sf.net/p/qsynth/code";
-       inherit git-r3
-else
-       SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz"
-       KEYWORDS="amd64 ppc ppc64 x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="+alsa debug jack pulseaudio"
-
-REQUIRED_USE="|| ( alsa jack pulseaudio )"
-
-BDEPEND="
-       dev-qt/linguist-tools:5
-"
-DEPEND="
-       dev-qt/qtcore:5
-       dev-qt/qtgui:5
-       dev-qt/qtnetwork:5
-       dev-qt/qtwidgets:5
-       media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?]
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${PN}-0.9.1-cmake-no-git-version.patch" )
-
-src_prepare() {
-       cmake_src_prepare
-
-       sed -e "/^find_package.*QT/s/Qt6 //" -i CMakeLists.txt || die
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DCONFIG_DEBUG=$(usex debug 1 0)
-       )
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       # The desktop file is invalid, and we also change the command
-       # depending on useflags
-       rm "${D}/usr/share/applications/org.rncbc.qsynth.desktop" || die
-
-       local cmd
-       if use jack; then
-               cmd="qsynth"
-       elif use pulseaudio; then
-               cmd="qsynth -a pulseaudio"
-       elif use alsa; then
-               cmd="qsynth -a alsa"
-       else
-               cmd="qsynth -a oss"
-       fi
-
-       make_desktop_entry "${cmd}" Qsynth qsynth
-}

Reply via email to