media-sound/jalv: bump 1.6.4
authorMiroslav Šulc <fordfrog@gentoo.org>
Fri, 20 Dec 2019 10:50:03 +0000 (11:50 +0100)
committerMiroslav Šulc <fordfrog@gentoo.org>
Fri, 20 Dec 2019 10:50:19 +0000 (11:50 +0100)
1) dropped python 2_7 and 3_5, added 3_7 and 3_8
2) updated deps
3) removed already applied patches and updated qt patch

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
media-sound/jalv/Manifest
media-sound/jalv/files/jalv-1.6.4-qt-5.7.0.patch [new file with mode: 0644]
media-sound/jalv/jalv-1.6.4.ebuild [new file with mode: 0644]

index 1012fb45ac34f992aa6b334649dd7714b0ef5921..b474faaebf87d69d4f7efa29d7a7d37a52d9e553 100644 (file)
@@ -1 +1,2 @@
 DIST jalv-1.6.0.tar.bz2 157726 BLAKE2B d1d35ccc3c0234d0005b83fca89ba0570f747f65568da6b5ea4ef0a0974bbd729540555e3cdcd77f3f5b7a8de9f987c7743e258d7544c8d70c7c51aaae84f9a5 SHA512 70453404788846774ef88b43653379f97140301e09e8de61779683df9ee85120485bebf03c959624639dc4d8dd71ce83db2a89b14b66be17696a88d1820ac1b3
+DIST jalv-1.6.4.tar.bz2 346053 BLAKE2B 15f2a94d2b7809f865ee38c6e872ecb32e7c3aa856ad733a3c06e372bf3d3b6c5e434397fe325a8d336e0ef3f0786f4bd2beb14259945b2b1356a48f956a10b1 SHA512 bef75f422cae7d536e0caa620ea47872277e42001044a2682deb2c1aa3ecd8fc51056b4a49a950cbd04c6694751579f9932e7dd0f7868f9825ccc2d8e2110c1b
diff --git a/media-sound/jalv/files/jalv-1.6.4-qt-5.7.0.patch b/media-sound/jalv/files/jalv-1.6.4-qt-5.7.0.patch
new file mode 100644 (file)
index 0000000..1f9b614
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/wscript b/wscript
+index af363ca..5060b4d 100644
+--- a/wscript
++++ b/wscript
+@@ -235,7 +235,7 @@ def build(bld):
+                   lib          = ['pthread'],
+                   uselib       = libs + ' QT5',
+                   install_path = '${BINDIR}',
+-                  cxxflags     = ['-fPIC'])
++                  cxxflags     = ['-fPIC', '-std=c++11'])
+     # Man pages
+     bld.install_files('${MANDIR}/man1', bld.path.ant_glob('doc/*.1'))
diff --git a/media-sound/jalv/jalv-1.6.4.ebuild b/media-sound/jalv/jalv-1.6.4.ebuild
new file mode 100644 (file)
index 0000000..a11ca9d
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+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="
+       >=dev-libs/serd-0.24.0
+       >=dev-libs/sord-0.14.0
+       >=media-libs/lilv-0.24.0
+       >=media-libs/lv2-1.16.0
+       >=media-libs/sratom-0.6.0
+       >=media-libs/suil-0.10.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.md )
+
+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)
+}