From 9d57ba20f5619e3d30a0dcf12253bc8cdc13aade Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Sun, 13 Jan 2013 19:38:15 +0200 Subject: [PATCH] projects/*/options: add option to build without UPnP support --- packages/mediacenter/xbmc/build | 7 +++++++ 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/RPi/options | 3 +++ projects/Ultra/options | 3 +++ projects/Virtual/options | 3 +++ 10 files changed, 34 insertions(+) diff --git a/packages/mediacenter/xbmc/build b/packages/mediacenter/xbmc/build index 3ff2f9d1fa..dd3236119a 100755 --- a/packages/mediacenter/xbmc/build +++ b/packages/mediacenter/xbmc/build @@ -146,6 +146,12 @@ else XBMC_AVAHI="--disable-avahi" fi +if [ "$UPNP_SUPPORT" = yes ]; then + XBMC_UPNP="--enable-upnp" +else + XBMC_UPNP="--disable-upnp" +fi + if [ "$NFS_SUPPORT" = yes ]; then XBMC_NFS="--enable-nfs" else @@ -281,6 +287,7 @@ cd $PKG_BUILD --disable-mid \ --disable-hal \ $XBMC_AVAHI \ + $XBMC_UPNP \ $XBMC_AIRPLAY \ $XBMC_AIRTUNES \ $XBMC_NONFREE \ diff --git a/projects/ATV/options b/projects/ATV/options index 9b0944247d..c501595d13 100755 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -175,6 +175,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes" diff --git a/projects/Fusion/options b/projects/Fusion/options index 975efb748d..82e16508ef 100755 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -174,6 +174,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes" diff --git a/projects/Generic/options b/projects/Generic/options index 829f09a4fe..0feffc3320 100755 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -174,6 +174,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes" diff --git a/projects/Generic_OSS/options b/projects/Generic_OSS/options index 194b9c466a..463f487591 100755 --- a/projects/Generic_OSS/options +++ b/projects/Generic_OSS/options @@ -174,6 +174,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes" diff --git a/projects/ION/options b/projects/ION/options index f7c21849d0..48b563bba6 100755 --- a/projects/ION/options +++ b/projects/ION/options @@ -174,6 +174,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes" diff --git a/projects/Intel/options b/projects/Intel/options index a2754dbe04..2b76884fc6 100755 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -174,6 +174,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes" diff --git a/projects/RPi/options b/projects/RPi/options index cc9e2a08fe..1ffaf28924 100755 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -174,6 +174,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes" diff --git a/projects/Ultra/options b/projects/Ultra/options index a954c61d04..cb6fe2db50 100755 --- a/projects/Ultra/options +++ b/projects/Ultra/options @@ -174,6 +174,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes" diff --git a/projects/Virtual/options b/projects/Virtual/options index c52937d55a..745dccbfec 100755 --- a/projects/Virtual/options +++ b/projects/Virtual/options @@ -169,6 +169,9 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes"