diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-09-26 14:42:15 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-09-26 17:03:08 +0200 |
commit | 895c8631f3edc99bc93a7b4b5e8d93f4322a3b4f (patch) | |
tree | 9bb9f7d458f9c129a42b0b8e0ba82737a836040d /media-sound | |
parent | dev-ros/pluginlib: bump to 1.10.4 (diff) | |
download | gentoo-895c8631f3edc99bc93a7b4b5e8d93f4322a3b4f.tar.gz gentoo-895c8631f3edc99bc93a7b4b5e8d93f4322a3b4f.tar.bz2 gentoo-895c8631f3edc99bc93a7b4b5e8d93f4322a3b4f.zip |
media-sound/qsynth: bump to 0.4.2
Package-Manager: portage-2.3.1
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/qsynth/Manifest | 1 | ||||
-rw-r--r-- | media-sound/qsynth/qsynth-0.4.2.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index eab53f087075..ef1b6cecb76c 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -2,3 +2,4 @@ DIST qsynth-0.3.6.tar.gz 223774 SHA256 b5968da98661bac5c9fcc93d3a15851594dfbf3bb 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 +DIST qsynth-0.4.2.tar.gz 252394 SHA256 25a59769e20a5af971f197f4be7233cedbbfa7c7a7ee54c9f49b6b4a8e4ef8f2 SHA512 d951969b6a4ea185b9c732867559000e91e73b69fcd19974d406516ce79c0040b598ee578cc10aa2ed199f652535e061fe8178c8b37651438e605a0bc3ee674e WHIRLPOOL a95a7ec9ecac41962e9b81dfa10f18df962ad3a6046fccf5b7073a17f05802568bacc37252b4fbb05c41a038fcf3047d57eb178a8a524f5e5a3019ec47f3deb7 diff --git a/media-sound/qsynth/qsynth-0.4.2.ebuild b/media-sound/qsynth/qsynth-0.4.2.ebuild new file mode 100644 index 000000000000..3f6586ae3ac8 --- /dev/null +++ b/media-sound/qsynth/qsynth-0.4.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2016 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 qt4) \ + --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 +} |