From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A0D4F15838C for ; Wed, 24 Jan 2024 09:40:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B88672BC01C; Wed, 24 Jan 2024 09:40:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8EFFE2BC01C for ; Wed, 24 Jan 2024 09:40:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8CFC834315A for ; Wed, 24 Jan 2024 09:40:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9426EC0 for ; Wed, 24 Jan 2024 09:40:16 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1706089200.bc60e483735913f3c0761daa4f89022ae1a75c15.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/qsynth/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/qsynth/Manifest media-sound/qsynth/qsynth-0.9.13.ebuild X-VCS-Directories: media-sound/qsynth/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: bc60e483735913f3c0761daa4f89022ae1a75c15 X-VCS-Branch: master Date: Wed, 24 Jan 2024 09:40:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 382f6fca-50e3-42ff-adb3-314085440535 X-Archives-Hash: 67d98e4cf2b5b185d036a5f03ff20080 commit: bc60e483735913f3c0761daa4f89022ae1a75c15 Author: Miroslav Šulc gentoo org> AuthorDate: Wed Jan 24 09:40:00 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed Jan 24 09:40:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc60e483 media-sound/qsynth: bump to 0.9.13 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/qsynth/Manifest | 1 + media-sound/qsynth/qsynth-0.9.13.ebuild | 72 +++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index c6036775be23..70b031c15b58 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1 +1,2 @@ DIST qsynth-0.9.12.tar.gz 333588 BLAKE2B 778edbb60535aea55f3d82074e8723b37fef6fa01975403211317753f790e14baf9f59db294f68e3d067a2142b450878cfaf412ad22480744936a2eee1d654d1 SHA512 44017d24c09714d174c774083462f7dc263f2abc7aaf7d2cda0f4987b007210a33dcfb35d47eacd5682859e5299f75e26e47fd2f73458eb2a05a36c27d5889f0 +DIST qsynth-0.9.13.tar.gz 333132 BLAKE2B 2d0a388e59f244052b1c3f7e16bda40b3de314d2e8b9316b6f471dcc4869299b56f6234c5cecae2a8105c366d601a28cdb0d5c5ebb0bb9e7eee352d62b5af3d0 SHA512 8249438429191a2beb381af9f6fc6bc0d88711c2590379bfa10c558464c562f28453dacec8edbe1afdc590ee437530cefac211b272553cf8acc266706894f17c diff --git a/media-sound/qsynth/qsynth-0.9.13.ebuild b/media-sound/qsynth/qsynth-0.9.13.ebuild new file mode 100644 index 000000000000..9c11d8e94315 --- /dev/null +++ b/media-sound/qsynth/qsynth-0.9.13.ebuild @@ -0,0 +1,72 @@ +# 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="mirror://sourceforge/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 +}