diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sys-apps/bolt | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sys-apps/bolt')
-rw-r--r-- | sys-apps/bolt/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/bolt/bolt-0.9-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/bolt/bolt-0.9-r2.ebuild | 57 |
3 files changed, 60 insertions, 2 deletions
diff --git a/sys-apps/bolt/Manifest b/sys-apps/bolt/Manifest index f2b6c2a45e9f..5f5e08dd151d 100644 --- a/sys-apps/bolt/Manifest +++ b/sys-apps/bolt/Manifest @@ -1,4 +1,5 @@ AUX bolt.openrc 362 BLAKE2B 1cefc0db24bcd6dca7483a582f89a68800e13651330d8873c2b9f3042c70e0f8d8a2b7c363ceeae5ec63fa4b736b42e129f9e90ea4a576e5419af7e0e26d848e SHA512 59616543c6cd101373249b06bcbc0b7dd13fb2c8e45d6dc61a56088434cdf0a6b57630471bd2d788dd6253b66bcbfc3ec60b11ba8442043e837119130344216e DIST bolt-0.9.tar.gz 238596 BLAKE2B 8032ecb83d39d6c3550c000eed400ee0451e5ed94f7c898ffe9c8fcf512af387cfd759bd94241a47623b5aac63615bcda40ddb3e9ae3ec4060da20e46d7e9b7d SHA512 427e9ad95a8d018dd22326cc4b458fc9149b001d3aa6e4bb8e4047eaf6c3cf04a4dc3be9396049734dc0bd54f990b3bce31b6eef4031e3b671a6202a588cfe78 -EBUILD bolt-0.9-r1.ebuild 1179 BLAKE2B 2275f3ce707e18f2481a34f7b96acfb2f58a03d511be185ffcaa50e93460b52cdb78d202f5b3bec36147aca04a4585bdbf4b5ecb4d98a70d9b05e58b7eccf716 SHA512 01e8bfa3ee62e9f28c3da06f7adf5c79be75b736a3fa7f1ce6f0cff559307f3e254a63bb6115fbecc0d70f95baae02f4fe4b5772cd225075d9541bf27192c279 +EBUILD bolt-0.9-r1.ebuild 1177 BLAKE2B a7a5ceab008d24574f7083de09add23527d5e40038f2ba4eb59f74976b5a78001d4bd1fee77dd4dcba158b7012c4c8488cd46d905f6c32241788d195e46cbad4 SHA512 d3012cc8b13f071d2a16b67bb0ccac040275068ff2044d403f6b6dcb19f9955fb69ccf3f3dd1e0ba93a161824570ae250b02b28fd7ca35275174b7b206d6a9c7 +EBUILD bolt-0.9-r2.ebuild 1346 BLAKE2B 43be6bb874f701c691ac94f8cb5d655e15048aaf5c0f99f4c287d9dc1cce35201f0c349e1d25b859f3bd57d5d835649e2f9ebf41eea7ac26422f1905d96a0655 SHA512 621f50a5d1dcd18e5a7ea7c1163f094537a67f03e2bc317e9f2271110737a6d32ae5649c3183ba2935063880b37563f448ca56ddfbc0fde5395ff21e566be12c MISC metadata.xml 254 BLAKE2B 731c7015b1415180253ab851fc24ad031153050aa0feff41781a5c16ced70787ca132b4fe53adaa8a189de944dda987c65081162895f1f03d68dc77405308fa7 SHA512 49faa8aa0aef31db638fe291aa55ff114f96fd9f9b2c733f88b326b44f3e9dbf627e825de7c41d45f208b2b7e5e6cd5c03e6fee3fa6013625ce7ce158bbc9a31 diff --git a/sys-apps/bolt/bolt-0.9-r1.ebuild b/sys-apps/bolt/bolt-0.9-r1.ebuild index 8145c75880e1..afb1c1ec6aad 100644 --- a/sys-apps/bolt/bolt-0.9-r1.ebuild +++ b/sys-apps/bolt/bolt-0.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="doc systemd" DEPEND=" diff --git a/sys-apps/bolt/bolt-0.9-r2.ebuild b/sys-apps/bolt/bolt-0.9-r2.ebuild new file mode 100644 index 000000000000..ddf044ade359 --- /dev/null +++ b/sys-apps/bolt/bolt-0.9-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info meson systemd + +DESCRIPTION="Userspace system daemon to enable security levels for Thunderbolt 3" +HOMEPAGE="https://gitlab.freedesktop.org/bolt/bolt" +SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc systemd" + +DEPEND=" + >=dev-libs/glib-2.56.0:2 + dev-util/glib-utils + virtual/libudev + virtual/udev + dev-util/umockdev + sys-auth/polkit[introspection] + systemd? ( sys-apps/systemd ) + doc? ( app-text/asciidoc )" +RDEPEND="${DEPEND}" + +pkg_pretend() { + if use kernel_linux && kernel_is lt 5 6; then + CONFIG_CHECK="~THUNDERBOLT" + ERROR_THUNDERBOLT="This package requires the thunderbolt kernel driver." + else + CONFIG_CHECK="~USB4" + ERROR_USB4="This package requires the USB4 kernel driver for Thunderbolt support." + fi + check_extra_config + + CONFIG_CHECK="~HOTPLUG_PCI" + ERROR_HOTPLUG_PCI="Thunderbolt requires PCI hotplug support." + check_extra_config +} + +src_configure() { + local emesonargs=( + -Dman=$(usex doc true false) + --sysconfdir=/etc + --localstatedir=/var + --sharedstatedir=/var/lib + ) + meson_src_configure +} + +src_install() { + meson_src_install + newinitd "${FILESDIR}"/${PN}.openrc boltd + keepdir /var/lib/boltd +} |