diff --git a/config/functions b/config/functions index d1b71b7519..6bec74fc11 100644 --- a/config/functions +++ b/config/functions @@ -333,6 +333,7 @@ show_config() { if [ "$SWAP_SUPPORT" = "yes" ]; then config_message="$config_message\n - Swapfile default size:\t\t $SWAPFILESIZE" fi + config_message="$config_message\n - exFAT Support (via Fuse):\t\t $EXFAT" config_message="$config_message\n - NTFS Support (via Fuse):\t\t $NTFS3G" config_message="$config_message\n - Install HFS Tools:\t\t\t $HFSTOOLS" diff --git a/packages/sysutils/fuse-exfat/build b/packages/sysutils/fuse-exfat/build new file mode 100755 index 0000000000..239c3fa985 --- /dev/null +++ b/packages/sysutils/fuse-exfat/build @@ -0,0 +1,29 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +export CCFLAGS=$CFLAGS + +cd $PKG_BUILD + +scons diff --git a/packages/sysutils/fuse-exfat/install b/packages/sysutils/fuse-exfat/install new file mode 100755 index 0000000000..3dec3031ee --- /dev/null +++ b/packages/sysutils/fuse-exfat/install @@ -0,0 +1,26 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +mkdir -p $INSTALL/usr/bin + cp $PKG_BUILD/fuse/mount.exfat-fuse $INSTALL/usr/bin diff --git a/packages/sysutils/fuse-exfat/meta b/packages/sysutils/fuse-exfat/meta new file mode 100644 index 0000000000..506f1e27b1 --- /dev/null +++ b/packages/sysutils/fuse-exfat/meta @@ -0,0 +1,36 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="fuse-exfat" +PKG_VERSION="0.9.7" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://code.google.com/p/exfat" +PKG_URL="http://exfat.googlecode.com/files/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS="fuse" +PKG_BUILD_DEPENDS="toolchain scons fuse" +PKG_PRIORITY="optional" +PKG_SECTION="system" +PKG_SHORTDESC="fuse-exfat: aims to provide a full-featured exFAT file system implementation for GNU/Linux other Unix-like systems as a FUSE module." +PKG_LONGDESC="This project aims to provide a full-featured exFAT file system implementation for GNU/Linux other Unix-like systems as a FUSE module." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no" diff --git a/projects/ATV/options b/projects/ATV/options index 7d7c5959a5..1a7636a719 100755 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -220,6 +220,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="no" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/projects/Fusion/options b/projects/Fusion/options index 22fca5c04c..7dada6f1d7 100755 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -219,6 +219,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="yes" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/projects/Generic/options b/projects/Generic/options index 113ad29a8a..9178b88a02 100755 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -219,6 +219,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="yes" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/projects/Generic_OSS/options b/projects/Generic_OSS/options index d607858b74..3c2a37f7c7 100755 --- a/projects/Generic_OSS/options +++ b/projects/Generic_OSS/options @@ -219,6 +219,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="yes" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/projects/ION/options b/projects/ION/options index 4e8aaf30a1..481c65b584 100755 --- a/projects/ION/options +++ b/projects/ION/options @@ -219,6 +219,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="yes" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/projects/Intel/options b/projects/Intel/options index f16a963da5..0d6a33fd29 100755 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -219,6 +219,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="yes" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/projects/RPi/options b/projects/RPi/options index 5fb41ac224..cb542ef4d9 100755 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -221,6 +221,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="no" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/projects/Ultra/options b/projects/Ultra/options index 4e7cce2eff..0142f40c31 100755 --- a/projects/Ultra/options +++ b/projects/Ultra/options @@ -219,6 +219,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="yes" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/projects/Virtual/options b/projects/Virtual/options index f9d5908718..b23cbe75aa 100755 --- a/projects/Virtual/options +++ b/projects/Virtual/options @@ -215,6 +215,9 @@ # build and install powermanagement support (upower) (yes / no) UPOWER="yes" +# build and install exFAT fuse support (yes / no) + EXFAT="yes" + # build and install NTFS-3G fuse support (yes / no) NTFS3G="yes" diff --git a/scripts/image b/scripts/image index d02ffc9572..42b77d10e2 100755 --- a/scripts/image +++ b/scripts/image @@ -120,6 +120,9 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION" [ "$UPOWER" = "yes" ] && $SCRIPTS/install upower [ "$UPOWER" = "yes" ] && $SCRIPTS/install ConsoleKit +# NTFS 3G support + [ "$EXFAT" = "yes" ] && $SCRIPTS/install fuse-exfat + # NTFS 3G support [ "$NTFS3G" = "yes" ] && $SCRIPTS/install ntfs-3g_ntfsprogs