# 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"
dev-qt/linguist-tools:5
virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/${P}-drop-qtopengl.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-drop-qtopengl.patch
+ default
eautoreconf
}
export PATH="$(qt5_get_bindir):${PATH}"
econf --enable-qt5
}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README TODO
-}