Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bolt/
Date: Mon, 01 Oct 2018 21:35:17
Message-Id: 1538429701.e4998618c43329105a73040581b414ff8deaa464.prometheanfire@gentoo
1 commit: e4998618c43329105a73040581b414ff8deaa464
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 1 21:34:44 2018 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 1 21:35:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4998618
7
8 sys-apps/bolt: 0.5 bump
9
10 no more hard dep on systemd :D
11
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13 Package-Manager: Portage-2.3.49, Repoman-2.3.11
14
15 sys-apps/bolt/Manifest | 1 +
16 sys-apps/bolt/bolt-0.5.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 42 insertions(+)
18
19 diff --git a/sys-apps/bolt/Manifest b/sys-apps/bolt/Manifest
20 index 2a403319177..f33ef2b9eb6 100644
21 --- a/sys-apps/bolt/Manifest
22 +++ b/sys-apps/bolt/Manifest
23 @@ -1 +1,2 @@
24 DIST bolt-0.4.tar.gz 113525 BLAKE2B 4d6b25b60a35bbeee724e4549a49709ff19d99457c8a35c02c66026cdca999359220d09812f8e9f44586b5e3cf3dda2e3ff30f35a4f37ed6d815535e62af39f3 SHA512 3ea6b748768b5d9df60425274ecdb4ccd5ce6599e01f0648a24704643fbbadd7a114d4a1946ee3b7bd8866935758cbfe4494734c26c12ccc508c205a036d5317
25 +DIST bolt-0.5.tar.gz 149665 BLAKE2B ca7f937d4b7f4911cba93f8619e52af37f18a6542bc76aaee388a9122ea38d11ba0a21f4afb45bd6109e12ada4662783cb8f7aebec0d58751ace6c18c49ace88 SHA512 d36f2e39ac53b131fb9607055231a5a205c368547c0db2c3a7537b6e60b156c8b0663d1e5b09c825e1e1a63fbe21087746d0bafde1bd474eb90f1d0cff991246
26
27 diff --git a/sys-apps/bolt/bolt-0.5.ebuild b/sys-apps/bolt/bolt-0.5.ebuild
28 new file mode 100644
29 index 00000000000..6c33d40166b
30 --- /dev/null
31 +++ b/sys-apps/bolt/bolt-0.5.ebuild
32 @@ -0,0 +1,41 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit meson systemd
39 +
40 +DESCRIPTION="Userspace system daemon to enable security levels for Thunderbolt 3."
41 +HOMEPAGE="https://gitlab.freedesktop.org/bolt/bolt"
42 +SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="doc systemd"
48 +
49 +DEPEND="
50 + >=dev-libs/glib-2.50.0:2
51 + virtual/libudev
52 + virtual/udev
53 + dev-util/umockdev
54 + sys-auth/polkit[introspection]
55 + systemd? ( sys-apps/systemd:0= )
56 + doc? ( app-text/asciidoc )"
57 +RDEPEND="${DEPEND}"
58 +
59 +src_configure() {
60 + local emesonargs=(
61 + -Dman=$(usex doc true false)
62 + --sysconfdir=/etc
63 + --localstatedir=/var
64 + --sharedstatedir=/var/lib
65 + -Dsystemd=$(usex systemd true false)
66 + )
67 + meson_src_configure
68 +}
69 +
70 +src_install() {
71 + meson_src_install
72 + keepdir /var/lib/boltd
73 +}