summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/jalv')
-rw-r--r--media-sound/jalv/files/jalv-1.6.0-qt-5.7.0.patch31
-rw-r--r--media-sound/jalv/jalv-1.6.0-r1.ebuild56
2 files changed, 87 insertions, 0 deletions
diff --git a/media-sound/jalv/files/jalv-1.6.0-qt-5.7.0.patch b/media-sound/jalv/files/jalv-1.6.0-qt-5.7.0.patch
new file mode 100644
index 000000000000..f6ca944b04c8
--- /dev/null
+++ b/media-sound/jalv/files/jalv-1.6.0-qt-5.7.0.patch
@@ -0,0 +1,31 @@
+From c32f3ca76a09c03fe9a022eb46e049e6fd5e2dbb Mon Sep 17 00:00:00 2001
+From: David Robillard <d@drobilla.net>
+Date: Sat, 7 Jan 2017 19:20:55 -0500
+Subject: Fix compilation with newer versions of Qt5
+
+
+diff --git a/wscript b/wscript
+index 24f5a2b..08df946 100644
+--- a/wscript
++++ b/wscript
+@@ -5,7 +5,7 @@ from waflib.extras import autowaf as autowaf
+ import waflib.Options as Options
+
+ # Version of this package (even if built as a child)
+-JALV_VERSION = '1.6.0'
++JALV_VERSION = '1.6.1'
+
+ # Variables for 'waf dist'
+ APPNAME = 'jalv'
+@@ -231,7 +231,7 @@ def build(bld):
+ includes = ['.', 'src'],
+ lib = ['pthread'],
+ install_path = '${BINDIR}',
+- cxxflags = ['-fPIC'])
++ cxxflags = ['-fPIC', '-std=c++11'])
+ autowaf.use_lib(bld, obj, libs + ' QT5')
+
+ # Man pages
+--
+cgit v0.10.2
+
diff --git a/media-sound/jalv/jalv-1.6.0-r1.ebuild b/media-sound/jalv/jalv-1.6.0-r1.ebuild
new file mode 100644
index 000000000000..a5822033c039
--- /dev/null
+++ b/media-sound/jalv/jalv-1.6.0-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit python-any-r1 qmake-utils waf-utils
+
+DESCRIPTION="Simple but fully featured LV2 host for Jack"
+HOMEPAGE="http://drobilla.net/software/jalv/"
+SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gtk gtk2 gtkmm portaudio qt5"
+
+RDEPEND=">=media-libs/lv2-1.6.0
+ >=media-libs/lilv-0.24.0
+ >=dev-libs/serd-0.14.0
+ >=dev-libs/sord-0.12.0
+ >=media-libs/suil-0.6.0
+ >=media-libs/sratom-0.6.0
+ gtk? ( >=x11-libs/gtk+-3.0.0:3 )
+ gtk2? ( >=x11-libs/gtk+-2.18.0:2 )
+ gtkmm? ( >=dev-cpp/gtkmm-2.20.0:2.4 )
+ portaudio? ( media-libs/portaudio )
+ !portaudio? ( virtual/jack )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README )
+
+PATCHES=( "${FILESDIR}/${P}-qt-5.7.0.patch" )
+
+src_configure() {
+ use qt5 && export PATH="$(qt5_get_bindir):${PATH}"
+ waf-utils_src_configure \
+ "--docdir=/usr/share/doc/${PF}" \
+ --no-qt4 \
+ $(use qt5 || echo --no-qt5) \
+ $(use gtk || echo --no-gtk3) \
+ $(use gtk2 || echo --no-gtk2) \
+ $(use gtkmm || echo --no-gtkmm) \
+ $(use portaudio && echo --portaudio)
+}