diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-22 20:47:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-22 20:47:41 +0100 |
commit | 5deadca7219297a3c1f90eca00544a00e33efdbc (patch) | |
tree | 1cf7fc930e051b39dbd0d7921edad5f94f729500 /sys-apps/bolt | |
parent | 614dee2f9d146b148d9c54dd480e7df81ba2f3a7 (diff) |
gentoo auto-resync : 22:07:2022 - 20:47:41
Diffstat (limited to 'sys-apps/bolt')
-rw-r--r-- | sys-apps/bolt/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/bolt/bolt-0.9.2.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/sys-apps/bolt/Manifest b/sys-apps/bolt/Manifest index f237239847cb..fc393b8bedba 100644 --- a/sys-apps/bolt/Manifest +++ b/sys-apps/bolt/Manifest @@ -1,5 +1,7 @@ AUX bolt.openrc 362 BLAKE2B 1cefc0db24bcd6dca7483a582f89a68800e13651330d8873c2b9f3042c70e0f8d8a2b7c363ceeae5ec63fa4b736b42e129f9e90ea4a576e5419af7e0e26d848e SHA512 59616543c6cd101373249b06bcbc0b7dd13fb2c8e45d6dc61a56088434cdf0a6b57630471bd2d788dd6253b66bcbfc3ec60b11ba8442043e837119130344216e AUX bolt.openrc-r1 374 BLAKE2B 91dcbfb842166837d4a89c12e7c8b39db9810ba1ffd18eb1ee61798f3634952440b1bb79118d1486819c34916b266a8c47b4398df42ba8f0c3411d482e2e4874 SHA512 3731459efce91c89e5a601b649acc7ed4faee4d08d2a52a5784dc53b914a15113003516e8fed64e532dc703e019ed53b37ec9a4414b770165c1e46813392f9d3 DIST bolt-0.9.1.tar.gz 250978 BLAKE2B a3b1ea51704e2b54abb0135013019b9cad6ed9c0acfdb56797e19c9b5a1abe9f921446cfcc5b664f73bbbff857cf8d420f588517d4c633d1b3776a35c37fc882 SHA512 c925c290de75d3fa2dfb9e86b2f14ea39279b3f2ab6bebeced72a7853c901d44de02157d684534af2b54edd3a2e0b2ba61e889579ab1b192f99e98a2d73685d9 +DIST bolt-0.9.2.tar.gz 252532 BLAKE2B 45ea8ae2e77a90099152e708dafe68e63492d0370b734612b516d4a772507174c3df75ddd7d6bdea4be5022a88e1e286a738d3b8df6a662ef3b0b92ac7328730 SHA512 69e7ffa58a6dbc8a1b14fd7e11e2291fa60227896ead1a449839716b581c6ab0e351d3ed62f9b51c5e44a5a33ba5e23dc5af73a1b4eef87f733b3231d5454e90 EBUILD bolt-0.9.1.ebuild 1354 BLAKE2B dedb9b7de3679ed6aafd054c58d746b02dacf315f434dd274c18389836aeb9623f691ba835f452719bd7b73123ae277e43cff7d28dee8cf311464453c1897fcc SHA512 d7d47c0bcfb543d3c701de1ddd8e328663bfb1dfa6766b8429dc91633aa6de4bb3bebbd506cf1b0290113453c42171cd4a452a08e3ce89c15d186a7761b367a3 +EBUILD bolt-0.9.2.ebuild 1452 BLAKE2B b683cc6d4e8d9f7f9b1ea4984307f7e973e6a027bb68e19f1b9fdac696bf8d4b0fc0f4199b3dfbca9f16dfc2b8eae1ac3da35b77d1eefcb3fdc6d9fd4eb79bab SHA512 ad9da5d13b4c9d02f6fdfa1e6e7125285fecff867ba96b5ec753398377a8bd16a9969ae6fe5c905b7cafc106836752cf45c8941bc53d1957daabd7cfc5caffb1 MISC metadata.xml 255 BLAKE2B 7788f736048880a23aeeb4baf5daf3bf65fd82dc4e6f56e63d2897a055acebf8ac480d249f297ec54cae1cc44031435effd37165455a16c62ca7acc6be63cf21 SHA512 6069c94a7b02290a08fe052105613139fccd952f5507bac994d2fd9aa4359e9b1b76e5fb0f1111474594d3d25ef6d5ac54b93d611f3512ef9bcbe5cf28f5f35e diff --git a/sys-apps/bolt/bolt-0.9.2.ebuild b/sys-apps/bolt/bolt-0.9.2.ebuild new file mode 100644 index 000000000000..b6e173c5433b --- /dev/null +++ b/sys-apps/bolt/bolt-0.9.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info meson udev + +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 GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.56.0:2 + virtual/libudev:= + virtual/udev + sys-auth/polkit[introspection] +" +DEPEND=" + ${RDEPEND} + test? ( dev-util/umockdev ) +" +BDEPEND=" + app-text/asciidoc + dev-util/glib-utils + virtual/pkgconfig +" + +pkg_setup() { + 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 + CONFIG_CHECK+=" ~HOTPLUG_PCI" + ERROR_HOTPLUG_PCI="Thunderbolt requires PCI hotplug support." + + linux-info_pkg_setup +} + +src_configure() { + local emesonargs=( + -Dman=true + --sysconfdir="${EPREFIX}"/etc + --localstatedir="${EPREFIX}"/var + --sharedstatedir="${EPREFIX}"/var/lib + ) + meson_src_configure +} + +src_install() { + meson_src_install + newinitd "${FILESDIR}"/${PN}.openrc-r1 boltd + keepdir /var/lib/boltd +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |