public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/feedbackd/
Date: Wed, 15 Feb 2023 13:56:38 +0000 (UTC)	[thread overview]
Message-ID: <1676468354.8cdf32cdb63daaaef9e7b6325280d51e9d5d9a30.cybertailor@gentoo> (raw)

commit:     8cdf32cdb63daaaef9e7b6325280d51e9d5d9a30
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Feb 14 23:42:11 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Feb 15 13:39:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8cdf32cd

dev-libs/feedbackd: add 0.0.3, drop 0.0.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-libs/feedbackd/Manifest                        |  2 +-
 ...edbackd-0.0.1.ebuild => feedbackd-0.0.3.ebuild} | 41 +++++++++++++---------
 2 files changed, 26 insertions(+), 17 deletions(-)

diff --git a/dev-libs/feedbackd/Manifest b/dev-libs/feedbackd/Manifest
index c98d4e1dc..691d8f763 100644
--- a/dev-libs/feedbackd/Manifest
+++ b/dev-libs/feedbackd/Manifest
@@ -1,2 +1,2 @@
-DIST feedbackd-v0.0.1.tar.gz 84253 BLAKE2B cbbcf82f2141be03a5c1e8259257fa158f8bfa366cbd56d93e728ac4c504fb9591ebee723ff5128e5d1db6c50d7226754f233edd8f08239d550f3287f517f8a5 SHA512 903e597d3883dc49c06a3032fdd398f98ea5ea68ed54d5bd79bcf471abe89982ca2559558b98658eca193bc7c1ca505955d29b3a054fc5e2a2c7f5cbeabcc78b
 DIST feedbackd-v0.0.2.tar.gz 91741 BLAKE2B 088047712fc1cce219bd1fe6b7f82883eb9806ff6b14f932012f42dc13ff12958a807b0a64e88c56bd1f89b4e4da4c0b78400960fc71f3a7ac4c3e78c14f8341 SHA512 2ed47aac914a32ebfc8c1d1982f7fd4aaff5516593bc1360864c04dc59a8506f31bd272c37fc866fc3962429a2a0a4fabef944c8f0d48e7772082cd3490e911f
+DIST feedbackd-v0.0.3.tar.gz 92301 BLAKE2B 53849f68106423db287a7961140f37141e4911e538a67e8e45afdbe9d69861089d9ac64f002de12794fbe00bfc09bbcb9fc5909a6c961df6d0f6cc8c3ff875c9 SHA512 de4365b8941e93a81618e4f2a3f5575d28f81ac53dcb54c249c5e3494157091e06fc55a522e76933304303d6b5ecba9697c5639a2838441637468f21502f4d92

diff --git a/dev-libs/feedbackd/feedbackd-0.0.1.ebuild b/dev-libs/feedbackd/feedbackd-0.0.3.ebuild
similarity index 50%
rename from dev-libs/feedbackd/feedbackd-0.0.1.ebuild
rename to dev-libs/feedbackd/feedbackd-0.0.3.ebuild
index 5b1962e35..e19f29923 100644
--- a/dev-libs/feedbackd/feedbackd-0.0.1.ebuild
+++ b/dev-libs/feedbackd/feedbackd-0.0.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 VALA_USE_DEPEND="vapigen"
 
-inherit vala meson udev
+inherit vala meson
 
 DESCRIPTION="A daemon to provide haptic feedback on events"
 HOMEPAGE="https://source.puri.sm/Librem5/feedbackd"
@@ -14,20 +14,21 @@ S="${WORKDIR}/${PN}-v${PV}"
 LICENSE="LGPL-3"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 SLOT="0"
-IUSE="+introspection +vala"
+IUSE="gtk-doc +introspection man test +vala"
 REQUIRED_USE="vala? ( introspection )"
+RESTRICT="!test? ( test )"
 
 DEPEND="
-	gnome-base/dconf
-	media-libs/gsound
-	dev-libs/json-glib
-	dev-libs/libgudev:=
+	dev-libs/glib:2
+	introspection? ( dev-libs/gobject-introspection )
 "
 RDEPEND="${DEPEND}
 	dev-libs/feedbackd-device-themes
 "
 BDEPEND="
-	dev-libs/gobject-introspection
+	dev-util/gdbus-codegen
+	gtk-doc? ( dev-util/gi-docgen )
+	man? ( dev-python/docutils )
 	vala? ( $(vala_depend) )
 "
 
@@ -38,15 +39,23 @@ src_prepare() {
 	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
+src_configure() {
+	local emesonargs=(
+		$(meson_feature introspection)
+		$(meson_use gtk-doc gtk_doc)
+		$(meson_use man)
+		$(meson_use test tests)
+		$(meson_use vala vapi)
+		-Ddaemon=false # gmobile is not packaged yet
+	)
+	meson_src_configure
 }
 
-pkg_postinst() {
-	udev_reload
-}
+src_install() {
+	meson_src_install
 
-pkg_postrm() {
-	udev_reload
+	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
 }


             reply	other threads:[~2023-02-15 13:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 13:56 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-20  9:02 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/feedbackd/ Anna Vyalkova
2024-06-30  4:10 Anna Vyalkova
2024-04-21 12:53 Anna Vyalkova
2023-04-28  4:32 Anna Vyalkova
2023-03-30 15:26 Anna Vyalkova
2023-03-24 21:06 Anna Vyalkova
2023-03-24 11:17 Anna Vyalkova
2023-03-21  1:31 Anna Vyalkova
2023-03-21  1:31 Anna Vyalkova
2023-03-17  3:30 Julien Roy
2023-03-01  2:33 Anna Vyalkova
2023-01-01  0:19 Anna Vyalkova
2022-12-20 23:14 Anna Vyalkova
2022-11-17 21:22 Anna Vyalkova
2022-11-11 14:03 Anna Vyalkova
2022-01-08 22:02 Gerben Jan Dijkman
2021-07-24 15:25 Andrew Ammerlaan
2021-07-24  6:05 Gerben Jan Dijkman
2021-07-24  5:50 Gerben Jan Dijkman
2021-06-25 10:11 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-06-25 10:11 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-06-22 14:40 Marco Scardovi
2021-06-22 14:38 Marco Scardovi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1676468354.8cdf32cdb63daaaef9e7b6325280d51e9d5d9a30.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox