mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 14:36:58 +02:00
app-crypt/pinentry: Sync with Gentoo
It's from Gentoo commit 3c4ef49e721fdefe3fd4f8cbf5040233fd110aa6.
This commit is contained in:
parent
a7ed7b1be7
commit
47b3e895f3
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -14,7 +14,7 @@ SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="caps efl emacs gtk keyring ncurses qt5 qt6 wayland X"
|
||||
IUSE="caps efl emacs gtk keyring ncurses qt6 wayland X"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libassuan-2.1:=
|
||||
@ -23,16 +23,6 @@ DEPEND="
|
||||
efl? ( dev-libs/efl[X] )
|
||||
keyring? ( app-crypt/libsecret )
|
||||
ncurses? ( sys-libs/ncurses:= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
wayland? ( kde-plasma/kwayland:5 )
|
||||
X? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
)
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtbase:6[gui,widgets]
|
||||
wayland? (
|
||||
@ -76,35 +66,21 @@ src_configure() {
|
||||
$(use_enable gtk pinentry-gnome3)
|
||||
$(use_enable ncurses fallback-curses)
|
||||
$(use_enable ncurses pinentry-curses)
|
||||
$(use_enable qt5 pinentry-qt5)
|
||||
$(use_enable qt6 pinentry-qt)
|
||||
# TODO: could split this up into qt5/qt6?
|
||||
$(use_enable X qtx11extras)
|
||||
$(use_with X x)
|
||||
|
||||
--enable-pinentry-tty
|
||||
--disable-kf5-wayland
|
||||
--disable-pinentry-fltk
|
||||
--disable-pinentry-gtk2
|
||||
--disable-pinentry-qt5
|
||||
--disable-qtx11extras
|
||||
|
||||
ac_cv_path_GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
|
||||
|
||||
$("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
|
||||
)
|
||||
|
||||
if use qt5 ; then
|
||||
export PATH="$(qt5_get_bindir):${PATH}"
|
||||
export QTLIB="$(qt5_get_libdir):${QTLIB}"
|
||||
export MOC5="$(qt5_get_bindir)"/moc
|
||||
|
||||
myeconfargs+=(
|
||||
$(use_enable wayland kf5-wayland)
|
||||
)
|
||||
else
|
||||
myeconfargs+=(
|
||||
--disable-kf5-wayland
|
||||
)
|
||||
fi
|
||||
|
||||
if use qt6 ; then
|
||||
export PATH="$(qt6_get_bindir):${PATH}"
|
||||
export QTLIB="$(qt6_get_libdir):${QTLIB}"
|
Loading…
Reference in New Issue
Block a user