aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-04-21 17:52:44 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-04-21 17:52:44 +0500
commit330e438460ab8f293caccf47c19e62d5df79b246 (patch)
tree54ac4f0c7bf9b5d34cc397c04ff975b0f7c273b5 /dev-libs
parentdev-libs/gmobile: new package, add 0.1.0 (diff)
downloadguru-330e438460ab8f293caccf47c19e62d5df79b246.tar.gz
guru-330e438460ab8f293caccf47c19e62d5df79b246.tar.bz2
guru-330e438460ab8f293caccf47c19e62d5df79b246.zip
dev-libs/feedbackd: add 0.3.0, drop 0.1.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/feedbackd/Manifest3
-rw-r--r--dev-libs/feedbackd/feedbackd-0.3.0.ebuild (renamed from dev-libs/feedbackd/feedbackd-0.1.1.ebuild)31
2 files changed, 20 insertions, 14 deletions
diff --git a/dev-libs/feedbackd/Manifest b/dev-libs/feedbackd/Manifest
index 0179c1ffa..6e0b7648c 100644
--- a/dev-libs/feedbackd/Manifest
+++ b/dev-libs/feedbackd/Manifest
@@ -1,3 +1,4 @@
-DIST feedbackd-v0.1.1.tar.bz2 76231 BLAKE2B 0ef5b501d8619cc1278d6469ffeb91b65303a5601387665606fb14a2edb83e7a0f2cc3be84e0fbe496f0f482fba6bb4d0c8444ee2c4356f7af787dff7a30cc64 SHA512 6f7ef65b156504665d4f0eba73c2b4209f4f3c8bd41a46e367a0dde4fbe9e1cabbc9e237a1b3bb399fba847c47717db11295766a34f8ba58cf8f32a07b333a80
+DIST feedbackd-0.3.0.tar.xz 106640 BLAKE2B 03c5d11422891d2c36c07e07e3ea705de0e5fca0e759bd2cfd481959c7782a63b76b79e11cdf3f37d50b22a9deeab79a30faefefdc399fb0d2ea544d76532e96 SHA512 243ee56cb96541181fc2ae614ae80be694dc1d7cf3a240927f843efb7c8736e0c4ca227af8872ed3caad68ff896c5339ea3f4148099f5327a16ca0c95346d996
+DIST feedbackd-0.3.0.tar.xz.asc 833 BLAKE2B 85979a8d0dc2be4fa4f0ba9ee3bf02b05415aafed62b259a1dbd2bbd5c8b09b447bfa33d4909f2ed08060f3cbdaf5610a9a0c3e60784577155e12553650fbe00 SHA512 d17c3374a522c76a86bbae0fdb920e5372d48336890d1616e693f157ff5b5949152ff83b6ce5710c4d147d0265cb3b430cbc4bb4dc091e1910badbd831655019
DIST feedbackd-v0.2.0.tar.bz2 76695 BLAKE2B 81928442f05c0623eba46aa37ba1957c216d8d7fe8bd89b55a3ab4928d3b95c4792ee30325f878eb9bce82ee262219233b9cdc3e086c1954e7811d5574b9ecaf SHA512 d758cd135b10b76fd35b64a66ec46261fc66be75095898a6592f4efdea7a9f94a850c654e63cde028e9f80cc7f180396d7e1fe46222611c5140b2116ac04ca6d
DIST gmobile-d483537aee4778b114ce5d50c4c8a9f8d58337ed.tar.bz2 20337 BLAKE2B f94295672ed699f308ccfab3835ed6c7f1184c0e267ea1c2ab7b6d59c98b3d027b300bf6d29db6442de20cec852f5c1031d1b09f220e94afc79c48566c160676 SHA512 86acabbffb1b5f98f2b132ce5bd12940769c11ed53d38401a0048216943a4b095bd230774d83444e7b5f5d26825f32ced0075dce7354f6fa486d47ef5f86b4f3
diff --git a/dev-libs/feedbackd/feedbackd-0.1.1.ebuild b/dev-libs/feedbackd/feedbackd-0.3.0.ebuild
index 69f16f01e..106947856 100644
--- a/dev-libs/feedbackd/feedbackd-0.1.1.ebuild
+++ b/dev-libs/feedbackd/feedbackd-0.3.0.ebuild
@@ -4,26 +4,24 @@
EAPI=8
VALA_USE_DEPEND="vapigen"
-inherit vala meson
+inherit meson udev vala verify-sig
-GMOBILE_COMMIT="d483537aee4778b114ce5d50c4c8a9f8d58337ed"
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.bz2
- https://gitlab.gnome.org/guidog/gmobile/-/archive/${GMOBILE_COMMIT}.tar.bz2 -> gmobile-${GMOBILE_COMMIT}.tar.bz2
-"
-S="${WORKDIR}/${PN}-v${PV}"
+SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz
+ verify-sig? ( https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz.asc )"
LICENSE="LGPL-3"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+daemon gtk-doc +introspection man test +vala"
+
REQUIRED_USE="vala? ( introspection )"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/glib:2
+ dev-libs/gmobile
daemon? (
dev-libs/json-glib
dev-libs/libgudev
@@ -39,16 +37,14 @@ BDEPEND="
gtk-doc? ( dev-util/gi-docgen )
man? ( dev-python/docutils )
vala? ( $(vala_depend) )
+ verify-sig? ( sec-keys/openpgp-keys-phosh )
"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/phosh.asc"
+
src_prepare() {
default
- if use daemon; then
- rmdir "${S}/subprojects/gmobile" || die
- mv "${WORKDIR}/gmobile-${GMOBILE_COMMIT}" "${S}/subprojects/gmobile" || die
- fi
-
use vala && vala_setup
sed -i 's/-G feedbackd/-G video/g' debian/feedbackd.udev || die
}
@@ -67,9 +63,18 @@ src_configure() {
src_install() {
meson_src_install
+ udev_newrules debian/feedbackd.udev 90-feedbackd
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
}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}