dev-util/heaptrack: Add USE=zstd

Upstream commit 4edc10044f2743e067b0387d04518b94afd602e1

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Andreas Sturmlechner
2018-03-17 17:32:03 +01:00
parent 8c4e95024b
commit 4e006f0455
2 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

@@ -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>