media-sound/qmidiroute: Bump to EAPI 6.
authorKarl Linden <karl.j.linden@gmail.com>
Sun, 2 Jul 2017 16:42:36 +0000 (18:42 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 3 Jul 2017 08:54:30 +0000 (10:54 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

media-sound/qmidiroute/qmidiroute-0.4.0.ebuild

index 0cc6b834d2d19578ec0a9edb6fea605b94cb20c3..782410c6e9e392c1c88be62ed95d44f3c8f65161 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit autotools flag-o-matic multilib qmake-utils
+EAPI=6
+inherit autotools flag-o-matic qmake-utils
 
 DESCRIPTION="QMidiRoute is a filter/router for MIDI events"
 HOMEPAGE="http://alsamodular.sourceforge.net"
@@ -21,8 +21,12 @@ DEPEND="${RDEPEND}
        dev-qt/linguist-tools:5
        virtual/pkgconfig"
 
+PATCHES=(
+       "${FILESDIR}"/${P}-drop-qtopengl.patch
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-drop-qtopengl.patch
+       default
        eautoreconf
 }
 
@@ -31,8 +35,3 @@ src_configure() {
        export PATH="$(qt5_get_bindir):${PATH}"
        econf --enable-qt5
 }
-
-src_install() {
-       emake DESTDIR="${D}" install || die
-       dodoc AUTHORS ChangeLog NEWS README TODO
-}