Added gmobile back
This commit is contained in:
@@ -6,9 +6,15 @@ VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit vala meson
|
||||
|
||||
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"
|
||||
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"
|
||||
@@ -37,6 +43,9 @@ src_prepare() {
|
||||
|
||||
use vala && vala_setup
|
||||
sed -i 's/-G feedbackd/-G video/g' debian/feedbackd.udev || die
|
||||
|
||||
rm -r "${S}"/subprojects/gmobile || die
|
||||
mv "${WORKDIR}"/gmobile-"${GMO_COMMIT}" "${S}"/subprojects/gmobile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -51,6 +60,7 @@ src_install() {
|
||||
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'
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user