From be11c233ba260a71626bf513df62bae2d21060b1 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 12 Jun 2011 01:32:00 +0200 Subject: [PATCH] xbmc: add libnfs support Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc/build | 7 +++++++ packages/mediacenter/xbmc/meta | 5 +++++ projects/ATV/options | 3 +++ projects/Fusion/options | 3 +++ projects/Generic/options | 3 +++ projects/ION/options | 3 +++ projects/Intel/options | 3 +++ 7 files changed, 27 insertions(+) diff --git a/packages/mediacenter/xbmc/build b/packages/mediacenter/xbmc/build index 9e05a32f46..cb98f21628 100755 --- a/packages/mediacenter/xbmc/build +++ b/packages/mediacenter/xbmc/build @@ -52,6 +52,12 @@ else XBMC_AVAHI="--disable-avahi" fi +if [ "$NFS_SUPPORT" = yes ]; then + XBMC_NFS="--enable-nfs" +else + XBMC_NFS="--disable-nfs" +fi + if [ "$WEBSERVER" = yes ]; then XBMC_WEBSERVER="--enable-webserver" else @@ -156,6 +162,7 @@ cd $PKG_BUILD --disable-ccache \ $XBMC_PULSEAUDIO \ --enable-rtmp \ + $XBMC_NFS \ --enable-ffmpeg-libvorbis \ --enable-lame \ $XBMC_DVDCSS \ diff --git a/packages/mediacenter/xbmc/meta b/packages/mediacenter/xbmc/meta index 8acda49922..6a65d98106 100644 --- a/packages/mediacenter/xbmc/meta +++ b/packages/mediacenter/xbmc/meta @@ -45,6 +45,11 @@ if [ "$AVAHI_DAEMON" = yes ]; then PKG_DEPENDS="$PKG_DEPENDS avahi" fi +if [ "$NFS_SUPPORT" = yes ]; then + PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libnfs" + PKG_DEPENDS="$PKG_DEPENDS libnfs" +fi + if [ "$WEBSERVER" = yes ]; then PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libmicrohttpd" PKG_DEPENDS="$PKG_DEPENDS libmicrohttpd" diff --git a/projects/ATV/options b/projects/ATV/options index ca54427f1a..6624015478 100644 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -128,6 +128,9 @@ # build with netmount (mounting network drives on boot) support (yes / no) NETMOUNT="yes" +# build with libnfs support (mounting nfs shares with XBMC) (yes / no) + NFS_SUPPORT="yes" + # build and install with XBMC webfrontend (yes / no) WEBSERVER="yes" diff --git a/projects/Fusion/options b/projects/Fusion/options index bd2c3eb193..ef3252c8b6 100644 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -128,6 +128,9 @@ # build with netmount (mounting network drives on boot) support (yes / no) NETMOUNT="yes" +# build with libnfs support (mounting nfs shares with XBMC) (yes / no) + NFS_SUPPORT="yes" + # build and install with XBMC webfrontend (yes / no) WEBSERVER="yes" diff --git a/projects/Generic/options b/projects/Generic/options index 5054c929cf..dacedb4b0d 100644 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -128,6 +128,9 @@ # build with netmount (mounting network drives on boot) support (yes / no) NETMOUNT="yes" +# build with libnfs support (mounting nfs shares with XBMC) (yes / no) + NFS_SUPPORT="yes" + # build and install with XBMC webfrontend (yes / no) WEBSERVER="yes" diff --git a/projects/ION/options b/projects/ION/options index e2a106f243..a06231b0d1 100644 --- a/projects/ION/options +++ b/projects/ION/options @@ -128,6 +128,9 @@ # build with netmount (mounting network drives on boot) support (yes / no) NETMOUNT="yes" +# build with libnfs support (mounting nfs shares with XBMC) (yes / no) + NFS_SUPPORT="yes" + # build and install with XBMC webfrontend (yes / no) WEBSERVER="yes" diff --git a/projects/Intel/options b/projects/Intel/options index 54b0b7bc5e..ac687fb585 100644 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -128,6 +128,9 @@ # build with netmount (mounting network drives on boot) support (yes / no) NETMOUNT="yes" +# build with libnfs support (mounting nfs shares with XBMC) (yes / no) + NFS_SUPPORT="yes" + # build and install with XBMC webfrontend (yes / no) WEBSERVER="yes"