From 71e25dda1d0dca99d77aca7bf4d799a330f684c9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 12 Jun 2011 01:40:49 +0200 Subject: [PATCH] xbmc-pvr: add libnfs support Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc-pvr/build | 7 +++++++ packages/mediacenter/xbmc-pvr/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-pvr/build b/packages/mediacenter/xbmc-pvr/build index 9e05a32f46..cb98f21628 100755 --- a/packages/mediacenter/xbmc-pvr/build +++ b/packages/mediacenter/xbmc-pvr/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-pvr/meta b/packages/mediacenter/xbmc-pvr/meta index c736a55d92..229c6fccd1 100644 --- a/packages/mediacenter/xbmc-pvr/meta +++ b/packages/mediacenter/xbmc-pvr/meta @@ -46,6 +46,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 07dc3e34ab..151a291061 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 e50ee836a6..12f3d377a2 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 235c3eac5c..b44d5a9823 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 52bde37a09..8ada3309c6 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 25e8af22bb..f7b2cce0bf 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"