[proaudio] media-sound/jconvolver: updated ebuild

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Updated EAPI and yet, there is issue: while installing reverbs from
separate tarball, it doesn't install configs from release tarball.

Attachment: jconvolver-0.9.2-r1.ebuild
Description: Binary data

--- /var/lib/layman/proaudio/media-sound/jconvolver/jconvolver-0.9.2.ebuild	2017-09-15 15:06:22.216199774 +0500
+++ /usr/local/portage/media-sound/jconvolver/jconvolver-0.9.2-r1.ebuild	2018-05-27 23:08:43.963748878 +0500
@@ -2,13 +2,14 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
-inherit base toolchain-funcs
+EAPI=6
+
+inherit toolchain-funcs multilib
 
 DESCRIPTION="Command line convolution reverb by Fons Adriaensen"
-HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html";
-SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2
-	examples? ( http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${PN}-reverbs.tar.bz2 )"
+HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/index.html";
+SRC_URI="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2
+	examples? ( https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${PN}-reverbs.tar.bz2 )"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -31,15 +32,16 @@
 PATCHES=("${FILESDIR}/${P}-Makefile.patch")
 
 src_compile() {
-	CXX="$(tc-getCXX)" base_src_make
+	emake PREFIX="${EPREFIX}/usr" CXX="$(tc-getCXX)" LIBDIR=$(get_libdir) SUFFIX=""
 }
 
 src_install() {
-	base_src_install PREFIX="${EPREFIX}/usr"
+	emake install PREFIX="${EPREFIX}/usr" DESTDIR=${D}
 
 	if use examples; then
 		insinto /usr/share/doc/${PF}/examples
 		docompress -x /usr/share/doc/${PF}/examples
 		doins -r "${WORKDIR}"/reverbs/*
+		doins -r "${WORKDIR}"/${P}/config-files/*
 	fi
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/