summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorZetok Zalbavar <zetok@openmailbox.org>2017-08-17 18:05:38 +0100
committerMichał Górny <mgorny@gentoo.org>2017-08-18 21:24:34 +0200
commit186d9a1312d5bedb613c66b41bec0b094b505b6b (patch)
treec0dc6037235f17c5a26efa52ecab3d5087c147e8 /net-im
parentnet-im/qtox: bump to v1.11.0 (diff)
downloadgentoo-186d9a1312d5bedb613c66b41bec0b094b505b6b.tar.gz
gentoo-186d9a1312d5bedb613c66b41bec0b094b505b6b.tar.bz2
gentoo-186d9a1312d5bedb613c66b41bec0b094b505b6b.zip
net-im/qtox: remove no longer needed pkg_pretend and cleanup live ebuild
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-im')
-rw-r--r--net-im/qtox/qtox-9999.ebuild15
1 files changed, 2 insertions, 13 deletions
diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild
index 81225cbbff1d..cd4bd86f7e95 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