summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-17 17:32:03 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-17 17:49:20 +0100
commit4e006f04559c005cbe5f5bd8ccbd1e536f173674 (patch)
tree349f4e759588c38782ae80976465dfd090e2cc6a /dev-util/heaptrack
parentdev-vcs/mercurial-4.5.2: alpha stable, bug 649872 (diff)
downloadgentoo-4e006f04559c005cbe5f5bd8ccbd1e536f173674.tar.gz
gentoo-4e006f04559c005cbe5f5bd8ccbd1e536f173674.tar.bz2
gentoo-4e006f04559c005cbe5f5bd8ccbd1e536f173674.zip
dev-util/heaptrack: Add USE=zstd
Upstream commit 4edc10044f2743e067b0387d04518b94afd602e1 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-util/heaptrack')
-rw-r--r--dev-util/heaptrack/heaptrack-9999.ebuild6
-rw-r--r--dev-util/heaptrack/metadata.xml3
2 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/heaptrack/heaptrack-9999.ebuild b/dev-util/heaptrack/heaptrack-9999.ebuild
index 45bb021ef3ac..cfcb4fc58229 100644
--- a/dev-util/heaptrack/heaptrack-9999.ebuild
+++ b/dev-util/heaptrack/heaptrack-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,7 @@ HOMEPAGE="http://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
-IUSE="+qt5"
+IUSE="+qt5 zstd"
COMMON_DEPEND="
dev-libs/boost:=
@@ -33,6 +33,7 @@ COMMON_DEPEND="
$(add_qt_dep qtwidgets)
dev-libs/kdiagram:5
)
+ zstd? ( app-arch/zstd:= )
"
DEPEND="${COMMON_DEPEND}
$(add_frameworks_dep extra-cmake-modules)
@@ -44,6 +45,7 @@ RDEPEND="${COMMON_DEPEND}
src_configure() {
local mycmakeargs=(
-DHEAPTRACK_BUILD_GUI=$(usex qt5)
+ $(cmake-utils_use_find_package zstd Zstd)
)
kde5_src_configure
diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml
index c6bc2d94015a..afa56cb84284 100644
--- a/dev-util/heaptrack/metadata.xml
+++ b/dev-util/heaptrack/metadata.xml
@@ -5,4 +5,7 @@
<email>asturm@gentoo.org</email>
<name>Andreas Sturmlechner</name>
</maintainer>
+ <use>
+ <flag name="zstd">Enable support for ZSTD compression using <pkg>app-arch/zstd</pkg></flag>
+ </use>
</pkgmetadata>