diff --git a/packages/mediacenter/xbmc-pvr-addons/meta b/packages/mediacenter/xbmc-pvr-addons/meta index 2f9c901f4e..70179b23e2 100644 --- a/packages/mediacenter/xbmc-pvr-addons/meta +++ b/packages/mediacenter/xbmc-pvr-addons/meta @@ -25,11 +25,16 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="https://github.com/opdenkamp/xbmc-pvr-addons" PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS="mysql curl" -PKG_BUILD_DEPENDS="toolchain mysql curl" +PKG_DEPENDS="curl" +PKG_BUILD_DEPENDS="toolchain curl" PKG_PRIORITY="optional" PKG_SECTION="mediacenter" PKG_SHORTDESC="Various PVR addons for XBMC" PKG_LONGDESC="This addons allows XBMC PVR to connect to various TV/PVR backends and tuners." PKG_IS_ADDON="no" PKG_AUTORECONF="yes" + +if [ "$MYSQL_SUPPORT" = yes ]; then + PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS mysql" + PKG_DEPENDS="$PKG_DEPENDS mysql" +fi diff --git a/packages/mediacenter/xbmc/build b/packages/mediacenter/xbmc/build index 3ff2f9d1fa..14f200da22 100755 --- a/packages/mediacenter/xbmc/build +++ b/packages/mediacenter/xbmc/build @@ -146,6 +146,30 @@ else XBMC_AVAHI="--disable-avahi" fi +if [ "$UPNP_SUPPORT" = yes ]; then + XBMC_UPNP="--enable-upnp" +else + XBMC_UPNP="--disable-upnp" +fi + +if [ "$MYSQL_SUPPORT" = yes ]; then + XBMC_MYSQL="--enable-mysql" +else + XBMC_MYSQL="--disable-mysql" + +fi +if [ "$SSHLIB_SUPPORT" = yes ]; then + XBMC_SSH="--enable-ssh" +else + XBMC_SSH="--disable-ssh" +fi + +if [ "$OPTICAL_DRIVE_SUPPORT" = yes ]; then + XBMC_OPTICAL="--enable-optical-drive" +else + XBMC_OPTICAL="--disable-optical-drive" +fi + if [ "$NFS_SUPPORT" = yes ]; then XBMC_NFS="--enable-nfs" else @@ -281,12 +305,15 @@ cd $PKG_BUILD --disable-mid \ --disable-hal \ $XBMC_AVAHI \ + $XBMC_UPNP \ + $XBMC_MYSQL \ + $XBMC_SSH \ $XBMC_AIRPLAY \ $XBMC_AIRTUNES \ $XBMC_NONFREE \ --disable-asap-codec \ $XBMC_WEBSERVER \ - --enable-optical-drive \ + $XBMC_OPTICAL \ $XBMC_BLURAY \ --enable-texturepacker --with-texturepacker-root="$ROOT/$TOOLCHAIN" \ --disable-external-libraries \ diff --git a/packages/mediacenter/xbmc/meta b/packages/mediacenter/xbmc/meta index e9c833cadd..3e0dca1c55 100644 --- a/packages/mediacenter/xbmc/meta +++ b/packages/mediacenter/xbmc/meta @@ -26,7 +26,7 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.xbmc.org" PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_DEPENDS="boost Python zlib bzip2 systemd pcre ffmpeg libass curl libssh rtmpdump fontconfig tinyxml freetype libmad libogg libmodplug faad2 flac libmpeg2 taglib yajl sqlite bc xbmc-addon-settings" -PKG_BUILD_DEPENDS="toolchain boost Python zlib bzip2 systemd lzo pcre swig ffmpeg libass enca curl libssh rtmpdump fontconfig fribidi tinyxml libjpeg-turbo libpng tiff freetype jasper libmad libsamplerate libogg libcdio libmodplug faad2 flac libmpeg2 taglib yajl sqlite mysql" +PKG_BUILD_DEPENDS="toolchain boost Python zlib bzip2 systemd lzo pcre swig ffmpeg libass enca curl libssh rtmpdump fontconfig fribidi tinyxml libjpeg-turbo libpng tiff freetype jasper libmad libsamplerate libogg libcdio libmodplug faad2 flac libmpeg2 taglib yajl sqlite" PKG_PRIORITY="optional" PKG_SECTION="mediacenter" PKG_SHORTDESC="xbmc: XBMC Mediacenter" @@ -130,6 +130,11 @@ if [ "$AVAHI_DAEMON" = yes ]; then PKG_DEPENDS="$PKG_DEPENDS avahi" fi +if [ "$MYSQL_SUPPORT" = yes ]; then + PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS mysql" + PKG_DEPENDS="$PKG_DEPENDS mysql" +fi + if [ "$AIRPLAY_SUPPORT" = yes ]; then PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libplist" PKG_DEPENDS="$PKG_DEPENDS libplist" diff --git a/projects/ATV/options b/projects/ATV/options index 9b0944247d..b544ea619d 100755 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -175,6 +175,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_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..00a188d25b 100755 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -174,6 +174,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_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..71a0d6e8a9 100755 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -174,6 +174,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_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..d6fb78b838 100755 --- a/projects/Generic_OSS/options +++ b/projects/Generic_OSS/options @@ -174,6 +174,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_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..ec08935ee8 100755 --- a/projects/ION/options +++ b/projects/ION/options @@ -174,6 +174,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_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..c7bbb49e8c 100755 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -174,6 +174,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_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..570a89d588 100755 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -174,6 +174,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_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..1b3d95f45c 100755 --- a/projects/Ultra/options +++ b/projects/Ultra/options @@ -174,6 +174,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_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..0e1bbe6937 100755 --- a/projects/Virtual/options +++ b/projects/Virtual/options @@ -169,6 +169,18 @@ # build and install Avahi (Zeroconf) daemon (yes / no) AVAHI_DAEMON="yes" +# build with UPnP support (yes / no) + UPNP_SUPPORT="yes" + +# build with MySQL support (yes / no) + MYSQL_SUPPORT="yes" + +# build xbmc with sshlib support (yes / no) + SSHLIB_SUPPORT="yes" + +# build xbmc with optical drive support (yes / no) + OPTICAL_DRIVE_SUPPORT="yes" + # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no) AIRPLAY_SUPPORT="yes"