mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-libs/feedbackd: tag version
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
46
dev-libs/feedbackd/feedbackd-0.0.0_p20220520.ebuild
Normal file
46
dev-libs/feedbackd/feedbackd-0.0.0_p20220520.ebuild
Normal file
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user