diff --git a/srcpkgs/iio-sensor-proxy/patches/0001-Revert-build-Check-for-.pc-files-before-using-them.patch b/srcpkgs/iio-sensor-proxy/patches/0001-Revert-build-Check-for-.pc-files-before-using-them.patch new file mode 100644 index 00000000000..da8fd053b55 --- /dev/null +++ b/srcpkgs/iio-sensor-proxy/patches/0001-Revert-build-Check-for-.pc-files-before-using-them.patch @@ -0,0 +1,32 @@ +From a1c5436d11e3e0dabc3cd236bf8175b13ac929cb Mon Sep 17 00:00:00 2001 +From: Andrea Brancaleoni +Date: Fri, 23 Dec 2016 12:43:36 +0100 +Subject: [PATCH] Revert "build: Check for .pc files before using them" + +This reverts commit 78b4656fc24a1b21c948d8e68252f42df2a91735. +--- + configure.ac | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index f8ded66..1d54698 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -25,14 +25,12 @@ AX_COMPILER_FLAGS([WARN_CFLAGS],[WARN_LDFLAGS]) + + GTK_DOC_CHECK([1.11],[--flavour no-tmpl]) + +-PKG_CHECK_EXISTS(udev, [], [AC_MSG_ERROR(udev development libraries are required)]) + AC_ARG_WITH([udevrulesdir], + AS_HELP_STRING([--with-udevrulesdir=DIR], [Directory for udev rules]), + [], + [with_udevrulesdir=$($PKG_CONFIG --variable=udevdir udev)"/rules.d"]) + AC_SUBST([udevrulesdir], [$with_udevrulesdir]) + +-PKG_CHECK_EXISTS(systemd, [], [AC_MSG_ERROR(systemd development libraries are required)]) + AC_ARG_WITH([systemdsystemunitdir], + AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), + [], +-- +2.11.0 + diff --git a/srcpkgs/iio-sensor-proxy/template b/srcpkgs/iio-sensor-proxy/template index aac1f9f8958..55e232e8777 100644 --- a/srcpkgs/iio-sensor-proxy/template +++ b/srcpkgs/iio-sensor-proxy/template @@ -1,16 +1,17 @@ # Template file for 'iio-sensor-proxy' pkgname=iio-sensor-proxy -version=1.3 +version=2.0 revision=1 build_style=gnu-configure -hostmakedepends="automake gtk-doc pkg-config git gnome-common autoconf-archive glib-devel" -makedepends="libgudev-devel" +hostmakedepends="automake gtk-doc pkg-config git gnome-common autoconf-archive glib-devel libtool" +makedepends="libgudev-devel gtk+3-devel" short_desc="IIO accelerometer sensor to input device proxy" maintainer="Andrea Brancaleoni " license="GPL-3" homepage="https://github.com/hadess/iio-sensor-proxy" distfiles="$homepage/archive/$version.tar.gz" -checksum=736e831dec40640a6e2cd0f17e57e82e1ef817d5d6f87b345ce2c5e6894368c5 +checksum=45f77d8611ef5085692db0e899ed47e975a079668b7502a550bd538630c1f959 +patch_args="-Np1" nocross=yes