1 |
commit: 706cf0917b4998a2320782261a807e3b004b0f5b |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 6 03:49:19 2021 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 6 03:49:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706cf091 |
7 |
|
8 |
sys-apps/bolt: 0.9.1 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
sys-apps/bolt/Manifest | 1 + |
14 |
sys-apps/bolt/bolt-0.9.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/bolt/Manifest b/sys-apps/bolt/Manifest |
18 |
index 41dbe3bd2d0..b9ff8e808f5 100644 |
19 |
--- a/sys-apps/bolt/Manifest |
20 |
+++ b/sys-apps/bolt/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST bolt-0.9.1.tar.gz 250978 BLAKE2B a3b1ea51704e2b54abb0135013019b9cad6ed9c0acfdb56797e19c9b5a1abe9f921446cfcc5b664f73bbbff857cf8d420f588517d4c633d1b3776a35c37fc882 SHA512 c925c290de75d3fa2dfb9e86b2f14ea39279b3f2ab6bebeced72a7853c901d44de02157d684534af2b54edd3a2e0b2ba61e889579ab1b192f99e98a2d73685d9 |
23 |
DIST bolt-0.9.tar.gz 238596 BLAKE2B 8032ecb83d39d6c3550c000eed400ee0451e5ed94f7c898ffe9c8fcf512af387cfd759bd94241a47623b5aac63615bcda40ddb3e9ae3ec4060da20e46d7e9b7d SHA512 427e9ad95a8d018dd22326cc4b458fc9149b001d3aa6e4bb8e4047eaf6c3cf04a4dc3be9396049734dc0bd54f990b3bce31b6eef4031e3b671a6202a588cfe78 |
24 |
|
25 |
diff --git a/sys-apps/bolt/bolt-0.9.1.ebuild b/sys-apps/bolt/bolt-0.9.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..34cd766665e |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/bolt/bolt-0.9.1.ebuild |
30 |
@@ -0,0 +1,57 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit linux-info meson systemd |
37 |
+ |
38 |
+DESCRIPTION="Userspace system daemon to enable security levels for Thunderbolt 3" |
39 |
+HOMEPAGE="https://gitlab.freedesktop.org/bolt/bolt" |
40 |
+SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="doc systemd" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ >=dev-libs/glib-2.56.0:2 |
49 |
+ dev-util/glib-utils |
50 |
+ virtual/libudev |
51 |
+ virtual/udev |
52 |
+ dev-util/umockdev |
53 |
+ sys-auth/polkit[introspection] |
54 |
+ systemd? ( sys-apps/systemd ) |
55 |
+ doc? ( app-text/asciidoc )" |
56 |
+RDEPEND="${DEPEND}" |
57 |
+ |
58 |
+pkg_pretend() { |
59 |
+ if use kernel_linux && kernel_is lt 5 6; then |
60 |
+ CONFIG_CHECK="~THUNDERBOLT" |
61 |
+ ERROR_THUNDERBOLT="This package requires the thunderbolt kernel driver." |
62 |
+ else |
63 |
+ CONFIG_CHECK="~USB4" |
64 |
+ ERROR_USB4="This package requires the USB4 kernel driver for Thunderbolt support." |
65 |
+ fi |
66 |
+ check_extra_config |
67 |
+ |
68 |
+ CONFIG_CHECK="~HOTPLUG_PCI" |
69 |
+ ERROR_HOTPLUG_PCI="Thunderbolt requires PCI hotplug support." |
70 |
+ check_extra_config |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ local emesonargs=( |
75 |
+ -Dman=$(usex doc true false) |
76 |
+ --sysconfdir=/etc |
77 |
+ --localstatedir=/var |
78 |
+ --sharedstatedir=/var/lib |
79 |
+ ) |
80 |
+ meson_src_configure |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ meson_src_install |
85 |
+ newinitd "${FILESDIR}"/${PN}.openrc-r1 boltd |
86 |
+ keepdir /var/lib/boltd |
87 |
+} |