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 11F53158064 for ; Thu, 2 May 2024 09:09:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A2002BC013; Thu, 2 May 2024 09:09:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 DFDDE2BC013 for ; Thu, 2 May 2024 09:09:08 +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 BFA2A343066 for ; Thu, 2 May 2024 09:09:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C848170E for ; Thu, 2 May 2024 09:09:06 +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: <1714640942.5d5557b178845bd88f3997cefea43b3ba4bf2c91.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.91.ebuild X-VCS-Directories: media-sound/qsynth/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 5d5557b178845bd88f3997cefea43b3ba4bf2c91 X-VCS-Branch: master Date: Thu, 2 May 2024 09:09:06 +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: 7992963f-f320-4d2d-8042-b4aeb30f0fb0 X-Archives-Hash: 4f897f6395015c3b62e72fad543efeb3 commit: 5d5557b178845bd88f3997cefea43b3ba4bf2c91 Author: Miroslav Šulc gentoo org> AuthorDate: Thu May 2 09:08:51 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Thu May 2 09:09:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d5557b1 media-sound/qsynth: bump to 0.9.91 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/qsynth/Manifest | 1 + media-sound/qsynth/qsynth-0.9.91.ebuild | 72 +++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index 23a6a818f4c2..604805a1d54e 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,2 +1,3 @@ DIST qsynth-0.9.13.tar.gz 333132 BLAKE2B 2d0a388e59f244052b1c3f7e16bda40b3de314d2e8b9316b6f471dcc4869299b56f6234c5cecae2a8105c366d601a28cdb0d5c5ebb0bb9e7eee352d62b5af3d0 SHA512 8249438429191a2beb381af9f6fc6bc0d88711c2590379bfa10c558464c562f28453dacec8edbe1afdc590ee437530cefac211b272553cf8acc266706894f17c DIST qsynth-0.9.90.tar.gz 333577 BLAKE2B 33a9f799423a0c93674ed57f2920f810edaada3ef65ec40594ed29654e6de9550b626b4fe17a2d75dc79fa74f8326ad7d7cd197d4c8d2b2b72ebae0ba10586cd SHA512 f84df48a8bb7d9de56c8380e2fdac3381da78b90e472fb344d84cae552541c0021830b83faf848f48ff23989a51db33fbbab1cfb315ed847950df9e408fd27cf +DIST qsynth-0.9.91.tar.gz 334833 BLAKE2B 057ebf72aab4ea811046fede9df42ef7ccb7b98018544397e67212d694d7d798761340114a6609c230062791c81050f11c77348674008e09b1c1f9a28ea27f47 SHA512 0749195078e223ae7e42f2fc7d7f435bc174290f9d018ed01ec27088599f5e1e39739b20aa1233368e45336fb6ff74c9f634942e34543a7405f02749dc76446b diff --git a/media-sound/qsynth/qsynth-0.9.91.ebuild b/media-sound/qsynth/qsynth-0.9.91.ebuild new file mode 100644 index 000000000000..496e8129a1ca --- /dev/null +++ b/media-sound/qsynth/qsynth-0.9.91.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="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 +}