added iio-sensor-proxy

This commit is contained in:
Gerben Jan Dijkman
2021-02-26 18:59:13 +01:00
parent 01d0b2344b
commit fa75324b8d
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools systemd udev gnome2-utils
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 ~x86 ~arm ~arm64"
IUSE=""
RDEPEND="dev-libs/glib:*
gnome-base/gnome-common
virtual/libudev
virtual/udev"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
virtual/pkgconfig"
BDEPEND=""
src_prepare() {
# Remove problematic LDFLAGS declaration
sed -i -e '/^LDFLAGS/d' src/Makefile.am || die
${S}/autogen.sh
eapply_user
}