commit: 186d9a1312d5bedb613c66b41bec0b094b505b6b
Author: Zetok Zalbavar <zetok <AT> openmailbox <DOT> org>
AuthorDate: Thu Aug 17 17:05:38 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 19:24:34 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186d9a13
net-im/qtox: remove no longer needed pkg_pretend and cleanup live ebuild
Package-Manager: Portage-2.3.6, Repoman-2.3.1
net-im/qtox/qtox-9999.ebuild | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild
index 81225cbbff1..cd4bd86f7e9 100644
--- a/net-im/qtox/qtox-9999.ebuild
+++ b/net-im/qtox/qtox-9999.ebuild
@@ -45,21 +45,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if tc-is-gcc ; then
- if [[ $(gcc-major-version) == 4 && $(gcc-minor-version)
-lt 8 || $(gcc-major-version) -lt 4 ]] ; then
- eerror "You need at least sys-devel/gcc-4.8.3"
- die "You need at least sys-devel/gcc-4.8.3"
- fi
- fi
- fi
-}
-
src_configure() {
local mycmakeargs=(
- -DENABLE_STATUSNOTIFIER=$(usex gtk True False)
- -DENABLE_GTK_SYSTRAY=$(usex gtk True False)
+ -DENABLE_STATUSNOTIFIER=$(usex gtk)
+ -DENABLE_GTK_SYSTRAY=$(usex gtk)
)
cmake-utils_src_configure