mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/qsynth: dropped obsolete 1.0.1
Bug: https://bugs.gentoo.org/942853 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST qsynth-1.0.1.tar.gz 338049 BLAKE2B 9fc3d70aa20af4523a0c1e8ff6d9190b30359b7cd5fa1516e8ad0e6cc9aa0ec9e23cfc850e2796519fa462c0028550c9c43eebb8f1dc413bc9e5fd5a953ba6e8 SHA512 be81442e3eb50cdd8075e7674413c8f9b297bc19c799da138bc8491dc225f03290856d4048b27dcc192fab636d4175ed457bdf798f3a4b61c2b195c2e8a92b33
|
||||
DIST qsynth-1.0.2.tar.gz 337605 BLAKE2B 8b1911c8baa7d1b73a18061628044b4b428c2c01a0bdbac9b37388bf6cb65e872272af002d943f062b64bb275cb675b91d2a50e3fc0c970fb4eeb631734a6b9b SHA512 a5585481ca88f65a38da75cb6355e5b0e23b04da70ac9ab8e55abafe2b0fac83905a873a990e4de8adcf3cf484b48088d83a7aec99252a48a004158504a7e137
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2024 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="https://downloads.sourceforge.net/qsynth/${P}.tar.gz"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+alsa debug jack pulseaudio qt6"
|
||||
|
||||
REQUIRED_USE="|| ( alsa jack pulseaudio )"
|
||||
|
||||
BDEPEND="
|
||||
qt6? ( dev-qt/qttools:6[linguist] )
|
||||
!qt6? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
DEPEND="
|
||||
qt6? (
|
||||
dev-qt/qtbase:6[gui,network,widgets]
|
||||
dev-qt/qtsvg:6
|
||||
)
|
||||
!qt6? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCONFIG_DEBUG=$(usex debug 1 0)
|
||||
-DCONFIG_QT6=$(usex qt6 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 org.rncbc.qsynth
|
||||
}
|
||||
Reference in New Issue
Block a user