From 183733539927d09d32fd63499af4279a68c31ef0 Mon Sep 17 00:00:00 2001
From: Danct12 <danct12@disroot.org>
Date: Tue, 23 Jun 2020 11:01:06 +0700
Subject: [PATCH] community/feedbackd: Upgrade to git20200527 and add missing
 udev rule

udev rule is required for feedbackd haptic feedback feature.

Signed-off-by: Danct12 <danct12@disroot.org>
---
 community/feedbackd/APKBUILD | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/community/feedbackd/APKBUILD b/community/feedbackd/APKBUILD
index 672626bf743a..762fade5084b 100644
--- a/community/feedbackd/APKBUILD
+++ b/community/feedbackd/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Rasmus Thomsen <oss@cogitri.dev>
 # Maintainer: Rasmus Thomsen <oss@cogitri.dev>
 pkgname=feedbackd
-pkgver=0_git20200420
+pkgver=0_git20200527
 pkgrel=0
 pkgdesc="A daemon to provide haptic (and later more) feedback on events"
 url="https://source.puri.sm/Librem5/feedbackd"
@@ -23,8 +23,6 @@ build() {
 		--buildtype=plain \
 		-Dgtk_doc=true \
 		. output
-	# https://source.puri.sm/Librem5/feedbackd/issues/14
-	ninja -C output data/lfb-gdbus.h
 	ninja -C output
 }
 
@@ -34,6 +32,8 @@ check() {
 
 package() {
 	DESTDIR="$pkgdir" ninja -C output install
+	install -Dm644 "$builddir"/debian/feedbackd.udev \
+		"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd.rules
 }
 
-sha512sums="823cbfad23625e86820ba78473df7826a85af925d41bee8bebe6ba5ecd692eed2e2ab8280456f28aa28b2549cea168f73047ae1f0d520f7a65c7b75b2e9e8766  feedbackd-v0.0.0+git20200420.tar.gz"
+sha512sums="a9b60c2a3137191ef1d3633bf1e4bcc7fa7ed44e2bbf30413a4d6a89ffed236487c7e755293a9f9a1ce13ae21c640d0ae7b56568089790c1b294bbfa4f524512  feedbackd-v0.0.0+git20200527.tar.gz"
-- 
GitLab