From 181d9673b8914cca20ece954ad04f714248ebaa1 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:17:09 +0200 Subject: [PATCH 01/28] add sap audio decoder addon --- .../audiodecoder.asap/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.asap/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.asap/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.asap/package.mk new file mode 100644 index 0000000000..95500dfbf5 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.asap/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.asap" +PKG_VERSION="53566f4" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.asap" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.asap" +PKG_LONGDESC="audiodecoder.asap" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From f0eaa629469741c004f4718e01709ef9d2b3a2ff Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:17:34 +0200 Subject: [PATCH 02/28] tools/mkpkg: add mkpkg_audiodecoder.asap --- tools/mkpkg/mkpkg_audiodecoder.asap | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.asap diff --git a/tools/mkpkg/mkpkg_audiodecoder.asap b/tools/mkpkg/mkpkg_audiodecoder.asap new file mode 100755 index 0000000000..b48130bb08 --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.asap @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.asap.git ]; then + git clone https://github.com/notspiff/audiodecoder.asap.git audiodecoder.asap.git + fi + + cd audiodecoder.asap.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.asap-$GIT_REV + cp -R audiodecoder.asap.git audiodecoder.asap-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.asap-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.asap-$GIT_REV.tar.xz audiodecoder.asap-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.asap-$GIT_REV From d4a566439db1fc80120423efa16ec6d6d5b2434c Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:21:31 +0200 Subject: [PATCH 03/28] add GameMusicEmu audio decoder addon --- .../audiodecoder.gme/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.gme/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.gme/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.gme/package.mk new file mode 100644 index 0000000000..208b10cb44 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.gme/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.gme" +PKG_VERSION="b042d4a" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.gme" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.gme" +PKG_LONGDESC="audiodecoder.gme" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From dda5137a04f022968885bd6eaa11546b20b21c03 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:21:49 +0200 Subject: [PATCH 04/28] tools/mkpkg: add mkpkg_audiodecoder.gme --- tools/mkpkg/mkpkg_audiodecoder.gme | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.gme diff --git a/tools/mkpkg/mkpkg_audiodecoder.gme b/tools/mkpkg/mkpkg_audiodecoder.gme new file mode 100755 index 0000000000..a3ca63915d --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.gme @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.gme.git ]; then + git clone https://github.com/notspiff/audiodecoder.gme.git audiodecoder.gme.git + fi + + cd audiodecoder.gme.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.gme-$GIT_REV + cp -R audiodecoder.gme.git audiodecoder.gme-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.gme-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.gme-$GIT_REV.tar.xz audiodecoder.gme-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.gme-$GIT_REV From 4d0b9a7830ad55afc13ed0f59b94fe4ef3e71dbc Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:24:50 +0200 Subject: [PATCH 05/28] add gsf audio decoder addon --- .../audiodecoder.gsf/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.gsf/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.gsf/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.gsf/package.mk new file mode 100644 index 0000000000..c9e16d19c6 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.gsf/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.gsf" +PKG_VERSION="46d8de7" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.gsf" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.gsf" +PKG_LONGDESC="audiodecoder.gsf" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From e3a76c4e6d03f25f99a1cb19cfbc01638adfffc3 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:25:00 +0200 Subject: [PATCH 06/28] tools/mkpkg: add mkpkg_audiodecoder.gsf --- tools/mkpkg/mkpkg_audiodecoder.gsf | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.gsf diff --git a/tools/mkpkg/mkpkg_audiodecoder.gsf b/tools/mkpkg/mkpkg_audiodecoder.gsf new file mode 100755 index 0000000000..102b030e01 --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.gsf @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.gsf.git ]; then + git clone https://github.com/notspiff/audiodecoder.gsf.git audiodecoder.gsf.git + fi + + cd audiodecoder.gsf.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.gsf-$GIT_REV + cp -R audiodecoder.gsf.git audiodecoder.gsf-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.gsf-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.gsf-$GIT_REV.tar.xz audiodecoder.gsf-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.gsf-$GIT_REV From ff1335c23b86c6cbca24ffc1f88d27b660c2f6f2 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:27:34 +0200 Subject: [PATCH 07/28] add ncsf audio decoder addon --- .../audiodecoder.ncsf/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.ncsf/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.ncsf/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.ncsf/package.mk new file mode 100644 index 0000000000..865dde660f --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.ncsf/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.ncsf" +PKG_VERSION="5c99c79" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.ncsf" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.ncsf" +PKG_LONGDESC="audiodecoder.ncsf" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From 59e965544a5f08a449b2b492552d16fb45fef4cd Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:27:42 +0200 Subject: [PATCH 08/28] tools/mkpkg add mkpkg_audiodecoder.ncsf --- tools/mkpkg/mkpkg_audiodecoder.ncsf | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.ncsf diff --git a/tools/mkpkg/mkpkg_audiodecoder.ncsf b/tools/mkpkg/mkpkg_audiodecoder.ncsf new file mode 100755 index 0000000000..a85ead5b15 --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.ncsf @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.ncsf.git ]; then + git clone https://github.com/notspiff/audiodecoder.ncsf.git audiodecoder.ncsf.git + fi + + cd audiodecoder.ncsf.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.ncsf-$GIT_REV + cp -R audiodecoder.ncsf.git audiodecoder.ncsf-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.ncsf-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.ncsf-$GIT_REV.tar.xz audiodecoder.ncsf-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.ncsf-$GIT_REV From ac606202f1a590c61fb225e93ba502d9f5b20bd3 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:30:48 +0200 Subject: [PATCH 09/28] add organya audio decoder addon --- .../audiodecoder.organya/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.organya/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.organya/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.organya/package.mk new file mode 100644 index 0000000000..cbe37fe2e6 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.organya/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.organya" +PKG_VERSION="4a94300" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.organya" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.organya" +PKG_LONGDESC="audiodecoder.organya" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From 3fe0f3f385dea243be0ceeecf3731212be9cf6bc Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:30:59 +0200 Subject: [PATCH 10/28] tools/mkpkg: add mkpkg_audiodecoder.organya --- tools/mkpkg/mkpkg_audiodecoder.organya | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.organya diff --git a/tools/mkpkg/mkpkg_audiodecoder.organya b/tools/mkpkg/mkpkg_audiodecoder.organya new file mode 100755 index 0000000000..fd4311ea3b --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.organya @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.organya.git ]; then + git clone https://github.com/notspiff/audiodecoder.organya.git audiodecoder.organya.git + fi + + cd audiodecoder.organya.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.organya-$GIT_REV + cp -R audiodecoder.organya.git audiodecoder.organya-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.organya-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.organya-$GIT_REV.tar.xz audiodecoder.organya-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.organya-$GIT_REV From 460303247f8be7511e85aa771344ad4d394ea19d Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:33:43 +0200 Subject: [PATCH 11/28] add qsf audio decoder addon --- .../audiodecoder.qsf/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.qsf/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.qsf/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.qsf/package.mk new file mode 100644 index 0000000000..e19c3a3a2c --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.qsf/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.qsf" +PKG_VERSION="bb7b0aa" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.qsf" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.qsf" +PKG_LONGDESC="audiodecoder.qsf" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From 3c8dfff78ea0bd25ce2943f58fda3e6caeac5323 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:33:55 +0200 Subject: [PATCH 12/28] tools/mkpkg: add mkpkg_audiodecoder.qsf --- tools/mkpkg/mkpkg_audiodecoder.qsf | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.qsf diff --git a/tools/mkpkg/mkpkg_audiodecoder.qsf b/tools/mkpkg/mkpkg_audiodecoder.qsf new file mode 100755 index 0000000000..d6afd88cc2 --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.qsf @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.qsf.git ]; then + git clone https://github.com/notspiff/audiodecoder.qsf.git audiodecoder.qsf.git + fi + + cd audiodecoder.qsf.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.qsf-$GIT_REV + cp -R audiodecoder.qsf.git audiodecoder.qsf-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.qsf-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.qsf-$GIT_REV.tar.xz audiodecoder.qsf-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.qsf-$GIT_REV From 47a5e710cc02086244f260795a919d6ea938ea55 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:36:11 +0200 Subject: [PATCH 13/28] add ssf audio decoder addon --- .../audiodecoder.ssf/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.ssf/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.ssf/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.ssf/package.mk new file mode 100644 index 0000000000..3e342110f5 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.ssf/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.ssf" +PKG_VERSION="ba9017a" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.ssf" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.ssf" +PKG_LONGDESC="audiodecoder.ssf" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From 5b3070e7c7989a3d9134ab6b6edf963e3a2e99b2 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:36:19 +0200 Subject: [PATCH 14/28] tools/mkpkg: add mkpkg_audiodecoder.ssf --- tools/mkpkg/mkpkg_audiodecoder.ssf | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.ssf diff --git a/tools/mkpkg/mkpkg_audiodecoder.ssf b/tools/mkpkg/mkpkg_audiodecoder.ssf new file mode 100755 index 0000000000..4de66a0074 --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.ssf @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.ssf.git ]; then + git clone https://github.com/notspiff/audiodecoder.ssf.git audiodecoder.ssf.git + fi + + cd audiodecoder.ssf.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.ssf-$GIT_REV + cp -R audiodecoder.ssf.git audiodecoder.ssf-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.ssf-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.ssf-$GIT_REV.tar.xz audiodecoder.ssf-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.ssf-$GIT_REV From 9d8b676281719ce3ba04f770ecc20da3185f06b9 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:40:24 +0200 Subject: [PATCH 15/28] add wsr audio decoder addon --- .../audiodecoder.wsr/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.wsr/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.wsr/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.wsr/package.mk new file mode 100644 index 0000000000..681ecb5f28 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.wsr/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.wsr" +PKG_VERSION="f5aff29" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.wsr" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.wsr" +PKG_LONGDESC="audiodecoder.wsr" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From 6c8a2052a945977db41722966d837d5ccf22e2a7 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:40:35 +0200 Subject: [PATCH 16/28] tools/mkpkg: add mkpkg_audiodecoder.wsr --- tools/mkpkg/mkpkg_audiodecoder.wsr | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.wsr diff --git a/tools/mkpkg/mkpkg_audiodecoder.wsr b/tools/mkpkg/mkpkg_audiodecoder.wsr new file mode 100755 index 0000000000..0fe4e126eb --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.wsr @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.wsr.git ]; then + git clone https://github.com/notspiff/audiodecoder.wsr.git audiodecoder.wsr.git + fi + + cd audiodecoder.wsr.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.wsr-$GIT_REV + cp -R audiodecoder.wsr.git audiodecoder.wsr-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.wsr-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.wsr-$GIT_REV.tar.xz audiodecoder.wsr-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.wsr-$GIT_REV From d79d42fbbc86688e618ab577f5f98f400a4e27c3 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:42:57 +0200 Subject: [PATCH 17/28] add upse audio decoder addon --- .../audiodecoder.upse/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.upse/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.upse/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.upse/package.mk new file mode 100644 index 0000000000..bc1e05f624 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.upse/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.upse" +PKG_VERSION="a6a41d1" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.upse" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.upse" +PKG_LONGDESC="audiodecoder.upse" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From c8da8be150b05d0a09e5afbc01945ace97795954 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 12:43:06 +0200 Subject: [PATCH 18/28] tools/mkpkg: add mkpkg_audiodecoder.upse --- tools/mkpkg/mkpkg_audiodecoder.upse | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.upse diff --git a/tools/mkpkg/mkpkg_audiodecoder.upse b/tools/mkpkg/mkpkg_audiodecoder.upse new file mode 100755 index 0000000000..c5dfefd5c8 --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.upse @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.upse.git ]; then + git clone https://github.com/notspiff/audiodecoder.upse.git audiodecoder.upse.git + fi + + cd audiodecoder.upse.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.upse-$GIT_REV + cp -R audiodecoder.upse.git audiodecoder.upse-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.upse-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.upse-$GIT_REV.tar.xz audiodecoder.upse-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.upse-$GIT_REV From 582cc8990f56117a9340dcab35da0bf03c30bb4b Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 13:17:19 +0200 Subject: [PATCH 19/28] add fluidsynth --- packages/audio/fluidsynth/package.mk | 37 +++++++++++++++++++ .../patches/fluidsynth-01-fix-libdir.patch | 18 +++++++++ 2 files changed, 55 insertions(+) create mode 100644 packages/audio/fluidsynth/package.mk create mode 100644 packages/audio/fluidsynth/patches/fluidsynth-01-fix-libdir.patch diff --git a/packages/audio/fluidsynth/package.mk b/packages/audio/fluidsynth/package.mk new file mode 100644 index 0000000000..67bd7fda26 --- /dev/null +++ b/packages/audio/fluidsynth/package.mk @@ -0,0 +1,37 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="fluidsynth" +PKG_VERSION="1.1.6" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://fluidsynth.org/" +PKG_URL="$SOURCEFORGE_SRC/project/fluidsynth/fluidsynth-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="audio" +PKG_SHORTDESC="FluidSynth: A SoundFont Synthesizer." +PKG_LONGDESC="FluidSynth renders midi music files as raw audio data, for playing or conversion. " + +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 .. +} diff --git a/packages/audio/fluidsynth/patches/fluidsynth-01-fix-libdir.patch b/packages/audio/fluidsynth/patches/fluidsynth-01-fix-libdir.patch new file mode 100644 index 0000000000..038fa7d385 --- /dev/null +++ b/packages/audio/fluidsynth/patches/fluidsynth-01-fix-libdir.patch @@ -0,0 +1,18 @@ +--- fluidsynth-1.1.6/CMakeLists.txt.orig 2015-04-06 13:12:55.151874342 +0200 ++++ fluidsynth-1.1.6/CMakeLists.txt 2015-04-06 13:14:32.931876573 +0200 +@@ -85,11 +85,11 @@ + endif ( ${CMAKE_SYSTEM} MATCHES "OS2" ) + + # Initialize the library directory name suffix. +-if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +- set ( _init_lib_suffix "64" ) +-else ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) ++#if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) ++# set ( _init_lib_suffix "64" ) ++#else ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) + set ( _init_lib_suffix "" ) +-endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) ++#endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) + set ( LIB_SUFFIX ${_init_lib_suffix} CACHE STRING + "library directory name suffix (32/64/nothing)" ) + mark_as_advanced ( LIB_SUFFIX ) From e243e7b61e9dbc5b77c21cd65a5fb4967c558cce Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 13:18:23 +0200 Subject: [PATCH 20/28] add fluidsynth audio decoder addon --- .../audiodecoder.fluidsynth/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.fluidsynth/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.fluidsynth/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.fluidsynth/package.mk new file mode 100644 index 0000000000..1c26db1a05 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.fluidsynth/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.fluidsynth" +PKG_VERSION="be8d248" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.fluidsynth" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform fluidsynth" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.fluidsynth" +PKG_LONGDESC="audiodecoder.fluidsynth" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From 962cace902adce35b5041b9af57307dc07fa85a9 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 13:18:36 +0200 Subject: [PATCH 21/28] tools/mkpkg: add mkpkg_audiodecoder.fluidsynth --- tools/mkpkg/mkpkg_audiodecoder.fluidsynth | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.fluidsynth diff --git a/tools/mkpkg/mkpkg_audiodecoder.fluidsynth b/tools/mkpkg/mkpkg_audiodecoder.fluidsynth new file mode 100755 index 0000000000..08426336cb --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.fluidsynth @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.fluidsynth.git ]; then + git clone https://github.com/notspiff/audiodecoder.fluidsynth.git audiodecoder.fluidsynth.git + fi + + cd audiodecoder.fluidsynth.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.fluidsynth-$GIT_REV + cp -R audiodecoder.fluidsynth.git audiodecoder.fluidsynth-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.fluidsynth-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.fluidsynth-$GIT_REV.tar.xz audiodecoder.fluidsynth-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.fluidsynth-$GIT_REV From 5c16c93d67c3e2f53999d640f2894291107d39b2 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 13:42:09 +0200 Subject: [PATCH 22/28] add libopenmpt --- packages/audio/libopenmpt/package.mk | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packages/audio/libopenmpt/package.mk diff --git a/packages/audio/libopenmpt/package.mk b/packages/audio/libopenmpt/package.mk new file mode 100644 index 0000000000..cd24ff66ad --- /dev/null +++ b/packages/audio/libopenmpt/package.mk @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="libopenmpt" +PKG_VERSION="0.2.4764" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://lib.openmpt.org/libopenmpt/" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="audio" +PKG_SHORTDESC="libopenmpt: renders mod music files as raw audio data, for playing or conversion." +PKG_LONGDESC="libopenmpt renders mod music files as raw audio data, for playing or conversion." + +PKG_IS_ADDON="no" +PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared" From 8e70ae8ff57a7f925aa60f6e8b37ea2fb01c6188 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 13:42:27 +0200 Subject: [PATCH 23/28] add openmpt audio decoder addon --- .../audiodecoder.openmpt/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.openmpt/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.openmpt/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.openmpt/package.mk new file mode 100644 index 0000000000..e8f8b8daef --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.openmpt/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.openmpt" +PKG_VERSION="92aa46e" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.kodi.tv" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libopenmpt" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.openmpt" +PKG_LONGDESC="audiodecoder.openmpt" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From 6b8e9d6b45aacbc2cc50de00741ba7d218839402 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 13:42:39 +0200 Subject: [PATCH 24/28] tools/mkpkg: add mkpkg_audiodecoder.openmpt --- tools/mkpkg/mkpkg_audiodecoder.openmpt | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.openmpt diff --git a/tools/mkpkg/mkpkg_audiodecoder.openmpt b/tools/mkpkg/mkpkg_audiodecoder.openmpt new file mode 100755 index 0000000000..b1639d01a8 --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.openmpt @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.openmpt.git ]; then + git clone https://github.com/notspiff/audiodecoder.openmpt.git audiodecoder.openmpt.git + fi + + cd audiodecoder.openmpt.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.openmpt-$GIT_REV + cp -R audiodecoder.openmpt.git audiodecoder.openmpt-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.openmpt-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.openmpt-$GIT_REV.tar.xz audiodecoder.openmpt-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.openmpt-$GIT_REV From d670d9e7b9c3724a20ba90cead56ba96692788b0 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 14:00:17 +0200 Subject: [PATCH 25/28] add dumb audio decoder addon --- .../audiodecoder.dumb/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.dumb/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.dumb/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.dumb/package.mk new file mode 100644 index 0000000000..0769fe40ed --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.dumb/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.dumb" +PKG_VERSION="83b0066" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.dumb" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.dumb" +PKG_LONGDESC="audiodecoder.dumb" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From 45a7dc6ab60136c679fa0b2896e2e37aa4dd27fa Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 14:00:31 +0200 Subject: [PATCH 26/28] tools/mkpkg: add mkpkg_audiodecoder.dumb --- tools/mkpkg/mkpkg_audiodecoder.dumb | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.dumb diff --git a/tools/mkpkg/mkpkg_audiodecoder.dumb b/tools/mkpkg/mkpkg_audiodecoder.dumb new file mode 100755 index 0000000000..a12049d4a8 --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.dumb @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.dumb.git ]; then + git clone https://github.com/notspiff/audiodecoder.dumb.git audiodecoder.dumb.git + fi + + cd audiodecoder.dumb.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.dumb-$GIT_REV + cp -R audiodecoder.dumb.git audiodecoder.dumb-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.dumb-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.dumb-$GIT_REV.tar.xz audiodecoder.dumb-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.dumb-$GIT_REV From 68f72c496545da83560bd90c79e6c553a0c44165 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 14:17:55 +0200 Subject: [PATCH 27/28] add usf audio decoder addon --- .../audiodecoder.usf/package.mk | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mediacenter/kodi-binary-addons/audiodecoder.usf/package.mk diff --git a/packages/mediacenter/kodi-binary-addons/audiodecoder.usf/package.mk b/packages/mediacenter/kodi-binary-addons/audiodecoder.usf/package.mk new file mode 100644 index 0000000000..06e83f69be --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/audiodecoder.usf/package.mk @@ -0,0 +1,48 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="audiodecoder.usf" +PKG_VERSION="85bd171" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/notspiff/audiodecoder.usf" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_PRIORITY="optional" +PKG_SECTION="" +PKG_SHORTDESC="audiodecoder.usf" +PKG_LONGDESC="audiodecoder.usf" +PKG_AUTORECONF="no" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.audiodecoder" + +configure_target() { + cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \ + -DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \ + .. +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PR $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/ + cp -PL $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/*.so $ADDON_BUILD/$PKG_ADDON_ID/ +} From ac29277e7ecfabee88e218302cd1cba3d31288ba Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Apr 2015 14:18:03 +0200 Subject: [PATCH 28/28] tools/mkpkg: add mkpkg_audiodecoder.usf --- tools/mkpkg/mkpkg_audiodecoder.usf | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 tools/mkpkg/mkpkg_audiodecoder.usf diff --git a/tools/mkpkg/mkpkg_audiodecoder.usf b/tools/mkpkg/mkpkg_audiodecoder.usf new file mode 100755 index 0000000000..5322b0584a --- /dev/null +++ b/tools/mkpkg/mkpkg_audiodecoder.usf @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d audiodecoder.usf.git ]; then + git clone https://github.com/notspiff/audiodecoder.usf.git audiodecoder.usf.git + fi + + cd audiodecoder.usf.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf audiodecoder.usf-$GIT_REV + cp -R audiodecoder.usf.git audiodecoder.usf-$GIT_REV + +echo "cleaning sources..." + rm -rf audiodecoder.usf-$GIT_REV/.git + +echo "packing sources..." + tar cvJf audiodecoder.usf-$GIT_REV.tar.xz audiodecoder.usf-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf audiodecoder.usf-$GIT_REV