mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
gnome-extra/iio-sensor-proxy: add 3.9
Signed-off-by: Ronaldo V. Lobato <vieira.lobato@gmail.com>
This commit is contained in:
58
gnome-extra/iio-sensor-proxy/iio-sensor-proxy-3.9.ebuild
Normal file
58
gnome-extra/iio-sensor-proxy/iio-sensor-proxy-3.9.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg gnome2-utils meson udev
|
||||
|
||||
DESCRIPTION="IIO sensors to D-Bus proxy"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/"
|
||||
SRC_URI="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="systemd"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:*
|
||||
gnome-base/gnome-common
|
||||
>=sys-auth/polkit-0.91
|
||||
>=dev-libs/libgudev-237
|
||||
systemd? (
|
||||
!sys-apps/openrc
|
||||
sys-apps/systemd
|
||||
)
|
||||
virtual/udev
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-build/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if use !systemd ; then
|
||||
# patch out call of systemd directory
|
||||
eapply "${FILESDIR}/no-systemd.patch"
|
||||
fi
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
doinitd "${FILESDIR}/iio-sensor-proxy"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
udev_reload
|
||||
}
|
||||
Reference in New Issue
Block a user