From e5ea4990d5be4b5cb87da01a5a2db9cff673d43b Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 9 Jun 2010 05:32:56 +0200 Subject: [PATCH] xbmc: - make building and installing of upower optional (default enabled, setup via /projects/*/options) --- packages/mediacenter/xbmc/install | 4 ++-- projects/ION/options | 3 +++ projects/generic/options | 3 +++ projects/intel/options | 3 +++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/mediacenter/xbmc/install b/packages/mediacenter/xbmc/install index cb40275cb1..5f8569d171 100755 --- a/packages/mediacenter/xbmc/install +++ b/packages/mediacenter/xbmc/install @@ -16,8 +16,6 @@ $SCRIPTS/install libmicrohttpd $SCRIPTS/install libssh $SCRIPTS/install dbus -$SCRIPTS/install upower -$SCRIPTS/install ConsoleKit $SCRIPTS/install libXt $SCRIPTS/install libXtst @@ -63,6 +61,8 @@ $SCRIPTS/install samba [ "$CRYSTALHD" = yes ] && $SCRIPTS/install crystalhd [ "$AVAHI_DAEMON" = yes ] && $SCRIPTS/install avahi [ "$UDISKS" = yes ] && $SCRIPTS/install udisks +[ "$UPOWER" = yes ] && $SCRIPTS/install upower +[ "$UPOWER" = yes ] && $SCRIPTS/install ConsoleKit PKG_DIR=`find $PACKAGES -type d -name $1` PYTHON_LIBDIR="`ls -d $INSTALL/usr/lib/python*`" diff --git a/projects/ION/options b/projects/ION/options index 9e03a45531..a7b879774d 100644 --- a/projects/ION/options +++ b/projects/ION/options @@ -85,6 +85,9 @@ # in the mediacenter also automount internally drives at boottime (yes / no) UDISKS="yes" +# build and install powermanagement support (upower) (yes / no) + UPOWER="yes" + # Displayserver to use (xorg-server / no) DISPLAYSERVER="xorg-server" diff --git a/projects/generic/options b/projects/generic/options index 57e3c610a0..e30c5e8814 100644 --- a/projects/generic/options +++ b/projects/generic/options @@ -85,6 +85,9 @@ # in the mediacenter also automount internally drives at boottime (yes / no) UDISKS="yes" +# build and install powermanagement support (upower) (yes / no) + UPOWER="yes" + # Displayserver to use (xorg-server / no) DISPLAYSERVER="xorg-server" diff --git a/projects/intel/options b/projects/intel/options index fd59904589..326d63ff71 100644 --- a/projects/intel/options +++ b/projects/intel/options @@ -85,6 +85,9 @@ # in the mediacenter also automount internally drives at boottime (yes / no) UDISKS="yes" +# build and install powermanagement support (upower) (yes / no) + UPOWER="yes" + # Displayserver to use (xorg-server / no) DISPLAYSERVER="xorg-server"