From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/ykpers/
Date: Thu, 16 May 2019 08:32:37 +0000 (UTC) [thread overview]
Message-ID: <1557995549.82a86ba7b8a7e4395cb979869b11c85dcfdcc01c.polynomial-c@gentoo> (raw)
commit: 82a86ba7b8a7e4395cb979869b11c85dcfdcc01c
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 08:31:15 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu May 16 08:32:29 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a86ba7
sys-auth/ykpers: Added elogind USE flag.
Bumped ebuild to EAPI-7
Closes: https://bugs.gentoo.org/686014
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
sys-auth/ykpers/ykpers-1.19.3.ebuild | 32 ++++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)
diff --git a/sys-auth/ykpers/ykpers-1.19.3.ebuild b/sys-auth/ykpers/ykpers-1.19.3.ebuild
index 1996fb57cb4..a014641d7eb 100644
--- a/sys-auth/ykpers/ykpers-1.19.3.ebuild
+++ b/sys-auth/ykpers/ykpers-1.19.3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools udev
@@ -12,17 +12,21 @@ HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="BSD-2"
-IUSE="static-libs consolekit"
+IUSE="consolekit elogind static-libs"
-RDEPEND="
+DEPEND="
dev-libs/json-c:=
>=sys-auth/libyubikey-1.6
virtual/libusb:1"
-DEPEND="${RDEPEND}
+BDEPEND="
app-text/asciidoc
virtual/pkgconfig"
-RDEPEND="${RDEPEND}
- consolekit? ( sys-auth/consolekit[acl] )"
+RDEPEND="${DEPEND}
+ consolekit? ( sys-auth/consolekit[acl] )
+ elogind? ( sys-auth/elogind[acl] )
+"
+
+REQUIRED_USE="^^ ( consolekit elogind )"
S="${WORKDIR}/yubikey-personalization-${PV}"
@@ -31,18 +35,26 @@ DOCS=( doc/. AUTHORS NEWS README )
src_prepare() {
default
eautoreconf
+
+ if use elogind ; then
+ sed '/TEST==/d' -i 70-yubikey.rules || die
+ fi
}
src_configure() {
- econf \
- --libdir=/usr/$(get_libdir) \
- --localstatedir=/var \
+ local myeconfargs=(
+ --libdir=/usr/$(get_libdir)
+ --localstatedir=/var
$(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {
default
- use consolekit && udev_dorules *.rules
+ if use consolekit || use elogind ; then
+ udev_dorules *.rules
+ fi
find "${D}" -name '*.la' -delete || die
}
next reply other threads:[~2019-05-16 8:32 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-16 8:32 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-04 1:15 [gentoo-commits] repo/gentoo:master commit in: sys-auth/ykpers/ Sam James
2022-09-01 23:22 Marek Szuba
2022-09-01 19:14 Sam James
2022-09-01 19:14 Sam James
2022-06-15 9:53 Marek Szuba
2021-10-10 20:44 Marek Szuba
2021-09-13 16:26 Marek Szuba
2021-09-13 16:26 Marek Szuba
2021-08-10 0:22 Göktürk Yüksek
2021-01-04 20:14 Andreas K. Hüttel
2020-10-04 19:46 Mikle Kolyada
2020-09-07 7:35 Sergei Trofimovich
2020-05-18 15:13 Agostino Sarubbo
2020-05-18 15:08 Agostino Sarubbo
2020-05-09 8:47 Mart Raudsepp
2019-12-02 21:07 Göktürk Yüksek
2019-12-02 21:07 Göktürk Yüksek
2019-08-06 9:42 Agostino Sarubbo
2019-08-06 8:00 Agostino Sarubbo
2019-06-05 15:35 Lars Wendler
2019-05-16 9:37 Lars Wendler
2019-05-16 8:13 Manuel Rüger
2019-02-27 13:11 Michael Palimaka
2019-02-22 10:17 Mikle Kolyada
2019-02-20 21:50 Thomas Deutschmann
2018-10-02 19:36 Richard Farina
2018-03-04 10:19 Jason Zaman
2018-03-04 6:51 Thomas Deutschmann
2018-03-03 5:20 Göktürk Yüksek
2017-10-04 7:13 Göktürk Yüksek
2017-10-03 7:09 Jonas Stein
2017-05-28 22:17 Manuel Rüger
2017-05-05 4:27 Patrick McLean
2017-04-28 16:15 Alexys Jacob
2016-08-07 9:30 Pacho Ramos
2016-01-08 0:00 Manuel Rüger
2016-01-08 0:00 Manuel Rüger
2015-10-05 22:58 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1557995549.82a86ba7b8a7e4395cb979869b11c85dcfdcc01c.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox