hfd-service-0.2.3gentoo-lomiri
download
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit lomiri qmake-utils
if [[ ${PV} == 9999 ]]; then
KEYWORDS=""
EGIT_REPO_URI="https://gitlab.com/ubports/development/core/${PN}.git"
inherit git-r3
else
KEYWORDS="~amd64"
SRC_URI="https://gitlab.com/ubports/development/core/${PN}/-/archive/${PV}/${P}.tar.gz"
fi
DESCRIPTION="Service that manages human feedback devices on mobile devices"
HOMEPAGE="https://gitlab.com/ubports/development/core/${PN}"
LICENSE="GPL-3"
SLOT="0"
RESTRICT="test mirror"
DEPEND="
dev-libs/deviceinfo
dev-libs/gbinder
dev-libs/libglibutil
dev-qt/qtfeedback:5
sys-apps/accountsservice
sys-apps/dbus
virtual/libudev
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-build/cmake
dev-build/cmake-extras
dev-build/samurai
virtual/pkgconfig
"
src_configure() {
# add 'qmlplugindump' to PATH
export PATH="$(qt5_get_bindir):${PATH}"
local mycmakeargs=(
-DENABLE_LIBHYBRIS="OFF" )
lomiri_src_configure
}