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 56224138350 for ; Fri, 3 Apr 2020 14:42:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 825C1E09BD; Fri, 3 Apr 2020 14:42:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 3FFA7E09BD for ; Fri, 3 Apr 2020 14:42:25 +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 87C1734EFB7 for ; Fri, 3 Apr 2020 14:42:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A14F1B9 for ; Fri, 3 Apr 2020 14:42:22 +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: <1585924932.bef0bb576ee18eabbcf7dbd1cddea39a9f84eaa9.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.2.ebuild X-VCS-Directories: media-sound/qsynth/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: bef0bb576ee18eabbcf7dbd1cddea39a9f84eaa9 X-VCS-Branch: master Date: Fri, 3 Apr 2020 14:42:22 +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: ef0eebf8-c957-4700-b312-83d02310559b X-Archives-Hash: aee0afc43e0a504b0f7567606d6b2575 commit: bef0bb576ee18eabbcf7dbd1cddea39a9f84eaa9 Author: Miroslav Šulc gentoo org> AuthorDate: Fri Apr 3 14:39:51 2020 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Apr 3 14:42:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef0bb57 media-sound/qsynth: bump to 0.6.2 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/qsynth/Manifest | 1 + media-sound/qsynth/qsynth-0.6.2.ebuild | 70 ++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index 91042baaefb..0af60a7f042 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,2 +1,3 @@ DIST qsynth-0.6.0.tar.gz 316308 BLAKE2B d414c73d5baf3be1563c45390735de964c79774a4d7cc37ff4bc609a7fa4d291a5b0cba7f3b8ed52649c50325a3ba2fba7baad3943122cc76a98aa6cfdf2cb0f SHA512 34e15d283f403ec6633fef911285dc2d4d4b2c5a0cd3614bd38feefbf68cff5fd8e296f47d1bcd527658b8a9dab212106aa63ca71ea60cf49f8126adb7d28591 DIST qsynth-0.6.1.tar.gz 337277 BLAKE2B c0f160bc4a1db84a53fb96fe66212b335a07736f6659514a61a20e9d23a95e50bee5818443035095e262f45a38d09b59aff10062cfc121c75a20e2b57a488aef SHA512 597ec51f2f2bc45e717dd6e039d10ace3540c6e7332832cbd36a16fb05b88248a59e5ba107369c8bd66d29060c31d0daef13f4967794e2f7b55c85a64dcd6e0c +DIST qsynth-0.6.2.tar.gz 383146 BLAKE2B 6e93a1d16dc57ce5cc180932eec049cbd62eb64d6667cbfc748c474fe2b751273ff50a94a5497f1d268e2d413831095bea92a2f086b417625f02fecf1bc6ec9d SHA512 6e6f5dc64c39ab18ad1a9e791376e0dcf6eea4882986b1723a5a2f7c53309ce166d443a198c62b33ac31ed3fc17100c3a4f8e3b1e474b70afcec0ffa7f1ffc08 diff --git a/media-sound/qsynth/qsynth-0.6.2.ebuild b/media-sound/qsynth/qsynth-0.6.2.ebuild new file mode 100644 index 00000000000..71cbc9eebd1 --- /dev/null +++ b/media-sound/qsynth/qsynth-0.6.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 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="https://qsynth.sourceforge.io/" +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 +}