gjdwebserver-overlay/gnome-extra/iio-sensor-proxy/iio-sensor-proxy-3.0-r1.ebuild

33 lines
718 B
Bash
Raw Normal View History

2021-02-26 18:59:13 +01:00
# 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
}