diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-05-09 09:06:50 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-05-09 09:14:22 +0200 |
commit | dd3405e1bb19774e26bd147c5d75d1e570d3599b (patch) | |
tree | 630605543fd196fa710b6712fdff8857e9329fa7 /media-sound | |
parent | dev-ml/ocaml-containers: remove old (diff) | |
download | gentoo-dd3405e1bb19774e26bd147c5d75d1e570d3599b.tar.gz gentoo-dd3405e1bb19774e26bd147c5d75d1e570d3599b.tar.bz2 gentoo-dd3405e1bb19774e26bd147c5d75d1e570d3599b.zip |
media-sound/qsynth: Bump to 0.4.4
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/qsynth/Manifest | 1 | ||||
-rw-r--r-- | media-sound/qsynth/qsynth-0.4.4.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index 5d86c4d910d9..94be024b89f8 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,3 +1,4 @@ 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 +DIST qsynth-0.4.4.tar.gz 260482 SHA256 0ef914447b1f3a3ecd9c38101f06fc9c67e1d8367202a3f7a494f5d167b40e62 SHA512 8995881ab992b8d02f83797093d406391327a362d0c331d0c8e023e1695baff5acb589be08427a25563f159067a8965c89be114ce74583db98e5a816f73aa9f0 WHIRLPOOL aea2556c5b142923d047d8a09c8534d534aa10bae9ef5c04778976e0adc1a7207c66b87d6711ec30616c7b33c5d1a9b844afee1fa59973e0fde45ae239a4a65d diff --git a/media-sound/qsynth/qsynth-0.4.4.ebuild b/media-sound/qsynth/qsynth-0.4.4.ebuild new file mode 100644 index 000000000000..bafc0a80dd0a --- /dev/null +++ b/media-sound/qsynth/qsynth-0.4.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |