1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit cmake linux-info
8 DESCRIPTION="Thunderbolt(TM) user-space components"
9 HOMEPAGE="https://github.com/intel/thunderbolt-software-user-space"
10 SRC_URI="https://github.com/intel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
11 https://dev.gentoo.org/~asturm/distfiles/${P}-tbtadm.1.tar.xz"
18 # man needs app-text/txt2tags which is dormant upstream, so it is shipped pregenerated
19 DEPEND="dev-libs/boost:="
22 PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
25 CONFIG_CHECK="THUNDERBOLT"
26 ERROR_THUNDERBOLT="This program talks to the thunderbolt kernel driver, so please enable it."
27 CONFIG_CHECK="HOTPLUG_PCI"
28 ERROR_HOTPLUG_PCI="Thunderbolt needs pci hotplug support, so please enable it."
34 cmake_comment_add_subdirectory docs