New commit
This commit is contained in:
@@ -1,40 +1,38 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit vala meson
|
||||
inherit vala meson udev
|
||||
|
||||
GMO_COMMIT="ac8a5dcff1ec7ec55c793d90252861a68d23b1df"
|
||||
GMO_COMMIT="1039e7808195d4de367ce2718481641ca8af2427"
|
||||
|
||||
DESCRIPTION="A daemon to provide haptic feedback on events"
|
||||
HOMEPAGE="https://source.puri.sm/Librem5/feedbackd"
|
||||
SRC_URI="
|
||||
https://source.puri.sm/Librem5/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz
|
||||
https://gitlab.gnome.org/guidog/gmobile/-/archive/${GMO_COMMIT}/gmobile-${GMO_COMMIT}.tar.gz
|
||||
"
|
||||
|
||||
"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="gtk-doc +introspection man test +vala"
|
||||
IUSE="+introspection +vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
gnome-base/dconf
|
||||
media-libs/gsound
|
||||
dev-libs/json-glib
|
||||
dev-libs/libgudev:=
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/feedbackd-device-themes
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/gdbus-codegen
|
||||
gtk-doc? ( dev-util/gi-docgen )
|
||||
man? ( dev-python/docutils )
|
||||
dev-libs/gobject-introspection
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
@@ -48,21 +46,9 @@ src_prepare() {
|
||||
mv "${WORKDIR}"/gmobile-"${GMO_COMMIT}" "${S}"/subprojects/gmobile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
mv "${ED}"/usr/share/doc/libfeedback-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
fi
|
||||
|
||||
udev_newrules "${S}/debian/feedbackd.udev" 90-feedbackd.rules
|
||||
systemd_newunit "${FILESDIR}"/org.sigxcpu.Feedback.service 'org.sigxcpu.Feedback.service'
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user