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 3B9821395E4 for ; Tue, 15 Nov 2016 09:09:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1180EE0CFE; Tue, 15 Nov 2016 09:09:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE9E1E0CFE for ; Tue, 15 Nov 2016 09:09:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB5B7341655 for ; Tue, 15 Nov 2016 09:09:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A48C24C2 for ; Tue, 15 Nov 2016 09:09:15 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1479200748.c1b06f0405edd741de6952ea7461851d54d6dbcf.aballier@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.4.3.ebuild X-VCS-Directories: media-sound/qsynth/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: c1b06f0405edd741de6952ea7461851d54d6dbcf X-VCS-Branch: master Date: Tue, 15 Nov 2016 09:09:15 +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-Archives-Salt: a4e16af1-59b3-4c3b-b37e-ecc6a1cc51f0 X-Archives-Hash: 0f5a056a6a0eb49a159a2df74bdebc82 commit: c1b06f0405edd741de6952ea7461851d54d6dbcf Author: Alexis Ballier gentoo org> AuthorDate: Tue Nov 15 09:05:48 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Nov 15 09:05:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1b06f04 media-sound/qsynth: bump to 0.4.3 Package-Manager: portage-2.3.2 media-sound/qsynth/Manifest | 1 + media-sound/qsynth/qsynth-0.4.3.ebuild | 61 ++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index 169b02d..5d86c4d 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,2 +1,3 @@ DIST qsynth-0.3.9.tar.gz 255130 SHA256 eb2050d0f7a8011b9ac20f82fec88faf2237a2475dfefc424cb4944399b17e22 SHA512 7702dc9eb3d38d338dcab5587e02e9fcdaffbe6188437e3b0f54b07499553f7a7d083f233cd21963a908578108f82c0d904b68da2f156ca0ab489e989b5787a8 WHIRLPOOL 621b53fbf251e4b35dcdefb6b63e6ed124fc12dccad6148f077914bd25931cc8ea10a8dfb959b5ad4ae8a451686c63dedeb060b8a68d7a3d6e72e2d5c437104a DIST qsynth-0.4.2.tar.gz 252394 SHA256 25a59769e20a5af971f197f4be7233cedbbfa7c7a7ee54c9f49b6b4a8e4ef8f2 SHA512 d951969b6a4ea185b9c732867559000e91e73b69fcd19974d406516ce79c0040b598ee578cc10aa2ed199f652535e061fe8178c8b37651438e605a0bc3ee674e WHIRLPOOL a95a7ec9ecac41962e9b81dfa10f18df962ad3a6046fccf5b7073a17f05802568bacc37252b4fbb05c41a038fcf3047d57eb178a8a524f5e5a3019ec47f3deb7 +DIST qsynth-0.4.3.tar.gz 258870 SHA256 de27097a6e5e68799e0ab72641682b3c8f3d7bc404d2ba38e2ca66e952aab0c8 SHA512 940a664e279890a0a5eaa557376fc10b60c13527ac813be8c3c6b29d04adf8b4c447846a7032c1f37ce6b8213093a7c1891fa7649371edb3cabc7142784b6782 WHIRLPOOL ddc3eb52421d1785551ffe80bea05cef86880192a20e9de20e61719e31ca2eb79503753551bfcf0ee53fd527fca5750e3f0872bf50439ea7bc70d8602150f910 diff --git a/media-sound/qsynth/qsynth-0.4.3.ebuild b/media-sound/qsynth/qsynth-0.4.3.ebuild new file mode 100644 index 00000000..7ec6da4 --- /dev/null +++ b/media-sound/qsynth/qsynth-0.4.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils flag-o-matic qmake-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="debug jack alsa pulseaudio" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + media-sound/fluidsynth[jack?,alsa?,pulseaudio?] + x11-libs/libX11" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +REQUIRED_USE="|| ( alsa jack pulseaudio )" + +PATCHES=( "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch" ) + +src_configure() { + append-cxxflags -std=c++11 + econf \ + $(use_enable debug) \ + --with-qt5=$(qt5_get_bindir)/.. + + 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 +}