aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-11 19:03:38 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-11 19:03:38 +0500
commitbe15d180cc95c7d44fcac8f9cf70c8b553216ee5 (patch)
tree4613632b1140c811eca18841cddd740e80830557 /dev-libs/feedbackd
parentwww-apps/invidious: new package, add 2022.11.02 (diff)
downloadguru-be15d180cc95c7d44fcac8f9cf70c8b553216ee5.tar.gz
guru-be15d180cc95c7d44fcac8f9cf70c8b553216ee5.tar.bz2
guru-be15d180cc95c7d44fcac8f9cf70c8b553216ee5.zip
dev-libs/feedbackd: add 0.0.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-libs/feedbackd')
-rw-r--r--dev-libs/feedbackd/Manifest1
-rw-r--r--dev-libs/feedbackd/feedbackd-0.0.1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/feedbackd/Manifest b/dev-libs/feedbackd/Manifest
index d556de2a4..67705bb61 100644
--- a/dev-libs/feedbackd/Manifest
+++ b/dev-libs/feedbackd/Manifest
@@ -1 +1,2 @@
DIST feedbackd-0.0.0_p20220520.tar.gz 82971 BLAKE2B a92a782d642fdadda709e1b9b379a3253164c9397df7ce158c8c0873cced7886f41e6e3cabc19e85fc7043aedd37cead3cb61a4fb227347c0a454e88ffff822b SHA512 7400afec08cbc85f2251a0f56a08480dea1a50b30937bbe76e4828ac9aef1d9e3fe427887a5fde3337fa907c2f2a9ca0795ef41f4339b9624386d5d539a55e75
+DIST feedbackd-v0.0.1.tar.gz 84253 BLAKE2B cbbcf82f2141be03a5c1e8259257fa158f8bfa366cbd56d93e728ac4c504fb9591ebee723ff5128e5d1db6c50d7226754f233edd8f08239d550f3287f517f8a5 SHA512 903e597d3883dc49c06a3032fdd398f98ea5ea68ed54d5bd79bcf471abe89982ca2559558b98658eca193bc7c1ca505955d29b3a054fc5e2a2c7f5cbeabcc78b
diff --git a/dev-libs/feedbackd/feedbackd-0.0.1.ebuild b/dev-libs/feedbackd/feedbackd-0.0.1.ebuild
new file mode 100644
index 000000000..62a76ca64
--- /dev/null
+++ b/dev-libs/feedbackd/feedbackd-0.0.1.ebuild
@@ -0,0 +1,44 @@
+# 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 udev
+
+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"
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+SLOT="0"
+IUSE="+introspection +vala"
+REQUIRED_USE="vala? ( introspection )"
+
+DEPEND="
+ gnome-base/dconf
+ media-libs/gsound
+ dev-libs/json-glib
+ dev-libs/libgudev:=
+"
+RDEPEND="${DEPEND}
+ dev-libs/feedbackd-device-themes
+"
+BDEPEND="
+ dev-libs/gobject-introspection
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ default
+
+ use vala && vala_setup
+ sed -i 's/-G feedbackd/-G video/g' debian/feedbackd.udev || die
+}
+
+src_install() {
+ meson_src_install
+ udev_newrules "${S}/debian/feedbackd.udev" 90-feedbackd.rules
+}