* [gentoo-commits] repo/gentoo:master commit in: games-util/higan-purify/
@ 2018-01-16 21:06 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2018-01-16 21:06 UTC (permalink / raw
To: gentoo-commits
commit: 1499c399ef291536a434f3cf897f155ce4c43624
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 00:57:10 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 16 21:06:07 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1499c399
games-util/higan-purify: Drop USE=qt4
Closes: https://bugs.gentoo.org/641924
Package-Manager: Portage-2.3.19, Repoman-2.3.6
games-util/higan-purify/higan-purify-03.ebuild | 36 +++++---------------------
1 file changed, 7 insertions(+), 29 deletions(-)
diff --git a/games-util/higan-purify/higan-purify-03.ebuild b/games-util/higan-purify/higan-purify-03.ebuild
index e383d0cfc5c..e9613fa1ec2 100644
--- a/games-util/higan-purify/higan-purify-03.ebuild
+++ b/games-util/higan-purify/higan-purify-03.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit eutils multilib toolchain-funcs qmake-utils
+inherit eutils multilib toolchain-funcs
MY_P=purify_v${PV}-source
@@ -14,51 +14,29 @@ SRC_URI="https://higan.googlecode.com/files/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="qt4"
+IUSE=""
RDEPEND="
dev-games/higan-ananke
- x11-libs/libX11
- !qt4? ( x11-libs/gtk+:2 )
- qt4? ( >=dev-qt/qtgui-4.5:4 )"
+ x11-libs/gtk+:2
+ x11-libs/libX11"
DEPEND="${RDEPEND}
virtual/pkgconfig"
-S=${WORKDIR}/${MY_P}/purify
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 || $(gcc-major-version) -lt 4 ]] ; then
- eerror "You need at least sys-devel/gcc-4.7.0"
- die "You need at least sys-devel/gcc-4.7.0"
- fi
- fi
-}
+S="${WORKDIR}"/${MY_P}/purify
src_prepare() {
epatch "${FILESDIR}"/${P}-QA.patch
sed -i \
-e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \
nall/dl.hpp || die
-
- # regenerate .moc if needed
- if use qt4; then
- cd phoenix/qt || die
- "$(qt4_get_bindir)"/moc -i -I. -o platform.moc platform.moc.hpp || die
- fi
}
src_compile() {
- if use qt4; then
- mytoolkit="qt"
- else
- mytoolkit="gtk"
- fi
-
emake \
platform="x" \
compiler="$(tc-getCXX)" \
- phoenix="${mytoolkit}"
+ phoenix="gtk"
}
src_install() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-16 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-16 21:06 [gentoo-commits] repo/gentoo:master commit in: games-util/higan-purify/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox