diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-06-19 21:55:50 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-06-19 23:50:19 +0500 |
commit | d30b590c9d2366408b29fe4d7565c2257a7baef3 (patch) | |
tree | ec041118abefae0ac1fdecf2f75bab67fe54c55b /dev-libs | |
parent | media-sound/callaudiod: fix deps (diff) | |
download | guru-d30b590c9d2366408b29fe4d7565c2257a7baef3.tar.gz guru-d30b590c9d2366408b29fe4d7565c2257a7baef3.tar.bz2 guru-d30b590c9d2366408b29fe4d7565c2257a7baef3.zip |
dev-libs/feedbackd: tag version
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/feedbackd/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/feedbackd/feedbackd-0.0.0-r1.ebuild | 56 | ||||
-rw-r--r-- | dev-libs/feedbackd/feedbackd-0.0.0_p20220520.ebuild | 46 | ||||
-rw-r--r-- | dev-libs/feedbackd/files/pine64.pinephone.json | 175 | ||||
-rw-r--r-- | dev-libs/feedbackd/files/purism.librem5.json | 174 |
5 files changed, 47 insertions, 407 deletions
diff --git a/dev-libs/feedbackd/Manifest b/dev-libs/feedbackd/Manifest index cea03db06..d556de2a4 100644 --- a/dev-libs/feedbackd/Manifest +++ b/dev-libs/feedbackd/Manifest @@ -1,2 +1 @@ -DIST feedbackd-0.0.0-753fff3e7ae1d0bce4f58cef721e45c50c404786.tar.gz 81596 BLAKE2B 8bc99c5d2376bb9bac9ba692c56c6f9bde58ce63f7e75cb6ba882cfe12bb796144f14c9a7fbca9e05b2a77404b2f12e9bdec3c6bac9848ac977283ff23f0b539 SHA512 cc3b0429514b02aa669cb545c888df2c0c676cc7f62658a78b835fbb6218ae9b8055dc5c5802b9ce3ad3323b2ceaa99cbadad5f2c134fb00c57a3e70514ce6a8 -DIST feedbackd-device-themes-d0ac6ae01b184d65f32a640e02539e807bf2a3bf.tar.gz 14706 BLAKE2B d313db08ff0902b3050e0e7bd05c424809a3e7f158cae96943d9c7ccddd5305a1f1ba18bfc9277d5d3f0a3b97cdf3e2553753c0e8f429a17459510fbb48e21ac SHA512 483e7174ffd3e10e9159fbc4b1b7b1b291f00747870795754634e22a51b2df78530648d44f33be164d8204cc54bb6120d8a7d8a5191b4e465e3a4554bc4245d8 +DIST feedbackd-0.0.0_p20220520.tar.gz 82971 BLAKE2B a92a782d642fdadda709e1b9b379a3253164c9397df7ce158c8c0873cced7886f41e6e3cabc19e85fc7043aedd37cead3cb61a4fb227347c0a454e88ffff822b SHA512 7400afec08cbc85f2251a0f56a08480dea1a50b30937bbe76e4828ac9aef1d9e3fe427887a5fde3337fa907c2f2a9ca0795ef41f4339b9624386d5d539a55e75 diff --git a/dev-libs/feedbackd/feedbackd-0.0.0-r1.ebuild b/dev-libs/feedbackd/feedbackd-0.0.0-r1.ebuild deleted file mode 100644 index de0a06df9..000000000 --- a/dev-libs/feedbackd/feedbackd-0.0.0-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -VALA_USE_DEPEND="vapigen" - -inherit vala meson udev - -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -IUSE="+introspection +vala" -REQUIRED_USE="vala? ( introspection )" - -MY_COMMIT="753fff3e7ae1d0bce4f58cef721e45c50c404786" -MY_THEME_COMMIT="d0ac6ae01b184d65f32a640e02539e807bf2a3bf" - -DESCRIPTION="A daemon to provide haptic feedback on events" -HOMEPAGE="https://source.puri.sm/Librem5/feedbackd" - -SRC_URI="https://source.puri.sm/Librem5/feedbackd/-/archive/${MY_COMMIT}/${MY_COMMIT}.tar.gz -> ${P}-${MY_COMMIT}.tar.gz -https://source.puri.sm/Librem5/feedbackd-device-themes/-/archive/${MY_THEME_COMMIT}/feedbackd-device-themes-${MY_THEME_COMMIT}.tar.gz -" - -S=${WORKDIR}/${PN}-${MY_COMMIT} - -LICENSE="LGPL-3" -SLOT="0" - -DEPEND=" - gnome-base/dconf - media-libs/gsound - dev-libs/json-glib - dev-libs/libgudev -" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-libs/gobject-introspection - dev-util/meson - virtual/pkgconfig - vala? ( $(vala_depend) ) -" - -src_prepare() { - default - eapply_user - use vala && vala_src_prepare - sed -i 's/-G feedbackd/-G video/g' "${S}/debian/feedbackd.udev" -} - -src_install() { - default - meson_src_install - insinto /usr/share/feedbackd/themes - doins "${WORKDIR}/feedbackd-device-themes-${MY_THEME_COMMIT}/data/"*.json - udev_newrules "${S}/debian/feedbackd.udev" 90-feedbackd.rules -} diff --git a/dev-libs/feedbackd/feedbackd-0.0.0_p20220520.ebuild b/dev-libs/feedbackd/feedbackd-0.0.0_p20220520.ebuild new file mode 100644 index 000000000..3b5bfb37a --- /dev/null +++ b/dev-libs/feedbackd/feedbackd-0.0.0_p20220520.ebuild @@ -0,0 +1,46 @@ +# 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 + +MY_PV="v${PV/_p/+git}" +MY_P="${PN}-${MY_PV}" +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/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +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 +} diff --git a/dev-libs/feedbackd/files/pine64.pinephone.json b/dev-libs/feedbackd/files/pine64.pinephone.json deleted file mode 100644 index 2b628454c..000000000 --- a/dev-libs/feedbackd/files/pine64.pinephone.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "name" : "default", - "profiles" : [ - { - "name" : "full", - "feedbacks" : [ - { - "event-name" : "alarm-clock-elapsed", - "type" : "Sound", - "effect" : "alarm-clock-elapsed" - }, - { - "event-name" : "button-pressed", - "type" : "Sound", - "effect" : "button-pressed" - }, - { - "event-name" : "button-released", - "type" : "Sound", - "effect" : "button-released" - }, - { - "event-name" : "message-new-email", - "type" : "Sound", - "effect" : "message-new-email" - }, - { - "event-name" : "message-new-instant", - "type" : "Sound", - "effect" : "message-new-instant" - }, - { - "event-name" : "message-new-sms", - "type" : "Sound", - "effect" : "message-new-instant" - }, - { - "event-name" : "phone-incoming-call", - "type" : "Sound", - "effect" : "phone-incoming-call" - }, - { - "event-name" : "timeout-completed", - "type" : "Sound", - "effect" : "complete" - }, - { - "event-name" : "theme-demo", - "type" : "Sound", - "effect" : "theme-demo" - }, - { - "event-name" : "window-close", - "type" : "Sound", - "effect" : "theme-demo" - } - ] - }, - { - "name" : "quiet", - "feedbacks" : [ - { - "event-name" : "alarm-clock-elapsed", - "type" : "VibraPeriodic", - "magnitude" : 32767, - "duration" : 10000, - "fade-in-time" : 10000, - "fade-in-level": 4096 - }, - { - "event-name" : "bell-terminal", - "type" : "VibraRumble", - "duration" : 100 - }, - { - "event-name" : "button-pressed", - "type" : "VibraRumble", - "duration" : 80 - }, - { - "event-name" : "button-released", - "type" : "VibraRumble", - "duration" : 40 - }, - { - "event-name" : "message-new-email", - "type" : "VibraRumble", - "duration" : 750, - "count" : 3, - "pause" : 100 - }, - { - "event-name" : "message-new-instant", - "type" : "VibraRumble", - "duration" : 750 - }, - { - "event-name" : "message-new-sms", - "type" : "VibraRumble", - "duration" : 1250, - "count" : 2, - "pause" : 250 - }, - { - "event-name" : "message-sent-instant", - "type" : "VibraRumble", - "duration" : 250 - }, - { - "event-name" : "phone-incoming-call", - "type" : "VibraPeriodic", - "duration" : 10000 - }, - { - "event-name" : "timeout-completed", - "type" : "VibraRumble", - "duration" : 500 - }, - { - "event-name" : "theme-demo", - "type" : "VibraPeriodic", - "magnitude" : 32767, - "duration" : 5000 - }, - { - "event-name" : "window-close", - "type" : "VibraRumble", - "duration" : 75 - } - ] - }, - { - "name" : "silent", - "feedbacks" : [ - { - "event-name" : "battery-caution", - "type" : "Led", - "color" : "red", - "frequency" : 5000 - }, - { - "event-name" : "phone-missed-call", - "type" : "Led", - "color" : "blue", - "frequency" : 3000 - }, - { - "event-name" : "message-missed-email", - "type" : "Led", - "color" : "blue", - "frequency" : 2000 - }, - { - "event-name" : "message-missed-instant", - "type" : "Led", - "color" : "blue", - "frequency" : 1000 - }, - { - "event-name" : "message-missed-notification", - "type" : "Led", - "color" : "blue", - "frequency" : 500 - }, - { - "event-name" : "message-missed-sms", - "type" : "Led", - "color" : "blue", - "frequency" : 2000 - } - ] - } - ] -} - diff --git a/dev-libs/feedbackd/files/purism.librem5.json b/dev-libs/feedbackd/files/purism.librem5.json deleted file mode 100644 index 043e7263f..000000000 --- a/dev-libs/feedbackd/files/purism.librem5.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "name" : "default", - "profiles" : [ - { - "name" : "full", - "feedbacks" : [ - { - "event-name" : "alarm-clock-elapsed", - "type" : "Sound", - "effect" : "alarm-clock-elapsed" - }, - { - "event-name" : "button-pressed", - "type" : "Sound", - "effect" : "button-pressed" - }, - { - "event-name" : "button-released", - "type" : "Sound", - "effect" : "button-released" - }, - { - "event-name" : "message-new-email", - "type" : "Sound", - "effect" : "message-new-email" - }, - { - "event-name" : "message-new-instant", - "type" : "Sound", - "effect" : "message-new-instant" - }, - { - "event-name" : "message-new-sms", - "type" : "Sound", - "effect" : "message-new-instant" - }, - { - "event-name" : "phone-incoming-call", - "type" : "Sound", - "effect" : "phone-incoming-call" - }, - { - "event-name" : "timeout-completed", - "type" : "Sound", - "effect" : "complete" - }, - { - "event-name" : "theme-demo", - "type" : "Sound", - "effect" : "theme-demo" - }, - { - "event-name" : "window-close", - "type" : "Sound", - "effect" : "theme-demo" - } - ] - }, - { - "name" : "quiet", - "feedbacks" : [ - { - "event-name" : "alarm-clock-elapsed", - "type" : "VibraPeriodic", - "magnitude" : 32767, - "duration" : 10000, - "fade-in-time" : 10000, - "fade-in-level": 4096 - }, - { - "event-name" : "bell-terminal", - "type" : "VibraRumble", - "duration" : 100 - }, - { - "event-name" : "button-pressed", - "type" : "VibraRumble", - "duration" : 15 - }, - { - "event-name" : "button-released", - "type" : "VibraRumble", - "duration" : 12 - }, - { - "event-name" : "message-new-email", - "type" : "VibraRumble", - "duration" : 750, - "count" : 3, - "pause" : 100 - }, - { - "event-name" : "message-new-instant", - "type" : "VibraRumble", - "duration" : 150 - }, - { - "event-name" : "message-new-sms", - "type" : "VibraRumble", - "duration" : 500, - "count" : 2, - "pause" : 100 - }, - { - "event-name" : "message-sent-instant", - "type" : "VibraRumble", - "duration" : 150 - }, - { - "event-name" : "phone-incoming-call", - "type" : "VibraPeriodic", - "duration" : 10000 - }, - { - "event-name" : "timeout-completed", - "type" : "VibraRumble", - "duration" : 100 - }, - { - "event-name" : "theme-demo", - "type" : "VibraPeriodic", - "magnitude" : 32767, - "duration" : 5000 - }, - { - "event-name" : "window-close", - "type" : "VibraRumble", - "duration" : 25 - } - ] - }, - { - "name" : "silent", - "feedbacks" : [ - { - "event-name" : "battery-caution", - "type" : "Led", - "color" : "red", - "frequency" : 5000 - }, - { - "event-name" : "phone-missed-call", - "type" : "Led", - "color" : "blue", - "frequency" : 3000 - }, - { - "event-name" : "message-missed-email", - "type" : "Led", - "color" : "blue", - "frequency" : 2000 - }, - { - "event-name" : "message-missed-instant", - "type" : "Led", - "color" : "blue", - "frequency" : 1000 - }, - { - "event-name" : "message-missed-notification", - "type" : "Led", - "color" : "blue", - "frequency" : 500 - }, - { - "event-name" : "message-missed-sms", - "type" : "Led", - "color" : "blue", - "frequency" : 2000 - } - ] - } - ] -} |