gentoo/app-crypt/zulucrypt/zulucrypt-7.0.0.ebuild
Nicolas PARLANT 5a331a7a1e
app-crypt/zulucrypt: fix compile
remove -pie for shared-libs zuluCrypt and zuluCrypt-exe

Closes: https://bugs.gentoo.org/961174
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44953
Closes: https://github.com/gentoo/gentoo/pull/44953
Signed-off-by: Sam James <sam@gentoo.org>
2025-12-08 15:06:49 +00:00

49 lines
1.1 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Front end to cryptsetup"
HOMEPAGE="https://mhogomchungu.github.io/zuluCrypt/"
SRC_URI="https://github.com/mhogomchungu/${PN}/releases/download/${PV}/${P}.tar.xz"
S="${WORKDIR}/zuluCrypt-${PV}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="keyring kwallet +qt6 udev"
REQUIRED_USE="kwallet? ( qt6 )"
DEPEND="
dev-libs/libgcrypt:0=
sys-fs/cryptsetup:=
keyring? ( app-crypt/libsecret )
qt6? (
dev-libs/libpwquality
dev-qt/qtbase:6[gui,network,widgets]
kwallet? ( kde-frameworks/kwallet:6 )
)"
RDEPEND="${DEPEND}
udev? ( virtual/udev )"
BDEPEND="virtual/pkgconfig"
PATCHES=(
# PR pending https://github.com/mhogomchungu/zuluCrypt/pull/241.patch
"${FILESDIR}"/${PN}-7.0.0-fix_linking.patch
)
src_configure() {
local mycmakeargs=(
-DBUILD_WITH_QT6=ON
-DINTERNAL_ZULUPLAY=ON
-DLIB_SUFFIX="$(get_libdir)"
-DNOGNOME=$(usex !keyring)
-DNOKDE=$(usex !kwallet)
-DNOGUI=$(usex !qt6)
-DUDEVSUPPORT=$(usex udev)
)
cmake_src_configure
}