From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0BCB8139694 for ; Sun, 2 Jul 2017 10:06:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71E7C2340C0; Sun, 2 Jul 2017 10:06:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41AB42340C0 for ; Sun, 2 Jul 2017 10:06:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 623F33418B3 for ; Sun, 2 Jul 2017 10:06:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BE0A7490 for ; Sun, 2 Jul 2017 10:06:18 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1498989931.c5a6e610e460d214909f72203e40f412855f973b.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/qmidiroute/, media-sound/qmidiroute/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/qmidiroute/files/qmidiroute-0.4.0-drop-qtopengl.patch media-sound/qmidiroute/qmidiroute-0.4.0.ebuild X-VCS-Directories: media-sound/qmidiroute/ media-sound/qmidiroute/files/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: c5a6e610e460d214909f72203e40f412855f973b X-VCS-Branch: master Date: Sun, 2 Jul 2017 10:06:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7868d7c0-48df-46da-b5b4-c6559950f215 X-Archives-Hash: 3fd7737aeb8f6607fe66c074102c361a commit: c5a6e610e460d214909f72203e40f412855f973b Author: Karl Linden gmail com> AuthorDate: Sun Jul 2 06:45:36 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sun Jul 2 10:05:31 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a6e610 media-sound/qmidiroute: Patch away unnecessary check for QtOpenGL. Gentoo-Bug: 623414 Package-Manager: Portage-2.3.6, Repoman-2.3.2 .../files/qmidiroute-0.4.0-drop-qtopengl.patch | 21 +++++++++++++++++++++ media-sound/qmidiroute/qmidiroute-0.4.0.ebuild | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) 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 00000000000..3dcd67b461a --- /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 17a0a497f31..0cc6b834d2d 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}"