mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
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>
49 lines
1.1 KiB
Bash
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
|
|
}
|