sys-apps/bolt: initial add of the daemon
authorMatthew Thode <prometheanfire@gentoo.org>
Thu, 28 Jun 2018 15:41:07 +0000 (10:41 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Thu, 28 Jun 2018 15:41:25 +0000 (10:41 -0500)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sys-apps/bolt/Manifest [new file with mode: 0644]
sys-apps/bolt/bolt-0.4.ebuild [new file with mode: 0644]
sys-apps/bolt/metadata.xml [new file with mode: 0644]

diff --git a/sys-apps/bolt/Manifest b/sys-apps/bolt/Manifest
new file mode 100644 (file)
index 0000000..2a40331
--- /dev/null
@@ -0,0 +1 @@
+DIST bolt-0.4.tar.gz 113525 BLAKE2B 4d6b25b60a35bbeee724e4549a49709ff19d99457c8a35c02c66026cdca999359220d09812f8e9f44586b5e3cf3dda2e3ff30f35a4f37ed6d815535e62af39f3 SHA512 3ea6b748768b5d9df60425274ecdb4ccd5ce6599e01f0648a24704643fbbadd7a114d4a1946ee3b7bd8866935758cbfe4494734c26c12ccc508c205a036d5317
diff --git a/sys-apps/bolt/bolt-0.4.ebuild b/sys-apps/bolt/bolt-0.4.ebuild
new file mode 100644 (file)
index 0000000..43fd351
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit 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"
+IUSE="doc"
+
+DEPEND="
+       >=dev-libs/glib-2.50.0:2
+       virtual/libudev
+       virtual/udev
+       sys-auth/polkit[introspection]
+       doc? ( app-text/asciidoc )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local emesonargs=(
+               -Dman=$(usex doc true false)
+               --sysconfdir=/etc
+               --localstatedir=/var
+               --sharedstatedir=/var/lib
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+       keepdir /var/lib/boltd
+}
diff --git a/sys-apps/bolt/metadata.xml b/sys-apps/bolt/metadata.xml
new file mode 100644 (file)
index 0000000..f67393c
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>prometheanfire@gentoo.org</email>
+               <name>Matthew Thode</name>
+       </maintainer>
+       <longdescription lang="en">
+               Userspace system daemon to enable security levels for Thunderbolt 3 on GNU/Linux.
+       </longdescription>
+</pkgmetadata>