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 4FC2B1393F1 for ; Mon, 14 Sep 2015 13:24:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECDD921C013; Mon, 14 Sep 2015 13:24:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8487721C011 for ; Mon, 14 Sep 2015 13:24:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2DC8134089A for ; Mon, 14 Sep 2015 13:24:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63F5C1F3 for ; Mon, 14 Sep 2015 13:24: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: <1442237040.1581a7ce3f01c8b41e81d000f0a82f36d61b9746.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.0.ebuild X-VCS-Directories: media-sound/qsynth/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 1581a7ce3f01c8b41e81d000f0a82f36d61b9746 X-VCS-Branch: master Date: Mon, 14 Sep 2015 13:24: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: fd5dca83-b54c-4928-b90f-e66162307cc3 X-Archives-Hash: a0346d6e3bd97c040b0d9267ed1f4ae6 commit: 1581a7ce3f01c8b41e81d000f0a82f36d61b9746 Author: Alexis Ballier gentoo org> AuthorDate: Mon Sep 14 13:23:31 2015 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Sep 14 13:24:00 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1581a7ce media-sound/qsynth: bump to 0.4.0. Package-Manager: portage-2.2.20.1 media-sound/qsynth/Manifest | 1 + media-sound/qsynth/qsynth-0.4.0.ebuild | 70 ++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index 0f57461..9e63c3b 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/media-sound/qsynth/qsynth-0.4.0.ebuild b/media-sound/qsynth/qsynth-0.4.0.ebuild new file mode 100644 index 0000000..34539c0 --- /dev/null +++ b/media-sound/qsynth/qsynth-0.4.0.ebuild @@ -0,0 +1,70 @@ +# 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" + +DEPEND=" + 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" +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( alsa jack pulseaudio )" + +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 +}