From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9FD5B138252 for ; Thu, 12 May 2016 13:40:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACCAF21C046; Thu, 12 May 2016 13:40:22 +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 36B4821C046 for ; Thu, 12 May 2016 13:40:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 DD6FC3408B8 for ; Thu, 12 May 2016 13:40:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F70B33E for ; Thu, 12 May 2016 13:40:16 +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: <1463060409.53af3472a366dea712679776e7d8c5d0d8f30a3b.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.1.ebuild X-VCS-Directories: media-sound/qsynth/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 53af3472a366dea712679776e7d8c5d0d8f30a3b X-VCS-Branch: master Date: Thu, 12 May 2016 13: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-Archives-Salt: ec50de09-5eb1-4895-bff8-c7b8a2033112 X-Archives-Hash: 2a0e9aa625cbbcf46d13f2873c2ee2a3 commit: 53af3472a366dea712679776e7d8c5d0d8f30a3b Author: Alexis Ballier gentoo org> AuthorDate: Thu May 12 13:39:55 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu May 12 13:40:09 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53af3472 media-sound/qsynth: bump to 0.4.1 Package-Manager: portage-2.2.28 media-sound/qsynth/Manifest | 1 + media-sound/qsynth/qsynth-0.4.1.ebuild | 76 ++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index 9e63c3b..eab53f0 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,3 +1,4 @@ DIST qsynth-0.3.6.tar.gz 223774 SHA256 b5968da98661bac5c9fcc93d3a15851594dfbf3bb7d01ace15fbe8779d53fb3c SHA512 c61f6913f28a18a8e74af290560c0f8862e86c192715299fd24e73243a3563c1d65bebf6ab8844c692b06bf357f6bf42d43ef5298d74636fe7c4c082aea3eeea WHIRLPOOL 0e3c6aaab8a4ed9a77baca128f4661c4dfd82d089b636d3ce97a95ce4a303ba745f5023447bd1d5477aeda4bad5b64923f69e3aa1d5a1e435b5efb7906829483 DIST qsynth-0.3.9.tar.gz 255130 SHA256 eb2050d0f7a8011b9ac20f82fec88faf2237a2475dfefc424cb4944399b17e22 SHA512 7702dc9eb3d38d338dcab5587e02e9fcdaffbe6188437e3b0f54b07499553f7a7d083f233cd21963a908578108f82c0d904b68da2f156ca0ab489e989b5787a8 WHIRLPOOL 621b53fbf251e4b35dcdefb6b63e6ed124fc12dccad6148f077914bd25931cc8ea10a8dfb959b5ad4ae8a451686c63dedeb060b8a68d7a3d6e72e2d5c437104a DIST qsynth-0.4.0.tar.gz 251230 SHA256 9dc8413ddc6847a2dd0bfb3b44e0246273531ea253fd9dc91c5c329876420cb2 SHA512 13d8cda192ae09a3e48768df11d2df7ccace59a495f18bd99d6b7009c51eb43b3d6df97e81391e9c098c6fdc0396434bf178302edb016bdba69d6aa4d790a831 WHIRLPOOL 8f5873874018e538767ea44bf8752adc11e5e993a26b71beb0b54a3739d2ed9b5fed042f9af1925d45b9fdc6fed74ecebdd19164ab2d9cdc5d43831aeda1f503 +DIST qsynth-0.4.1.tar.gz 251821 SHA256 50f4e36e0c5a7e092429e1cafbd8989346127b8b0c0868566addcacc5735970c SHA512 0a4e2dacc9116a9c52a50af39f0838a0c97d0e2f0ba75f8c3f07a219810299c5dd650ad7cd5ba337e497f83537b7cb94a181c9e3a5ba641febe1a0179d6c8620 WHIRLPOOL 044811f6a2966cfccd613da8db16d8caa46599d61fbdf8124d94c57d25b796155fa76261cb3bed7fbb49f8cd7d4eaaa9bb1e2966db97236be61f98121f43c453 diff --git a/media-sound/qsynth/qsynth-0.4.1.ebuild b/media-sound/qsynth/qsynth-0.4.1.ebuild new file mode 100644 index 0000000..de76b60 --- /dev/null +++ b/media-sound/qsynth/qsynth-0.4.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils eutils + +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 +qt5" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + qt5? ( + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtcore:5 + ) + !qt5? ( + >=dev-qt/qtcore-4.2:4 + >=dev-qt/qtgui-4.2:4 + ) + >=media-sound/fluidsynth-1.0.7a[jack?,alsa?,pulseaudio?] + x11-libs/libX11" +DEPEND="${RDEPEND} + qt5? ( dev-qt/linguist-tools:5 ) +" + +REQUIRED_USE="|| ( alsa jack pulseaudio )" + +src_prepare() { + use qt5 && epatch "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch" +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable qt5) \ + --with-qt"$(usex qt5 "5=$(qt5_get_bindir)/.." "4=$(qt4_get_bindir)/..")" + + # Emulate what the Makefile does, so that we can get the correct + # compiler used. + if use qt5 ; then + eqmake5 ${PN}.pro -o ${PN}.mak + else + eqmake4 ${PN}.pro -o ${PN}.mak + fi +} + +src_install () { + emake DESTDIR="${D}" INSTALL_ROOT="${D}" install + + dodoc AUTHORS ChangeLog README TODO TRANSLATORS + + # The desktop file is invalid, and we also change the command + # depending on useflags + rm -rf "${D}/usr/share/applications/qsynth.desktop" + + 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 +}