diff --git a/config/noobs/partition_setup.sh b/config/noobs/partition_setup.sh
index 85048a2aef..3e9f465af1 100755
--- a/config/noobs/partition_setup.sh
+++ b/config/noobs/partition_setup.sh
@@ -1,22 +1,20 @@
#!/bin/sh -x
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
-# This Program is free software; you can redistribute it and/or modify
+# OpenELEC 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.
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
#
-# This Program is distributed in the hope that it will be useful,
+# OpenELEC 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
+# 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
+# along with OpenELEC. If not, see .
################################################################################
MOUNTPOINT="/tmp/OpenELEC-System"
diff --git a/config/options b/config/options
index 4aed88c5f3..fcf47761f3 100644
--- a/config/options
+++ b/config/options
@@ -90,8 +90,8 @@ fi
if [ -f "$HOME/.openelec/options" ]; then
. $HOME/.openelec/options
fi
- if [ -f "$HOME/.openelec/$PROJECT/options" ]; then
- . $HOME/.openelec/$PROJECT/options
+ if [ -f "$HOME/.openelec/projects/$PROJECT/options" ]; then
+ . $HOME/.openelec/projects/$PROJECT/options
fi
# read distro options from $HOME if available
@@ -99,5 +99,10 @@ fi
. $HOME/.openelec/options.$DISTRO
fi
+# overwrite OEM_SUPPORT via commandline
+if [ "$OEM" = yes -o "$OEM" = no ]; then
+ OEM_SUPPORT=$OEM
+fi
+
. config/graphic
. config/path $1
diff --git a/config/path b/config/path
index 79f566ede2..275174044a 100644
--- a/config/path
+++ b/config/path
@@ -40,7 +40,7 @@ SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
LIB_PREFIX=$SYSROOT_PREFIX/usr
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
-FAKEROOT_SCRIPT=$ROOT/.fakeroot.$PROJECT.$TARGET_ARCH
+FAKEROOT_SCRIPT=$ROOT/.fakeroot.$BUILD
if [ -z "$INSTALL" ]; then
INSTALL=$BUILD/image/system
@@ -77,7 +77,41 @@ SED="sed -i"
_FOUND=0
PKG_DIR=""
- # first check project folder for a package
+ # check project folder for a package in home dir
+ for DIR in $(find $HOME/.openelec/projects/$PROJECT/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
+ if [ -r "$DIR/package.mk" ]; then
+ # found first, set $PKG_DIR
+ PKG_DIR="$DIR"
+ # keep track of dirs with package.mk for detecting multiple folders
+ _ALL_DIRS="${_ALL_DIRS}${DIR}\\n"
+ _FOUND=$((_FOUND+1))
+ if [ $_FOUND -gt 1 ]; then
+ # _FOUND more ? fail
+ echo "Error - multiple package folders:"
+ echo -e "$_ALL_DIRS"
+ exit 1
+ fi
+ fi
+ done
+
+ # check for a package in home dir if not found already
+ for DIR in $(find $HOME/.openelec/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
+ if [ -r "$DIR/package.mk" ]; then
+ # found first, set $PKG_DIR
+ PKG_DIR="$DIR"
+ # keep track of dirs with package.mk for detecting multiple folders
+ _ALL_DIRS="${_ALL_DIRS}${DIR}\\n"
+ _FOUND=$((_FOUND+1))
+ if [ $_FOUND -gt 1 ]; then
+ # _FOUND more ? fail
+ echo "Error - multiple package folders:"
+ echo -e "$_ALL_DIRS"
+ exit 1
+ fi
+ fi
+ done
+
+ # check project folder for a package if not found already
for DIR in $(find $ROOT/projects/$PROJECT/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
if [ -r "$DIR/package.mk" ]; then
# found first, set $PKG_DIR
diff --git a/packages/3rdparty/lib/cxxtools/package.mk b/packages/3rdparty/lib/cxxtools/package.mk
index c82725fa3c..705360fb59 100644
--- a/packages/3rdparty/lib/cxxtools/package.mk
+++ b/packages/3rdparty/lib/cxxtools/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/3rdparty/lib/libzip/package.mk b/packages/3rdparty/lib/libzip/package.mk
index 758dcf77ef..47d5a134d2 100644
--- a/packages/3rdparty/lib/libzip/package.mk
+++ b/packages/3rdparty/lib/libzip/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/3rdparty/web/tntnet/package.mk b/packages/3rdparty/web/tntnet/package.mk
index 1bae7bcbac..6e27bc652b 100644
--- a/packages/3rdparty/web/tntnet/package.mk
+++ b/packages/3rdparty/web/tntnet/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/addons/driver/hdhomerun/package.mk b/packages/addons/driver/hdhomerun/package.mk
index a2e9600853..605b30801a 100644
--- a/packages/addons/driver/hdhomerun/package.mk
+++ b/packages/addons/driver/hdhomerun/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/addons/driver/imon-mce/package.mk b/packages/addons/driver/imon-mce/package.mk
index edb0cc1d75..e204040428 100644
--- a/packages/addons/driver/imon-mce/package.mk
+++ b/packages/addons/driver/imon-mce/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/addons/driver/sundtek-mediatv/package.mk b/packages/addons/driver/sundtek-mediatv/package.mk
index 87d886e8ca..2997ac57a7 100644
--- a/packages/addons/driver/sundtek-mediatv/package.mk
+++ b/packages/addons/driver/sundtek-mediatv/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/addons/repository/repository.unofficial.addon.pro/package.mk b/packages/addons/repository/repository.unofficial.addon.pro/package.mk
index d024a0372a..3ebb1de18b 100644
--- a/packages/addons/repository/repository.unofficial.addon.pro/package.mk
+++ b/packages/addons/repository/repository.unofficial.addon.pro/package.mk
@@ -1,21 +1,19 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
-# This Program is free software; you can redistribute it and/or modify
+# OpenELEC 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.
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
#
-# This Program is distributed in the hope that it will be useful,
+# OpenELEC 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
+# 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
+# along with OpenELEC. If not, see .
################################################################################
PKG_NAME="repository.unofficial.addon.pro"
diff --git a/packages/addons/script/script.config.vdr/package.mk b/packages/addons/script/script.config.vdr/package.mk
index 934d0468d7..5216de1814 100644
--- a/packages/addons/script/script.config.vdr/package.mk
+++ b/packages/addons/script/script.config.vdr/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/addons/service/multimedia/boblightd/package.mk b/packages/addons/service/multimedia/boblightd/package.mk
index b870b3fca8..f019bbf5c0 100644
--- a/packages/addons/service/multimedia/boblightd/package.mk
+++ b/packages/addons/service/multimedia/boblightd/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/addons/service/multimedia/vdr-addon/package.mk b/packages/addons/service/multimedia/vdr-addon/package.mk
index 480f80e1f7..8326c43b36 100644
--- a/packages/addons/service/multimedia/vdr-addon/package.mk
+++ b/packages/addons/service/multimedia/vdr-addon/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com)
#
# OpenELEC is free software: you can redistribute it and/or modify
diff --git a/packages/audio/alsa-lib/package.mk b/packages/audio/alsa-lib/package.mk
index d9b807757e..11cb977758 100644
--- a/packages/audio/alsa-lib/package.mk
+++ b/packages/audio/alsa-lib/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/alsa-utils/package.mk b/packages/audio/alsa-utils/package.mk
index fbdf999432..7a43f1d5df 100644
--- a/packages/audio/alsa-utils/package.mk
+++ b/packages/audio/alsa-utils/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/dcadec/package.mk b/packages/audio/dcadec/package.mk
index 299caceebd..633ffb62f8 100644
--- a/packages/audio/dcadec/package.mk
+++ b/packages/audio/dcadec/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/espeak/package.mk b/packages/audio/espeak/package.mk
index a191b56cca..45622936e1 100644
--- a/packages/audio/espeak/package.mk
+++ b/packages/audio/espeak/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -23,7 +23,6 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://espeak.sourceforge.net/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.zip"
-PKG_SOURCE_DIR="$PKG_NAME/$PKG_NAME-$PKG_VERSION"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
diff --git a/packages/audio/flac/package.mk b/packages/audio/flac/package.mk
index 749275de5d..2d321c126b 100644
--- a/packages/audio/flac/package.mk
+++ b/packages/audio/flac/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/fluidsynth/package.mk b/packages/audio/fluidsynth/package.mk
index 67bd7fda26..1c8134163a 100644
--- a/packages/audio/fluidsynth/package.mk
+++ b/packages/audio/fluidsynth/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -33,5 +33,11 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
configure_target() {
- cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=0 -Denable-readline=0 ..
+ cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=0 \
+ -Denable-readline=0 \
+ -Denable-pulseaudio=0 \
+ -Denable-libsndfile=0 \
+ ..
}
diff --git a/packages/audio/lame/package.mk b/packages/audio/lame/package.mk
index 0fc84164f4..d627cdef08 100644
--- a/packages/audio/lame/package.mk
+++ b/packages/audio/lame/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/libcdio/package.mk b/packages/audio/libcdio/package.mk
index aa7eb4c66c..6295338d36 100644
--- a/packages/audio/libcdio/package.mk
+++ b/packages/audio/libcdio/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/libmodplug/package.mk b/packages/audio/libmodplug/package.mk
index bb2417dde1..8f3ac3cd3d 100644
--- a/packages/audio/libmodplug/package.mk
+++ b/packages/audio/libmodplug/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/libogg/package.mk b/packages/audio/libogg/package.mk
index 65bbb9fce2..1b2dceae4c 100644
--- a/packages/audio/libogg/package.mk
+++ b/packages/audio/libogg/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/libopenmpt/package.mk b/packages/audio/libopenmpt/package.mk
index a8a4e2bce0..4f73bf7624 100644
--- a/packages/audio/libopenmpt/package.mk
+++ b/packages/audio/libopenmpt/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,12 +17,13 @@
################################################################################
PKG_NAME="libopenmpt"
-PKG_VERSION="0.2.4764"
+PKG_VERSION="0.2.5787-beta16"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://lib.openmpt.org/libopenmpt/"
-PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="http://lib.openmpt.org/files/libopenmpt/src/${PKG_NAME}-${PKG_VERSION}-autotools.tar.gz"
+PKG_SOURCE_DIR="${PKG_NAME}-${PKG_VERSION//-beta*/}-autotools"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
@@ -32,4 +33,7 @@ PKG_LONGDESC="libopenmpt renders mod music files as raw audio data, for playing
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared \
+ --without-portaudio \
+ --without-portaudiocpp"
diff --git a/packages/audio/libsndfile/package.mk b/packages/audio/libsndfile/package.mk
index 5eb769fc51..d450171ae2 100644
--- a/packages/audio/libsndfile/package.mk
+++ b/packages/audio/libsndfile/package.mk
@@ -1,21 +1,19 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
-# This Program is free software; you can redistribute it and/or modify
+# OpenELEC 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.
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
#
-# This Program is distributed in the hope that it will be useful,
+# OpenELEC 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
+# 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
+# along with OpenELEC. If not, see .
################################################################################
PKG_NAME="libsndfile"
diff --git a/packages/audio/libvorbis/package.mk b/packages/audio/libvorbis/package.mk
index b3c4d72419..b5309ae0a5 100644
--- a/packages/audio/libvorbis/package.mk
+++ b/packages/audio/libvorbis/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/pulseaudio/package.mk b/packages/audio/pulseaudio/package.mk
index 9f23d4b21a..8d1ee4d1f4 100644
--- a/packages/audio/pulseaudio/package.mk
+++ b/packages/audio/pulseaudio/package.mk
@@ -1,21 +1,19 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
-# This Program is free software; you can redistribute it and/or modify
+# OpenELEC 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.
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
#
-# This Program is distributed in the hope that it will be useful,
+# OpenELEC 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
+# 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
+# along with OpenELEC. If not, see .
################################################################################
PKG_NAME="pulseaudio"
diff --git a/packages/audio/sbc/package.mk b/packages/audio/sbc/package.mk
index 4594ec4ea9..2ddc693338 100644
--- a/packages/audio/sbc/package.mk
+++ b/packages/audio/sbc/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/sidplay-libs/package.mk b/packages/audio/sidplay-libs/package.mk
index a09a89b072..c1c1f4864d 100644
--- a/packages/audio/sidplay-libs/package.mk
+++ b/packages/audio/sidplay-libs/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/soxr/package.mk b/packages/audio/soxr/package.mk
index e2b4ce25ce..cbd7460bff 100644
--- a/packages/audio/soxr/package.mk
+++ b/packages/audio/soxr/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/audio/taglib/package.mk b/packages/audio/taglib/package.mk
index 849746b00a..e3df80e07d 100644
--- a/packages/audio/taglib/package.mk
+++ b/packages/audio/taglib/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/compress/bzip2/package.mk b/packages/compress/bzip2/package.mk
index 5c0b319ade..1483b89802 100644
--- a/packages/compress/bzip2/package.mk
+++ b/packages/compress/bzip2/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/compress/cpio/package.mk b/packages/compress/cpio/package.mk
index 057cb059f5..07c8c92f47 100644
--- a/packages/compress/cpio/package.mk
+++ b/packages/compress/cpio/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/compress/lzo/package.mk b/packages/compress/lzo/package.mk
index 872d05cbc4..ce8d71760f 100644
--- a/packages/compress/lzo/package.mk
+++ b/packages/compress/lzo/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/compress/unzip/package.mk b/packages/compress/unzip/package.mk
index ec7a6d30fb..7788e89fc3 100644
--- a/packages/compress/unzip/package.mk
+++ b/packages/compress/unzip/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/compress/xz/package.mk b/packages/compress/xz/package.mk
index 46b0cc8109..0d560b6bda 100644
--- a/packages/compress/xz/package.mk
+++ b/packages/compress/xz/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/compress/zip/package.mk b/packages/compress/zip/package.mk
index 7c0e9cfd71..1c9474a78c 100644
--- a/packages/compress/zip/package.mk
+++ b/packages/compress/zip/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/compress/zlib/package.mk b/packages/compress/zlib/package.mk
index 0ab309fc75..3c3f86e516 100644
--- a/packages/compress/zlib/package.mk
+++ b/packages/compress/zlib/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/databases/mysql/package.mk b/packages/databases/mysql/package.mk
index bd259be240..7ee89eea64 100644
--- a/packages/databases/mysql/package.mk
+++ b/packages/databases/mysql/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/databases/sqlite/package.mk b/packages/databases/sqlite/package.mk
index 6894999390..53029c8c60 100644
--- a/packages/databases/sqlite/package.mk
+++ b/packages/databases/sqlite/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="sqlite"
-PKG_VERSION="autoconf-3100200"
+PKG_VERSION="autoconf-3110000"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="PublicDomain"
diff --git a/packages/debug/gdb/package.mk b/packages/debug/gdb/package.mk
index 33f6c34b1a..d3bce7c087 100644
--- a/packages/debug/gdb/package.mk
+++ b/packages/debug/gdb/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
PKG_NAME="gdb"
PKG_VERSION="7.10.1"
-PKG_REV="1"
+PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/gdb/"
@@ -43,6 +43,7 @@ pre_configure_target() {
PKG_CONFIGURE_OPTS_TARGET="bash_cv_have_mbstate_t=set \
--disable-shared \
--enable-static \
+ --with-auto-load-safe-path=/ \
--disable-nls \
--disable-sim \
--without-x \
diff --git a/packages/debug/vdpauinfo/package.mk b/packages/debug/vdpauinfo/package.mk
index fbab6c0f34..fb386c938d 100644
--- a/packages/debug/vdpauinfo/package.mk
+++ b/packages/debug/vdpauinfo/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/arm-mem/package.mk b/packages/devel/arm-mem/package.mk
index d0b069fb94..59360647f0 100644
--- a/packages/devel/arm-mem/package.mk
+++ b/packages/devel/arm-mem/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/attr/package.mk b/packages/devel/attr/package.mk
index 98c2f20dbb..377c38154a 100644
--- a/packages/devel/attr/package.mk
+++ b/packages/devel/attr/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2010-2011 Roman Weber (roman@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
diff --git a/packages/devel/autoconf-archive/package.mk b/packages/devel/autoconf-archive/package.mk
index 665d52171d..22ab25aa70 100644
--- a/packages/devel/autoconf-archive/package.mk
+++ b/packages/devel/autoconf-archive/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/autoconf/package.mk b/packages/devel/autoconf/package.mk
index 75427e80e0..1660535920 100644
--- a/packages/devel/autoconf/package.mk
+++ b/packages/devel/autoconf/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/automake/package.mk b/packages/devel/automake/package.mk
index d44644a2c7..d1e56c1390 100644
--- a/packages/devel/automake/package.mk
+++ b/packages/devel/automake/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/binutils/package.mk b/packages/devel/binutils/package.mk
index c617e9436b..c31d2b3cab 100644
--- a/packages/devel/binutils/package.mk
+++ b/packages/devel/binutils/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/bison/package.mk b/packages/devel/bison/package.mk
index 1282e278de..fc1433af6b 100644
--- a/packages/devel/bison/package.mk
+++ b/packages/devel/bison/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/boost/package.mk b/packages/devel/boost/package.mk
index c56bc67b04..0ba7d5f8dd 100644
--- a/packages/devel/boost/package.mk
+++ b/packages/devel/boost/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/ccache/package.mk b/packages/devel/ccache/package.mk
index c3ee974913..4c0bf82fcb 100644
--- a/packages/devel/ccache/package.mk
+++ b/packages/devel/ccache/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/cmake/package.mk b/packages/devel/cmake/package.mk
index bfa0736bc5..fac69ee282 100644
--- a/packages/devel/cmake/package.mk
+++ b/packages/devel/cmake/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,12 +17,12 @@
################################################################################
PKG_NAME="cmake"
-PKG_VERSION="3.3.2"
+PKG_VERSION="3.4.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://www.cmake.org/"
-PKG_URL="http://www.cmake.org/files/v3.3/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="http://www.cmake.org/files/v3.4/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="ccache:host"
PKG_PRIORITY="optional"
PKG_SECTION="toolchain/devel"
diff --git a/packages/devel/dbus-glib/package.mk b/packages/devel/dbus-glib/package.mk
index 52434b80a1..f7b1e27639 100644
--- a/packages/devel/dbus-glib/package.mk
+++ b/packages/devel/dbus-glib/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/elfutils/package.mk b/packages/devel/elfutils/package.mk
index cf99b62f7e..ae06f9d98b 100644
--- a/packages/devel/elfutils/package.mk
+++ b/packages/devel/elfutils/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/enca/package.mk b/packages/devel/enca/package.mk
index 9d69e3193e..95f99279fb 100644
--- a/packages/devel/enca/package.mk
+++ b/packages/devel/enca/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/fakeroot/package.mk b/packages/devel/fakeroot/package.mk
index 9435649d00..f9c58257a4 100644
--- a/packages/devel/fakeroot/package.mk
+++ b/packages/devel/fakeroot/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/flex/package.mk b/packages/devel/flex/package.mk
index 0959e1ec09..a49a146ff8 100644
--- a/packages/devel/flex/package.mk
+++ b/packages/devel/flex/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/fribidi/package.mk b/packages/devel/fribidi/package.mk
index ca58b35209..dfeab57b4c 100644
--- a/packages/devel/fribidi/package.mk
+++ b/packages/devel/fribidi/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,8 +21,8 @@ PKG_VERSION="0.19.7"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
-PKG_SITE="http://fribidi.org/"
-PKG_URL="http://fribidi.org/download/$PKG_NAME-$PKG_VERSION.tar.bz2"
+PKG_SITE="http://fribidi.freedesktop.org/"
+PKG_URL="http://fribidi.freedesktop.org/download/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
diff --git a/packages/devel/gettext/package.mk b/packages/devel/gettext/package.mk
index 250e7a94ce..f9362d59e3 100644
--- a/packages/devel/gettext/package.mk
+++ b/packages/devel/gettext/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/glib/package.mk b/packages/devel/glib/package.mk
index 1feb4bb909..005bf0cab0 100644
--- a/packages/devel/glib/package.mk
+++ b/packages/devel/glib/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/glibc/package.mk b/packages/devel/glibc/package.mk
index beb68e4c4b..fda56c4dd7 100644
--- a/packages/devel/glibc/package.mk
+++ b/packages/devel/glibc/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/gmp/package.mk b/packages/devel/gmp/package.mk
index 62fd044dc0..1d9303131e 100644
--- a/packages/devel/gmp/package.mk
+++ b/packages/devel/gmp/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/intltool/package.mk b/packages/devel/intltool/package.mk
index a7c584f9ee..d816bdda91 100644
--- a/packages/devel/intltool/package.mk
+++ b/packages/devel/intltool/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/packages/devel/json-c/package.mk b/packages/devel/json-c/package.mk
index 5380e12b60..9de67ce682 100644
--- a/packages/devel/json-c/package.mk
+++ b/packages/devel/json-c/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2010-2011 Roman Weber (roman@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
diff --git a/packages/devel/libcap/package.mk b/packages/devel/libcap/package.mk
index 1d545f138d..bd0202bec0 100644
--- a/packages/devel/libcap/package.mk
+++ b/packages/devel/libcap/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2010-2011 Roman Weber (roman@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
diff --git a/packages/devel/libcec/package.mk b/packages/devel/libcec/package.mk
index a17e521097..0306c667f5 100644
--- a/packages/devel/libcec/package.mk
+++ b/packages/devel/libcec/package.mk
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -43,6 +43,12 @@ else
EXTRA_CMAKE_OPTS="-DHAVE_IMX_API=0"
fi
+if [ "$KODIPLAYER_DRIVER" = "libamcodec" ]; then
+ EXTRA_CMAKE_OPTS="-DHAVE_AMLOGIC_API=1"
+else
+ EXTRA_CMAKE_OPTS="-DHAVE_AMLOGIC_API=0"
+fi
+
configure_target() {
if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
export CXXFLAGS="$CXXFLAGS \
diff --git a/packages/devel/libcec/patches/libcec-03-amlogic-support.patch b/packages/devel/libcec/patches/libcec-03-amlogic-support.patch
new file mode 100644
index 0000000000..8d58b75439
--- /dev/null
+++ b/packages/devel/libcec/patches/libcec-03-amlogic-support.patch
@@ -0,0 +1,733 @@
+diff -Nur -x .cproject -x .project -x .settings libcec-3.0.1/include/cectypes.h libcec-3.0.1-with-amlogic-adapter/include/cectypes.h
+--- libcec-3.0.1/include/cectypes.h 2016-02-21 01:11:20.791177759 +0100
++++ libcec-3.0.1-with-amlogic-adapter/include/cectypes.h 2016-02-10 13:45:19.057046951 +0100
+@@ -320,6 +320,16 @@
+
+
+ /*!
++ * the path to use for the Amlogic HDMI CEC device
++ */
++#define CEC_AMLOGIC_PATH "/dev/AmlogicCEC"
++
++/*!
++ * the name of the virtual COM port to use for the AMLOGIC' CEC wire
++ */
++#define CEC_AMLOGIC_VIRTUAL_COM "Amlogic"
++
++/*!
+ * Mimimum client version
+ */
+ #define CEC_MIN_LIB_VERSION 3
+@@ -888,7 +898,8 @@
+ ADAPTERTYPE_RPI = 0x100,
+ ADAPTERTYPE_TDA995x = 0x200,
+ ADAPTERTYPE_EXYNOS = 0x300,
+- ADAPTERTYPE_IMX = 0x400
++ ADAPTERTYPE_IMX = 0x400,
++ ADAPTERTYPE_AMLOGIC = 0x500
+ } cec_adapter_type;
+
+ /** force exporting through swig */
+diff -Nur -x .cproject -x .project -x .settings libcec-3.0.1/README.md libcec-3.0.1-with-amlogic-adapter/README.md
+--- libcec-3.0.1/README.md 2015-07-03 19:20:49.000000000 +0200
++++ libcec-3.0.1-with-amlogic-adapter/README.md 2016-02-10 12:03:54.517523977 +0100
+@@ -58,6 +58,12 @@
+ cmake -DHAVE_EXYNOS_API=1 ..
+ ```
+
++### Amlogic
++To compile in support for Amlogic devices, you have to pass the argument -DHAVE_AMLOGIC_API=1 to cmake:
++```
++cmake -DHAVE_AMLOGIC_API=1 ..
++```
++
+ ## TDA995x ##
+ To compile in support for TDA995x devices, you have to pass the argument -DHAVE_TDA995X_API=1 to cmake:
+ ```
+diff -Nur -x .cproject -x .project -x .settings libcec-3.0.1/src/libcec/adapter/AdapterFactory.cpp libcec-3.0.1-with-amlogic-adapter/src/libcec/adapter/AdapterFactory.cpp
+--- libcec-3.0.1/src/libcec/adapter/AdapterFactory.cpp 2016-02-21 01:11:12.579266950 +0100
++++ libcec-3.0.1-with-amlogic-adapter/src/libcec/adapter/AdapterFactory.cpp 2016-02-10 12:41:44.252060917 +0100
+@@ -63,6 +63,11 @@
+ #include "IMX/IMXCECAdapterCommunication.h"
+ #endif
+
++#if defined(HAVE_AMLOGIC_API)
++#include "Amlogic/AmlogicCECAdapterDetection.h"
++#include "Amlogic/AmlogicCECAdapterCommunication.h"
++#endif
++
+ using namespace CEC;
+
+ int8_t CAdapterFactory::FindAdapters(cec_adapter *deviceList, uint8_t iBufSize, const char *strDevicePath /* = NULL */)
+@@ -131,6 +136,18 @@
+ }
+ #endif
+
++#if defined(HAVE_AMLOGIC_API)
++ if (iAdaptersFound < iBufSize && CAmlogicCECAdapterDetection::FindAdapter())
++ {
++ snprintf(deviceList[iAdaptersFound].strComPath, sizeof(deviceList[iAdaptersFound].strComPath), CEC_AMLOGIC_PATH);
++ snprintf(deviceList[iAdaptersFound].strComName, sizeof(deviceList[iAdaptersFound].strComName), CEC_AMLOGIC_VIRTUAL_COM);
++ deviceList[iAdaptersFound].iVendorId = 0;
++ deviceList[iAdaptersFound].iProductId = 0;
++ deviceList[iAdaptersFound].adapterType = ADAPTERTYPE_AMLOGIC;
++ iAdaptersFound++;
++ }
++#endif
++
+
+
+ #if defined(HAVE_IMX_API)
+@@ -166,6 +183,11 @@
+ return new CExynosCECAdapterCommunication(m_lib->m_cec);
+ #endif
+
++#if defined(HAVE_AMLOGIC_API)
++ if (!strcmp(strPort, CEC_AMLOGIC_VIRTUAL_COM))
++ return new CAmlogicCECAdapterCommunication(m_lib->m_cec);
++#endif
++
+ #if defined(HAVE_RPI_API)
+ if (!strcmp(strPort, CEC_RPI_VIRTUAL_COM))
+ return new CRPiCECAdapterCommunication(m_lib->m_cec);
+@@ -180,7 +202,7 @@
+ return new CUSBCECAdapterCommunication(m_lib->m_cec, strPort, iBaudRate);
+ #endif
+
+-#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) && !defined(HAVE_IMX_API)
++#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) && !defined(HAVE_IMX_API) && !defined(HAVE_AMLOGIC_API)
+ return NULL;
+ #endif
+ }
+diff -Nur -x .cproject -x .project -x .settings libcec-3.0.1/src/libcec/adapter/Amlogic/AmlogicCECAdapterCommunication.cpp libcec-3.0.1-with-amlogic-adapter/src/libcec/adapter/Amlogic/AmlogicCECAdapterCommunication.cpp
+--- libcec-3.0.1/src/libcec/adapter/Amlogic/AmlogicCECAdapterCommunication.cpp 1970-01-01 01:00:00.000000000 +0100
++++ libcec-3.0.1-with-amlogic-adapter/src/libcec/adapter/Amlogic/AmlogicCECAdapterCommunication.cpp 2016-02-28 12:31:26.771045268 +0100
+@@ -0,0 +1,298 @@
++/*
++ * This file is part of the libCEC(R) library.
++ *
++ * libCEC Amlogic Code Copyright (C) 2016 Gerald Dachs
++ * based heavily on:
++ * libCEC Exynos Code Copyright (C) 2014 Valentin Manea
++ * libCEC(R) is Copyright (C) 2011-2015 Pulse-Eight Limited. All rights reserved.
++ * libCEC(R) is an original work, containing original code.
++ *
++ * libCEC(R) is a trademark of Pulse-Eight Limited.
++ *
++ * This program is dual-licensed; 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 of the License, 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 this program; if not, write to the Free Software
++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++ *
++ *
++ * Alternatively, you can license this library under a commercial license,
++ * please contact Pulse-Eight Licensing for more information.
++ *
++ * For more information contact:
++ * Pulse-Eight Licensing
++ * http://www.pulse-eight.com/
++ * http://www.pulse-eight.net/
++ */
++
++#include "env.h"
++#include
++#include
++
++
++#if defined(HAVE_AMLOGIC_API)
++#include "AmlogicCEC.h"
++#include "AmlogicCECAdapterCommunication.h"
++
++#include "CECTypeUtils.h"
++#include "LibCEC.h"
++#include
++
++using namespace CEC;
++using namespace PLATFORM;
++
++#define LIB_CEC m_callback->GetLib()
++
++
++CAmlogicCECAdapterCommunication::CAmlogicCECAdapterCommunication(IAdapterCommunicationCallback *callback) :
++ IAdapterCommunication(callback),
++ m_bLogicalAddressChanged(false)
++{
++ CLockObject lock(m_mutex);
++
++ m_logicalAddresses.Clear();
++ m_fd = INVALID_SOCKET_VALUE;
++}
++
++
++CAmlogicCECAdapterCommunication::~CAmlogicCECAdapterCommunication(void)
++{
++ Close();
++}
++
++
++bool CAmlogicCECAdapterCommunication::IsOpen(void)
++{
++ CLockObject lock(m_mutex);
++ return IsInitialised() && m_fd != INVALID_SOCKET_VALUE;
++}
++
++
++bool CAmlogicCECAdapterCommunication::Open(uint32_t UNUSED(iTimeoutMs), bool UNUSED(bSkipChecks), bool bStartListening)
++{
++ if (IsOpen())
++ Close();
++
++ CLockObject lock(m_mutex);
++
++ if ((m_fd = open(CEC_AMLOGIC_PATH, O_RDWR)) > 0)
++ {
++ if (!bStartListening || CreateThread()) {
++ return true;
++ }
++ close(m_fd);
++ m_fd = INVALID_SOCKET_VALUE;
++ }
++ return false;
++}
++
++
++void CAmlogicCECAdapterCommunication::Close(void)
++{
++ StopThread(0);
++
++ CLockObject lock(m_mutex);
++
++ close(m_fd);
++ m_fd = INVALID_SOCKET_VALUE;
++}
++
++
++std::string CAmlogicCECAdapterCommunication::GetError(void) const
++{
++ std::string strError(m_strError);
++ return strError;
++}
++
++int CAmlogicCECAdapterCommunication::getFileDescriptor(void)
++{
++ CLockObject lock(m_mutex);
++
++ return m_fd;
++}
++
++
++
++cec_adapter_message_state CAmlogicCECAdapterCommunication::Write(
++ const cec_command &data, bool &UNUSED(bRetry), uint8_t UNUSED(iLineTimeout), bool UNUSED(bIsReply))
++{
++ uint8_t buffer[CEC_MAX_FRAME_SIZE];
++ int32_t size = 1;
++ cec_adapter_message_state rc = ADAPTER_MESSAGE_STATE_ERROR;
++
++ if (!IsOpen())
++ return rc;
++
++ CLockObject lock(m_mutex);
++
++ if ((size_t)data.parameters.size + data.opcode_set > sizeof(buffer))
++ {
++ LIB_CEC->AddLog(CEC_LOG_ERROR, "%s: data size too large !", __func__);
++ return ADAPTER_MESSAGE_STATE_ERROR;
++ }
++
++ buffer[0] = (data.initiator << 4) | (data.destination & 0x0f);
++
++ if (data.opcode_set)
++ {
++ buffer[1] = data.opcode;
++ size++;
++
++ memcpy(&buffer[size], data.parameters.data, data.parameters.size);
++ size += data.parameters.size;
++ }
++
++ if (write(m_fd, (void *)buffer, size) == size)
++ {
++ rc = ADAPTER_MESSAGE_STATE_SENT_ACKED;
++ }
++ else
++ {
++ LIB_CEC->AddLog(CEC_LOG_ERROR, "%s: write failed !", __func__);
++ }
++
++ return rc;
++}
++
++
++uint16_t CAmlogicCECAdapterCommunication::GetFirmwareVersion(void)
++{
++ return 0;
++}
++
++
++cec_vendor_id CAmlogicCECAdapterCommunication::GetVendorId(void)
++{
++ return cec_vendor_id(CEC_VENDOR_UNKNOWN);
++}
++
++
++uint16_t CAmlogicCECAdapterCommunication::GetPhysicalAddress(void)
++{
++ int phys_addr = CEC_DEFAULT_PADDR;
++
++ if (!IsOpen())
++ return (uint16_t)phys_addr;
++
++ CLockObject lock(m_mutex);
++
++ if ((phys_addr = ioctl(m_fd, CEC_IOC_GETPADDR)) < 0)
++ {
++ LIB_CEC->AddLog(CEC_LOG_ERROR, "%s: IOCTL GetPhysicalAddr failed !", __func__);
++ phys_addr = CEC_DEFAULT_PADDR;
++ }
++ return (uint16_t)phys_addr;
++}
++
++
++cec_logical_addresses CAmlogicCECAdapterCommunication::GetLogicalAddresses(void)
++{
++ return m_logicalAddresses;
++}
++
++
++bool CAmlogicCECAdapterCommunication::SetLogicalAddresses(const cec_logical_addresses &addresses)
++{
++ unsigned int log_addr = addresses.primary;
++ if (!IsOpen())
++ return false;
++
++ CLockObject lock(m_mutex);
++
++ if (ioctl(m_fd, CEC_IOC_SETLADDR, &log_addr))
++ {
++ LIB_CEC->AddLog(CEC_LOG_ERROR, "%s: IOCTL SetLogicalAddr failed !", __func__);
++ return false;
++ }
++ m_logicalAddresses = addresses;
++ m_bLogicalAddressChanged = true;
++
++ return true;
++}
++
++
++void CAmlogicCECAdapterCommunication::HandleLogicalAddressLost(cec_logical_address UNUSED(oldAddress))
++{
++ unsigned int log_addr = CECDEVICE_BROADCAST;
++
++ if (!IsOpen())
++ return;
++
++ CLockObject lock(m_mutex);
++
++ if (ioctl(m_fd, CEC_IOC_SETLADDR, &log_addr))
++ {
++ LIB_CEC->AddLog(CEC_LOG_ERROR, "%s: IOCTL SetLogicalAddr failed !", __func__);
++ }
++}
++
++
++void *CAmlogicCECAdapterCommunication::Process(void)
++{
++ uint8_t buffer[CEC_MAX_FRAME_SIZE];
++ uint32_t size;
++ fd_set rfds;
++ cec_logical_address initiator, destination;
++
++ if (!IsOpen())
++ return 0;
++
++ while (!IsStopped())
++ {
++ int fd = getFileDescriptor();
++
++ if (fd == INVALID_SOCKET_VALUE)
++ {
++ break;
++ }
++
++ FD_ZERO(&rfds);
++ FD_SET(fd, &rfds);
++
++ if (select(fd + 1, &rfds, NULL, NULL, NULL) >= 0 )
++ {
++ size = read(fd, buffer, CEC_MAX_FRAME_SIZE);
++
++ if (size > 0)
++ {
++ if (buffer[0] == 0xff) // driver wants us to reread the physical address
++ {
++ if (!IsStopped())
++ {
++ uint16_t iNewAddress = GetPhysicalAddress();
++ m_callback->HandlePhysicalAddressChanged(iNewAddress);
++ }
++ continue;
++ }
++
++ initiator = cec_logical_address(buffer[0] >> 4);
++ destination = cec_logical_address(buffer[0] & 0x0f);
++
++ cec_command cmd;
++
++ cec_command::Format(
++ cmd, initiator, destination,
++ ( size > 1 ) ? cec_opcode(buffer[1]) : CEC_OPCODE_NONE);
++
++ for( uint8_t i = 2; i < size; i++ )
++ cmd.parameters.PushBack(buffer[i]);
++
++ if (!IsStopped())
++ m_callback->OnCommandReceived(cmd);
++ }
++ }
++
++ }
++
++ return 0;
++}
++
++#endif // HAVE_AMLOGIC_API
+diff -Nur -x .cproject -x .project -x .settings libcec-3.0.1/src/libcec/adapter/Amlogic/AmlogicCECAdapterCommunication.h libcec-3.0.1-with-amlogic-adapter/src/libcec/adapter/Amlogic/AmlogicCECAdapterCommunication.h
+--- libcec-3.0.1/src/libcec/adapter/Amlogic/AmlogicCECAdapterCommunication.h 1970-01-01 01:00:00.000000000 +0100
++++ libcec-3.0.1-with-amlogic-adapter/src/libcec/adapter/Amlogic/AmlogicCECAdapterCommunication.h 2016-02-28 12:16:30.985474428 +0100
+@@ -0,0 +1,105 @@
++#pragma once
++/*
++ * This file is part of the libCEC(R) library.
++ *
++ * libCEC Amlogic Code Copyright (C) 2016 Gerald Dachs
++ * based heavily on:
++ * libCEC Exynos Code Copyright (C) 2014 Valentin Manea
++ * libCEC(R) is Copyright (C) 2011-2015 Pulse-Eight Limited. All rights reserved.
++ * libCEC(R) is an original work, containing original code.
++ *
++ * libCEC(R) is a trademark of Pulse-Eight Limited.
++ *
++ * This program is dual-licensed; 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 of the License, 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 this program; if not, write to the Free Software
++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++ *
++ *
++ * Alternatively, you can license this library under a commercial license,
++ * please contact Pulse-Eight Licensing for more information.
++ *
++ * For more information contact:
++ * Pulse-Eight Licensing
++ * http://www.pulse-eight.com/
++ * http://www.pulse-eight.net/
++ */
++
++#include "env.h"
++
++#if defined(HAVE_AMLOGIC_API)
++
++#include
++#include
++#include "../AdapterCommunication.h"
++#include