You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
710 B
47 lines
710 B
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
QTMIN=6.6.2
|
|
inherit ecm frameworks.kde.org udev
|
|
|
|
DESCRIPTION="Qt wrapper for Bluez 5 DBus API"
|
|
|
|
LICENSE="LGPL-2"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
DEPEND="
|
|
>=dev-qt/qtbase-${QTMIN}:6[dbus,network]
|
|
>=dev-qt/qtdeclarative-${QTMIN}:6
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DUDEV_RULES_INSTALL_DIR="$(get_udevdir)/rules.d"
|
|
)
|
|
|
|
ecm_src_configure
|
|
}
|
|
|
|
src_test() {
|
|
local CMAKE_SKIP_TESTS=(
|
|
# bug 668196, hangs
|
|
managertest
|
|
)
|
|
# parallel tests fail, bug 609248
|
|
ecm_src_test -j1
|
|
}
|
|
|
|
pkg_postinst() {
|
|
ecm_pkg_postinst
|
|
udev_reload
|
|
}
|
|
|
|
pkg_postrm() {
|
|
ecm_pkg_postrm
|
|
udev_reload
|
|
}
|