mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-util/heaptrack: Add USE=zstd
Upstream commit 4edc10044f2743e067b0387d04518b94afd602e1 Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user