mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
media-sound/qsynth: dropped obsolete 0.9.10
Bug: https://bugs.gentoo.org/911640 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}")
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user