Diff libfprint-1.94.7 with a libfprint-1.94.9-r1
| /usr/portage/sys-auth/libfprint/libfprint-1.94.9-r1.ebuild 2025-11-26 18:18:03.563346772 +0300 | ||
|---|---|---|
| 12 | 12 |
https://fprint.freedesktop.org/ |
| 13 | 13 |
https://gitlab.freedesktop.org/libfprint/libfprint |
| 14 | 14 |
" |
| 15 |
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
|
|
| 15 |
SRC_URI=" |
|
| 16 |
!tod? ( |
|
| 17 |
https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2
|
|
| 18 |
) |
|
| 19 |
tod? ( |
|
| 20 |
https://gitlab.freedesktop.org/3v1n0/${PN}/-/archive/v${PV}+tod1/${MY_P}+tod1.tar.bz2 -> ${P}+tod1.tar.bz2
|
|
| 21 |
) |
|
| 22 |
" |
|
| 23 |
S="${WORKDIR}/${MY_P}"
|
|
| 16 | 24 | |
| 17 | 25 |
LICENSE="LGPL-2.1+" |
| 18 | 26 |
SLOT="2" |
| 19 |
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" |
|
| 20 |
IUSE="examples gtk-doc +introspection" |
|
| 27 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
| 28 |
IUSE="examples gtk-doc +introspection tod" |
|
| 21 | 29 | |
| 22 | 30 |
RDEPEND=" |
| 23 | 31 |
dev-libs/glib:2 |
| 24 | 32 |
dev-libs/libgudev |
| 25 |
dev-libs/nss |
|
| 33 |
>=dev-libs/openssl-3:= |
|
| 26 | 34 |
dev-python/pygobject |
| 27 | 35 |
dev-libs/libgusb |
| 28 | 36 |
x11-libs/pixman |
| ... | ... | |
| 47 | 55 | |
| 48 | 56 |
PATCHES=( |
| 49 | 57 |
"${FILESDIR}/${PN}-1.94.1-test-timeout.patch"
|
| 50 |
"${FILESDIR}/${PN}-1.94.7-skip-test-dep.patch"
|
|
| 51 | 58 |
) |
| 52 | 59 | |
| 53 |
S="${WORKDIR}/${MY_P}"
|
|
| 60 |
# As this version introduces metainfo for appstreamcli checking, |
|
| 61 |
# we neeed to disable network access during the tests. |
|
| 62 |
export AS_VALIDATE_NONET="true" |
|
| 63 | ||
| 64 |
src_unpack() {
|
|
| 65 |
default |
|
| 66 |
if use tod; then |
|
| 67 |
mv "${WORKDIR}/${MY_P}+tod1" "${S}" || die
|
|
| 68 |
fi |
|
| 69 |
} |
|
| 54 | 70 | |
| 55 | 71 |
src_configure() {
|
| 72 |
# https://gitlab.freedesktop.org/3v1n0/libfprint/-/issues/10 |
|
| 73 |
# Untill upstream have analysed it we are doing this as a workaround |
|
| 74 |
# https://github.com/gentoo/gentoo/pull/43857#discussion_r2400425455 |
|
| 75 |
if use tod && tc-ld-is-lld; then |
|
| 76 |
append-ldflags $(test-flags-CCLD -Wl,--undefined-version) |
|
| 77 |
fi |
|
| 78 | ||
| 56 | 79 |
# TODO: wire up test deps (cairo, pygobject, etc) for extra tests |
| 57 | 80 |
# currently skipped. |
| 58 | 81 |
local emesonargs=( |
| ... | ... | |
| 65 | 88 |
-Dudev_rules_dir=$(get_udevdir)/rules.d |
| 66 | 89 |
) |
| 67 | 90 | |
| 91 |
use tod && emesonargs+=( -Dtod=true ) |
|
| 92 | ||
| 68 | 93 |
meson_src_configure |
| 69 | 94 |
} |
| 70 | 95 | |