diff options
author | 2021-10-17 00:16:02 -0400 | |
---|---|---|
committer | 2021-10-17 00:16:02 -0400 | |
commit | f247954270690e385e453866fe0e7882e6e66069 (patch) | |
tree | 8943edae6d15786d5f1bcc7c528ada9c7b1b0e02 /sys-auth/fprintd/fprintd-1.94.0.ebuild | |
parent | 085cf6472e2646c859ce6452918ab59044a2a9cd (diff) | |
download | ppo-f247954270690e385e453866fe0e7882e6e66069.tar.xz |
no systemd please.
Diffstat (limited to 'sys-auth/fprintd/fprintd-1.94.0.ebuild')
-rw-r--r-- | sys-auth/fprintd/fprintd-1.94.0.ebuild | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/sys-auth/fprintd/fprintd-1.94.0.ebuild b/sys-auth/fprintd/fprintd-1.94.0.ebuild index 11125a8..c4cc4c0 100644 --- a/sys-auth/fprintd/fprintd-1.94.0.ebuild +++ b/sys-auth/fprintd/fprintd-1.94.0.ebuild @@ -24,7 +24,11 @@ RDEPEND="dev-libs/dbus-glib >=sys-auth/libfprint-${PV} sys-auth/polkit systemd? ( sys-apps/systemd ) - pam? ( sys-libs/pam )" + pam? ( + systemd? ( sys-apps/systemd ) + !systemd? ( sys-auth/elogind ) + sys-libs/pam + )" DEPEND="${RDEPEND} dev-util/intltool gtk-doc? ( @@ -37,27 +41,24 @@ BDEPEND="test? ( pam? ( sys-libs/pam_wrapper ) )" +PATCHES=( + "${FILESDIR}/${PN}-1.90.7_0001-add-test-feature-and-make-tests-optional.patch" + "${FILESDIR}/${PN}-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch" +) + S="${WORKDIR}/${PN}-v${PV}-${SHA}" DOCS=( pam/README ) -src_prepare() { - # Remove test dep checks - if ! use test; then - sed -e "/.*'dbusmock': true.*/d" -i meson.build || die "sed failed" - sed -e "/.*'pypamtest': .*/d" -i meson.build || die "sed failed" - sed -e '/pam_wrapper_dep =.*/d' -i meson.build || die "sed failed" - sed -e "/^subdir('tests')/d" -i meson.build || die "sed failed" - sed -e "/With address sanitizer: /d" -i meson.build || die "sed failed" - fi - default -} - src_configure() { local emesonargs=( + $(meson_feature test) + $(meson_use pam) -Dsystemd_system_unit_dir=$(systemd_get_systemunitdir) -Dman=true -Dgtk_doc=$(usex gtk-doc true false) + -Dpam_modules_dir=$(getpam_mod_dir) + -Dlibsystemd=$(usex systemd libsystemd libelogind) ) meson_src_configure } @@ -77,4 +78,4 @@ src_install() { pkg_postinst() { elog "Please take a look at README.pam_fprintd for integration docs." -}
\ No newline at end of file +} |