From d6cf00b02345af1112f94d4f0d17781b128a1361 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 28 Jan 2012 17:10:10 +0100 Subject: [PATCH] projects/*/options: make irserver support optional Signed-off-by: Stephan Raue --- packages/sysutils/lcdproc/meta | 6 +++++- packages/sysutils/remote/meta | 6 +++++- projects/ATV/options | 3 +++ projects/Fusion/options | 3 +++ projects/Generic/options | 3 +++ projects/Generic_OSS/options | 3 +++ projects/ION/options | 3 +++ projects/Intel/options | 3 +++ projects/Ultra/options | 3 +++ 9 files changed, 31 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/lcdproc/meta b/packages/sysutils/lcdproc/meta index 3c5c457818..6556908217 100644 --- a/packages/sysutils/lcdproc/meta +++ b/packages/sysutils/lcdproc/meta @@ -25,7 +25,7 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://lcdproc.org/" PKG_URL="$SOURCEFORGE_SRC/lcdproc/lcdproc/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="libusb libhid irserver" +PKG_DEPENDS="libusb libhid" PKG_BUILD_DEPENDS="toolchain libusb libhid" PKG_PRIORITY="optional" PKG_SECTION="system" @@ -34,3 +34,7 @@ PKG_LONGDESC="LCDproc is a piece of software that displays real-time system info PKG_IS_ADDON="no" PKG_AUTORECONF="yes" + +if [ "$IRSERVER_SUPPORT" = yes ]; then + PKG_DEPENDS="$PKG_DEPENDS irserver" +fi diff --git a/packages/sysutils/remote/meta b/packages/sysutils/remote/meta index d72b9fb1b2..3b6ce23f84 100644 --- a/packages/sysutils/remote/meta +++ b/packages/sysutils/remote/meta @@ -25,7 +25,7 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.openelec.tv" PKG_URL="" -PKG_DEPENDS="irserver eventlircd v4l-utils" +PKG_DEPENDS="eventlircd v4l-utils" PKG_BUILD_DEPENDS="toolchain" PKG_PRIORITY="optional" PKG_SECTION="system/remote" @@ -38,3 +38,7 @@ PKG_AUTORECONF="no" if [ "$ATVCLIENT_SUPPORT" = "yes" ]; then PKG_DEPENDS="$PKG_DEPENDS atvclient" fi + +if [ "$IRSERVER_SUPPORT" = "yes" ]; then + PKG_DEPENDS="$PKG_DEPENDS irserver" +fi diff --git a/projects/ATV/options b/projects/ATV/options index 7947123205..c2cf5d5a71 100755 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -246,6 +246,9 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="yes" +# build and install IRServer IR/LCD support (yes / no) + IRSERVER_SUPPORT="no" + # build and install CEC adapter support (yes / no) CEC_SUPPORT="yes" diff --git a/projects/Fusion/options b/projects/Fusion/options index bbbd9e4438..e3ee6cdcbf 100755 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -246,6 +246,9 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" +# build and install IRServer IR/LCD support (yes / no) + IRSERVER_SUPPORT="yes" + # build and install CEC adapter support (yes / no) CEC_SUPPORT="yes" diff --git a/projects/Generic/options b/projects/Generic/options index 7a55071c9d..55cc845539 100755 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -246,6 +246,9 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="yes" +# build and install IRServer IR/LCD support (yes / no) + IRSERVER_SUPPORT="yes" + # build and install CEC adapter support (yes / no) CEC_SUPPORT="yes" diff --git a/projects/Generic_OSS/options b/projects/Generic_OSS/options index 1393902a88..75861c0be3 100755 --- a/projects/Generic_OSS/options +++ b/projects/Generic_OSS/options @@ -246,6 +246,9 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="yes" +# build and install IRServer IR/LCD support (yes / no) + IRSERVER_SUPPORT="yes" + # build and install CEC adapter support (yes / no) CEC_SUPPORT="yes" diff --git a/projects/ION/options b/projects/ION/options index a365e68940..7867b94588 100755 --- a/projects/ION/options +++ b/projects/ION/options @@ -246,6 +246,9 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" +# build and install IRServer IR/LCD support (yes / no) + IRSERVER_SUPPORT="yes" + # build and install CEC adapter support (yes / no) CEC_SUPPORT="yes" diff --git a/projects/Intel/options b/projects/Intel/options index 10e60ed82a..513851e6e9 100755 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -246,6 +246,9 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" +# build and install IRServer IR/LCD support (yes / no) + IRSERVER_SUPPORT="yes" + # build and install CEC adapter support (yes / no) CEC_SUPPORT="yes" diff --git a/projects/Ultra/options b/projects/Ultra/options index 719a60581f..9916536a1c 100755 --- a/projects/Ultra/options +++ b/projects/Ultra/options @@ -246,6 +246,9 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" +# build and install IRServer IR/LCD support (yes / no) + IRSERVER_SUPPORT="no" + # build and install CEC adapter support (yes / no) CEC_SUPPORT="yes"