diff options
author | Karl Linden <karl.j.linden@gmail.com> | 2017-07-02 08:45:36 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-07-02 12:05:31 +0200 |
commit | c5a6e610e460d214909f72203e40f412855f973b (patch) | |
tree | da1c1e4d2ff189f22612da895e84f4bed2416c7f /media-sound/qmidiroute | |
parent | media-video/x264-encoder: bump a new snapshot (diff) | |
download | gentoo-c5a6e610e460d214909f72203e40f412855f973b.tar.gz gentoo-c5a6e610e460d214909f72203e40f412855f973b.tar.bz2 gentoo-c5a6e610e460d214909f72203e40f412855f973b.zip |
media-sound/qmidiroute: Patch away unnecessary check for QtOpenGL.
Gentoo-Bug: 623414
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-sound/qmidiroute')
-rw-r--r-- | media-sound/qmidiroute/files/qmidiroute-0.4.0-drop-qtopengl.patch | 21 | ||||
-rw-r--r-- | media-sound/qmidiroute/qmidiroute-0.4.0.ebuild | 7 |
2 files changed, 27 insertions, 1 deletions
diff --git a/media-sound/qmidiroute/files/qmidiroute-0.4.0-drop-qtopengl.patch b/media-sound/qmidiroute/files/qmidiroute-0.4.0-drop-qtopengl.patch new file mode 100644 index 000000000000..3dcd67b461a9 --- /dev/null +++ b/media-sound/qmidiroute/files/qmidiroute-0.4.0-drop-qtopengl.patch @@ -0,0 +1,21 @@ +# Drop unused and silent dependency on QtOpenGL. Fixes #623414. +--- qmidiroute-0.4.0.orig/configure.ac ++++ qmidiroute-0.4.0/configure.ac +@@ -29,7 +29,7 @@ + dnl Check needed because in some cases the QtGui includedir + dnl doesn't contain the subsystem dir. + QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui` +- QT_CXXFLAGS=`$PKG_CONFIG --cflags QtCore QtGui QtOpenGL` ++ QT_CXXFLAGS=`$PKG_CONFIG --cflags QtCore QtGui` + EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" + AC_CHECK_FILE([$QT_INCLUDE_DIR/QWidget], + AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]), +@@ -58,7 +58,7 @@ + dnl Check needed because in some cases the QtGui includedir + dnl doesn't contain the subsystem dir. + QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir Qt5Gui` +- QT_CXXFLAGS=`$PKG_CONFIG --cflags Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets` ++ QT_CXXFLAGS=`$PKG_CONFIG --cflags Qt5Core Qt5Gui Qt5Widgets` + QT_CXXFLAGS="$QT_CXXFLAGS -fPIC" + EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" + AC_CHECK_FILE([$QT_INCLUDE_DIR/QtWidgets/QWidget], diff --git a/media-sound/qmidiroute/qmidiroute-0.4.0.ebuild b/media-sound/qmidiroute/qmidiroute-0.4.0.ebuild index 17a0a497f317..0cc6b834d2d1 100644 --- a/media-sound/qmidiroute/qmidiroute-0.4.0.ebuild +++ b/media-sound/qmidiroute/qmidiroute-0.4.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=2 -inherit flag-o-matic multilib qmake-utils +inherit autotools flag-o-matic multilib qmake-utils DESCRIPTION="QMidiRoute is a filter/router for MIDI events" HOMEPAGE="http://alsamodular.sourceforge.net" @@ -21,6 +21,11 @@ DEPEND="${RDEPEND} dev-qt/linguist-tools:5 virtual/pkgconfig" +src_prepare() { + epatch "${FILESDIR}"/${P}-drop-qtopengl.patch + eautoreconf +} + src_configure() { append-cxxflags '-std=c++11' export PATH="$(qt5_get_bindir):${PATH}" |