public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bolt/
Date: Fri, 16 Oct 2020 02:04:48 +0000 (UTC)	[thread overview]
Message-ID: <1602813867.3e5f5de3f8caaf44243b5b4c5c6dcad5f62c76c8.prometheanfire@gentoo> (raw)

commit:     3e5f5de3f8caaf44243b5b4c5c6dcad5f62c76c8
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 02:03:52 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 02:04:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5f5de3

sys-apps/bolt: 0.9-r2 - work with newer kernels

Closes: https://bugs.gentoo.org/740724
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 sys-apps/bolt/bolt-0.9-r2.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

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 00000000000..ddf044ade35
--- /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
+}


             reply	other threads:[~2020-10-16  2:05 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16  2:04 Matthew Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-22 19:22 [gentoo-commits] repo/gentoo:master commit in: sys-apps/bolt/ Matthew Thode
2024-05-16 21:35 Patrick McLean
2024-05-16 16:20 Patrick McLean
2024-05-16 16:20 Patrick McLean
2024-02-21 18:17 Patrick McLean
2023-12-08 18:29 Patrick McLean
2023-11-14 21:49 Kenton Groombridge
2022-10-28  3:37 Jakov Smolić
2022-10-28  3:37 Jakov Smolić
2022-08-26 23:28 Sam James
2022-08-26 23:27 Sam James
2022-08-26 21:01 Matt Turner
2022-07-22 18:30 Matt Turner
2021-08-06 15:13 Matthew Thode
2021-07-05 20:02 Matthew Thode
2021-06-06  3:49 Matthew Thode
2021-04-12 17:33 Sam James
2021-04-12 17:33 Sam James
2021-01-19 17:40 Matthew Thode
2020-10-07 11:05 Agostino Sarubbo
2020-10-07 10:44 Agostino Sarubbo
2020-08-24 18:14 Matthew Thode
2020-07-03 22:48 Matthew Thode
2020-06-09 21:31 Matthew Thode
2020-01-30 22:08 Matthew Thode
2020-01-03 20:42 Matthew Thode
2019-11-26 10:59 Thomas Deutschmann
2019-10-15 15:52 Matthew Thode
2019-07-11  2:12 Matthew Thode
2019-03-28 20:49 Matthew Thode
2018-10-02 15:15 Matthew Thode
2018-10-01 21:35 Matthew Thode
2018-07-30 17:04 Matt Thode
2018-06-28 15:42 Matt Thode

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=1602813867.3e5f5de3f8caaf44243b5b4c5c6dcad5f62c76c8.prometheanfire@gentoo \
    --to=prometheanfire@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