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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 080CD138334 for ; Fri, 1 Nov 2019 12:16:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36F63E0843; Fri, 1 Nov 2019 12:16:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D71DE0843 for ; Fri, 1 Nov 2019 12:16:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9EF5234C619 for ; Fri, 1 Nov 2019 12:16:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 290D089D for ; Fri, 1 Nov 2019 12:16:04 +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: <1572610543.bae101246dd5bf62a1e76cc6a5e308f31f9a97b6.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.6.0.ebuild X-VCS-Directories: media-sound/qsynth/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: bae101246dd5bf62a1e76cc6a5e308f31f9a97b6 X-VCS-Branch: master Date: Fri, 1 Nov 2019 12:16:04 +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: a730c095-824b-4e9e-a72f-23b43fcc857b X-Archives-Hash: 2a03815aa71189e22f2c731418cf2792 commit: bae101246dd5bf62a1e76cc6a5e308f31f9a97b6 Author: Miroslav Šulc gentoo org> AuthorDate: Fri Nov 1 12:15:43 2019 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Nov 1 12:15:43 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bae10124 media-sound/qsynth-0.6.0: bump Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/qsynth/Manifest | 1 + media-sound/qsynth/qsynth-0.6.0.ebuild | 70 ++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index c0b10ed01e5..b1cc0d68851 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1 +1,2 @@ DIST qsynth-0.5.6.tar.gz 269583 BLAKE2B 9b06f7be1aa39addebd0b088eff885bce39c6bc245461b64fe45243306afae8879d4b516bd46c30c2a8074e580e412c38a3c264d647a35ff5c81301703731067 SHA512 752b3ac7e478594ef873b2d1c9fcb1a1dcdd1fb33f34cab5f588f628d1f11f01ecd150c9d51021a41040794b68f0538ad6979751773d5c537f53a1f227b3bf88 +DIST qsynth-0.6.0.tar.gz 316308 BLAKE2B d414c73d5baf3be1563c45390735de964c79774a4d7cc37ff4bc609a7fa4d291a5b0cba7f3b8ed52649c50325a3ba2fba7baad3943122cc76a98aa6cfdf2cb0f SHA512 34e15d283f403ec6633fef911285dc2d4d4b2c5a0cd3614bd38feefbf68cff5fd8e296f47d1bcd527658b8a9dab212106aa63ca71ea60cf49f8126adb7d28591 diff --git a/media-sound/qsynth/qsynth-0.6.0.ebuild b/media-sound/qsynth/qsynth-0.6.0.ebuild new file mode 100644 index 00000000000..781890fbe2b --- /dev/null +++ b/media-sound/qsynth/qsynth-0.6.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop flag-o-matic qmake-utils xdg-utils + +DESCRIPTION="A Qt application to control FluidSynth" +HOMEPAGE="http://qsynth.sourceforge.net/" +SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+alsa debug jack pulseaudio" +KEYWORDS="~amd64 ~ppc ~x86" + +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}" + +REQUIRED_USE="|| ( alsa jack pulseaudio )" + +PATCHES=( "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch" ) + +src_configure() { + append-cxxflags -std=c++11 + sed -e "/@gzip.*mandir)\/man1/d" -i Makefile.in || die + econf \ + $(use_enable debug) + + eqmake5 ${PN}.pro -o ${PN}.mak +} + +src_install () { + emake DESTDIR="${D}" INSTALL_ROOT="${D}" install + einstalldocs + + # The desktop file is invalid, and we also change the command + # depending on useflags + rm "${ED}/usr/share/applications/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 +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}