Updated gmobile

This commit is contained in:
Gerben Jan Dijkman 2024-05-21 14:26:43 +02:00
parent 83d7f3f2d1
commit 1dba9597f4

View File

@ -6,12 +6,10 @@ VALA_USE_DEPEND="vapigen"
inherit vala meson udev inherit vala meson udev
GMOBILE_COMMIT="d483537aee4778b114ce5d50c4c8a9f8d58337ed"
DESCRIPTION="A daemon to provide haptic feedback on events" DESCRIPTION="A daemon to provide haptic feedback on events"
HOMEPAGE="https://source.puri.sm/Librem5/feedbackd" HOMEPAGE="https://source.puri.sm/Librem5/feedbackd"
SRC_URI=" SRC_URI="
https://source.puri.sm/Librem5/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 https://source.puri.sm/Librem5/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
https://gitlab.gnome.org/guidog/gmobile/-/archive/${GMOBILE_COMMIT}.tar.bz2 -> gmobile-${GMOBILE_COMMIT}.tar.bz2
" "
S="${WORKDIR}/${PN}-v${PV}" S="${WORKDIR}/${PN}-v${PV}"
@ -43,14 +41,7 @@ BDEPEND="
src_prepare() { src_prepare() {
default default
if use daemon; then
rmdir "${S}/subprojects/gmobile" || die
mv "${WORKDIR}/gmobile-${GMOBILE_COMMIT}" "${S}/subprojects/gmobile" || die
fi
use vala && vala_setup use vala && vala_setup
sed -i 's/-G feedbackd/-G video/g' debian/feedbackd.udev || die
} }
src_configure() { src_configure() {