diff --git a/packages/addons/addon-depends/multimedia-tools-depends/depends/libmediainfo/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/depends/libmediainfo/package.mk new file mode 100644 index 0000000000..54ce7410ba --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/depends/libmediainfo/package.mk @@ -0,0 +1,59 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC 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. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libmediainfo" +PKG_VERSION="0.7.83" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://mediaarea.net/en/MediaInfo/Download/Source" +PKG_URL="http://mediaarea.net/download/source/libmediainfo/$PKG_VERSION/libmediainfo_$PKG_VERSION.tar.bz2" +PKG_SOURCE_DIR="MediaInfoLib" +PKG_DEPENDS_TARGET="toolchain libzen" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files" +PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files" +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" + + +make_target() { + cd Project/GNU/Library + do_autoreconf + ./configure \ + --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --enable-static \ + --disable-shared \ + --prefix=/usr \ + --enable-visibility \ + --disable-libcurl \ + --disable-libmms + make +} + +post_makeinstall_target() { + mkdir -p $SYSROOT_PREFIX/usr/include/MediaInfo + cp -aP ../../../Source/MediaInfo/* $SYSROOT_PREFIX/usr/include/MediaInfo + for i in Archive Audio Duplicate Export Image Multiple Reader Tag Text Video ; do + mkdir -p $SYSROOT_PREFIX/usr/include/MediaInfo/$i/ + cp -aP ../../../Source/MediaInfo/$i/*.h $SYSROOT_PREFIX/usr/include/MediaInfo/$i/ + done + cp -P libmediainfo-config $ROOT/$TOOLCHAIN/bin +} diff --git a/packages/addons/addon-depends/multimedia-tools-depends/depends/libzen/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/depends/libzen/package.mk new file mode 100644 index 0000000000..1fad136eda --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/depends/libzen/package.mk @@ -0,0 +1,56 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC 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. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libzen" +PKG_VERSION="0.4.33" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://mediaarea.net/en/MediaInfo/" +PKG_URL="http://mediaarea.net/download/source/libzen/$PKG_VERSION/libzen_$PKG_VERSION.tar.bz2" +PKG_SOURCE_DIR="ZenLib" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files" +PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files" +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" + +make_target() { + cd Project/GNU/Library + do_autoreconf + ./configure \ + --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --enable-static \ + --disable-shared \ + --prefix=/usr + + make +} + +post_makeinstall_target() { + mkdir -p $SYSROOT_PREFIX/usr/include/ZenLib + cp -aP ../../../Source/ZenLib/*.h $SYSROOT_PREFIX/usr/include/ZenLib + for i in HTTP_Client Format/Html Format/Http ; do + mkdir -p $SYSROOT_PREFIX/usr/include/ZenLib/$i/ + cp -aP ../../../Source/ZenLib/$i/*.h $SYSROOT_PREFIX/usr/include/ZenLib/$i/ + done + cp -P libzen-config $ROOT/$TOOLCHAIN/bin +} diff --git a/packages/addons/addon-depends/multimedia-tools-depends/mediainfo/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/mediainfo/package.mk new file mode 100644 index 0000000000..4a4e023d94 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/mediainfo/package.mk @@ -0,0 +1,47 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC 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. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +PKG_NAME="mediainfo" +PKG_VERSION="0.7.83" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://mediaarea.net/en/MediaInfo/Download/Source" +PKG_URL="http://mediaarea.net/download/source/mediainfo/$PKG_VERSION/mediainfo_$PKG_VERSION.tar.bz2" +PKG_SOURCE_DIR="MediaInfo" +PKG_DEPENDS_TARGET="toolchain libmediainfo" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files" +PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files" +PKG_AUTORECONF="no" + +make_target() { + cd Project/GNU/CLI + do_autoreconf + echo $PATH + ./configure \ + --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr + make +} + +makeinstall_target() { + : # nop +} diff --git a/packages/addons/addon-depends/multimedia-tools-depends/mesa-demos/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/mesa-demos/package.mk new file mode 100644 index 0000000000..39cfeaa03f --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/mesa-demos/package.mk @@ -0,0 +1,37 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC 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. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +PKG_NAME="mesa-demos" +PKG_VERSION="8.3.0" +PKG_REV="0" +PKG_ARCH="i386 x86_64" +PKG_LICENSE="OSS" +PKG_SITE="http://www.mesa3d.org/" +PKG_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS_TARGET="toolchain libX11 mesa glu glew" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="mesa-demos: Mesa 3D demos" +PKG_LONGDESC="Mesa 3D demos - installed are the well known glxinfo and glxgears." +PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="--without-glut" + +makeinstall_target() { + : # nop +} diff --git a/packages/addons/addon-depends/multimedia-tools-depends/opencaster/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/package.mk new file mode 100644 index 0000000000..0a2a2969f9 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/package.mk @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC 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. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +PKG_NAME="opencaster" +PKG_VERSION="3.2.2" +PKG_REV="0" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.avalpa.com/the-key-values/15-free-software/33-opencaster" +PKG_URL="http://ftp.de.debian.org/debian/pool/main/o/opencaster/opencaster_${PKG_VERSION}+dfsg.orig.tar.gz" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="MPEG2 transport stream data generator and packet manipulator" +PKG_LONGDESC="OpenCaster is a free and open source MPEG2 transport stream data generator and packet manipulator" +PKG_AUTORECONF="no" + +pre_makeinstall_target() { + mkdir -p $ROOT/$PKG_BUILD/.install_pkg +} diff --git a/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-01_crosscompile.patch b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-01_crosscompile.patch new file mode 100644 index 0000000000..7e7854de5f --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-01_crosscompile.patch @@ -0,0 +1,504 @@ +diff --git a/libs/sectioncrc/Makefile b/libs/sectioncrc/Makefile +index 87e4627..ad8a0e5 100755 +--- a/libs/sectioncrc/Makefile ++++ b/libs/sectioncrc/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS = -g -MD -Wall -I. -I../../include + + OBJ = sectioncrc.o +diff --git a/tools/dsmcc-receive/Makefile b/tools/dsmcc-receive/Makefile +index 891a50c..ee2d82e 100644 +--- a/tools/dsmcc-receive/Makefile ++++ b/tools/dsmcc-receive/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc -lz + +diff --git a/tools/eitsecactualtoanother/Makefile b/tools/eitsecactualtoanother/Makefile +index be3a790..723c857 100644 +--- a/tools/eitsecactualtoanother/Makefile ++++ b/tools/eitsecactualtoanother/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/eitsecfilter/Makefile b/tools/eitsecfilter/Makefile +index f4e5fc4..cc94b71 100644 +--- a/tools/eitsecfilter/Makefile ++++ b/tools/eitsecfilter/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/eitsecmapper/Makefile b/tools/eitsecmapper/Makefile +index 9c6ce8f..29dbc39 100644 +--- a/tools/eitsecmapper/Makefile ++++ b/tools/eitsecmapper/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/esaudio2pes/Makefile b/tools/esaudio2pes/Makefile +index 349b187..607f0a3 100644 +--- a/tools/esaudio2pes/Makefile ++++ b/tools/esaudio2pes/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/esaudioinfo/Makefile b/tools/esaudioinfo/Makefile +index 2c014b2..69a38a0 100644 +--- a/tools/esaudioinfo/Makefile ++++ b/tools/esaudioinfo/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/esvideompeg2info/Makefile b/tools/esvideompeg2info/Makefile +index aaa8065..ac91058 100644 +--- a/tools/esvideompeg2info/Makefile ++++ b/tools/esvideompeg2info/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/esvideompeg2pes/Makefile b/tools/esvideompeg2pes/Makefile +index a905e7b..7020503 100644 +--- a/tools/esvideompeg2pes/Makefile ++++ b/tools/esvideompeg2pes/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/i13942ts/Makefile b/tools/i13942ts/Makefile +index 72e4b2d..0c020f8 100644 +--- a/tools/i13942ts/Makefile ++++ b/tools/i13942ts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + + OBJS = i13942ts.o +diff --git a/tools/ip2sec/Makefile b/tools/ip2sec/Makefile +index 3a90c82..7580ca3 100644 +--- a/tools/ip2sec/Makefile ++++ b/tools/ip2sec/Makefile +@@ -1,4 +1,3 @@ +-CC = gcc + CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lpcap + +diff --git a/tools/m2ts2cbrts/Makefile b/tools/m2ts2cbrts/Makefile +index a2ed89f..778efb8 100644 +--- a/tools/m2ts2cbrts/Makefile ++++ b/tools/m2ts2cbrts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/mpe2sec/Makefile b/tools/mpe2sec/Makefile +index 5c29efd..55cbe4d 100644 +--- a/tools/mpe2sec/Makefile ++++ b/tools/mpe2sec/Makefile +@@ -1,4 +1,3 @@ +-CC = gcc + CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + + OBJS = mpe.o sectioncrc.o +diff --git a/tools/mpeg2videovbv/Makefile b/tools/mpeg2videovbv/Makefile +index 8635e67..4074c93 100644 +--- a/tools/mpeg2videovbv/Makefile ++++ b/tools/mpeg2videovbv/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/oddparity/Makefile b/tools/oddparity/Makefile +index 7970590..6839a36 100644 +--- a/tools/oddparity/Makefile ++++ b/tools/oddparity/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/pes2es/Makefile b/tools/pes2es/Makefile +index a598df9..c3e803f 100644 +--- a/tools/pes2es/Makefile ++++ b/tools/pes2es/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/pes2txt/Makefile b/tools/pes2txt/Makefile +index d65922e..50057a1 100644 +--- a/tools/pes2txt/Makefile ++++ b/tools/pes2txt/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/pesaudio2ts/Makefile b/tools/pesaudio2ts/Makefile +index 6fec027..ab75796 100644 +--- a/tools/pesaudio2ts/Makefile ++++ b/tools/pesaudio2ts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/pesdata2ts/Makefile b/tools/pesdata2ts/Makefile +index 3e180f7..d541485 100644 +--- a/tools/pesdata2ts/Makefile ++++ b/tools/pesdata2ts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/pesinfo/Makefile b/tools/pesinfo/Makefile +index 5c9cbb3..3ffc1d7 100644 +--- a/tools/pesinfo/Makefile ++++ b/tools/pesinfo/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/pesvideo2ts/Makefile b/tools/pesvideo2ts/Makefile +index a8de20e..a2ebab0 100644 +--- a/tools/pesvideo2ts/Makefile ++++ b/tools/pesvideo2ts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/sec2ts/Makefile b/tools/sec2ts/Makefile +index 0607bcf..df22126 100644 +--- a/tools/sec2ts/Makefile ++++ b/tools/sec2ts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/ts2m2ts/Makefile b/tools/ts2m2ts/Makefile +index b70c018..28104fd 100644 +--- a/tools/ts2m2ts/Makefile ++++ b/tools/ts2m2ts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/ts2pes/Makefile b/tools/ts2pes/Makefile +index 61301f4..349c29e 100644 +--- a/tools/ts2pes/Makefile ++++ b/tools/ts2pes/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/ts2sec/Makefile b/tools/ts2sec/Makefile +index ebbe4be..baad160 100644 +--- a/tools/ts2sec/Makefile ++++ b/tools/ts2sec/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tscbrmuxer/Makefile b/tools/tscbrmuxer/Makefile +index aa93c07..38cd632 100644 +--- a/tools/tscbrmuxer/Makefile ++++ b/tools/tscbrmuxer/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsccc/Makefile b/tools/tsccc/Makefile +index 44340fb..85ec0f8 100755 +--- a/tools/tsccc/Makefile ++++ b/tools/tsccc/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tscrypt/Makefile b/tools/tscrypt/Makefile +index 3ce49f5..9cec259 100644 +--- a/tools/tscrypt/Makefile ++++ b/tools/tscrypt/Makefile +@@ -1,4 +1,3 @@ +-CC = gcc + CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -ldvbcsa + +diff --git a/tools/tsdiscont/Makefile b/tools/tsdiscont/Makefile +index bed498e..78329c1 100644 +--- a/tools/tsdiscont/Makefile ++++ b/tools/tsdiscont/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsdoubleoutput/Makefile b/tools/tsdoubleoutput/Makefile +index e35c8a2..e8927fe 100644 +--- a/tools/tsdoubleoutput/Makefile ++++ b/tools/tsdoubleoutput/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsfilter/Makefile b/tools/tsfilter/Makefile +index 5e8a3fc..9397197 100755 +--- a/tools/tsfilter/Makefile ++++ b/tools/tsfilter/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsfixcc/Makefile b/tools/tsfixcc/Makefile +index cdf93ae..ebd894f 100755 +--- a/tools/tsfixcc/Makefile ++++ b/tools/tsfixcc/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsinputswitch/Makefile b/tools/tsinputswitch/Makefile +index 5b2f205..3a08c7a 100644 +--- a/tools/tsinputswitch/Makefile ++++ b/tools/tsinputswitch/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsloop/Makefile b/tools/tsloop/Makefile +index 0781c2c..71dc3c6 100755 +--- a/tools/tsloop/Makefile ++++ b/tools/tsloop/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsmask/Makefile b/tools/tsmask/Makefile +index afe3fe8..914a1ef 100755 +--- a/tools/tsmask/Makefile ++++ b/tools/tsmask/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsmodder/Makefile b/tools/tsmodder/Makefile +index 72a4fde..2199b8a 100644 +--- a/tools/tsmodder/Makefile ++++ b/tools/tsmodder/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsnullfiller/Makefile b/tools/tsnullfiller/Makefile +index fd7bf5a..3b6898f 100644 +--- a/tools/tsnullfiller/Makefile ++++ b/tools/tsnullfiller/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsnullshaper/Makefile b/tools/tsnullshaper/Makefile +index 2071129..3b89b7e 100644 +--- a/tools/tsnullshaper/Makefile ++++ b/tools/tsnullshaper/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc -lrt + +diff --git a/tools/tsororts/Makefile b/tools/tsororts/Makefile +index 408c924..0687c55 100644 +--- a/tools/tsororts/Makefile ++++ b/tools/tsororts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsorts/Makefile b/tools/tsorts/Makefile +index 1b4d287..96db276 100644 +--- a/tools/tsorts/Makefile ++++ b/tools/tsorts/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsoutputswitch/Makefile b/tools/tsoutputswitch/Makefile +index c2d0b09..6abfddb 100644 +--- a/tools/tsoutputswitch/Makefile ++++ b/tools/tsoutputswitch/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tspcrmeasure/Makefile b/tools/tspcrmeasure/Makefile +index 819a25e..f39efd3 100644 +--- a/tools/tspcrmeasure/Makefile ++++ b/tools/tspcrmeasure/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tspcrrestamp/Makefile b/tools/tspcrrestamp/Makefile +index 3f05709..43f37b4 100644 +--- a/tools/tspcrrestamp/Makefile ++++ b/tools/tspcrrestamp/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tspcrstamp/Makefile b/tools/tspcrstamp/Makefile +index 5520ef3..6c050bc 100644 +--- a/tools/tspcrstamp/Makefile ++++ b/tools/tspcrstamp/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tspidmapper/Makefile b/tools/tspidmapper/Makefile +index c02853a..f237a77 100644 +--- a/tools/tspidmapper/Makefile ++++ b/tools/tspidmapper/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsstamp/Makefile b/tools/tsstamp/Makefile +index 80393fe..f288f09 100644 +--- a/tools/tsstamp/Makefile ++++ b/tools/tsstamp/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tstcpreceive/Makefile b/tools/tstcpreceive/Makefile +index 4f1cac7..ebbba5f 100644 +--- a/tools/tstcpreceive/Makefile ++++ b/tools/tstcpreceive/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tstcpsend/Makefile b/tools/tstcpsend/Makefile +index 8894859..fb8a573 100644 +--- a/tools/tstcpsend/Makefile ++++ b/tools/tstcpsend/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc -lrt + +diff --git a/tools/tstdt/Makefile b/tools/tstdt/Makefile +index 1873adb..c5eb23d 100644 +--- a/tools/tstdt/Makefile ++++ b/tools/tstdt/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tstimedwrite/Makefile b/tools/tstimedwrite/Makefile +index 3ad1432..7a34191 100644 +--- a/tools/tstimedwrite/Makefile ++++ b/tools/tstimedwrite/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc -lrt + +diff --git a/tools/tstimeout/Makefile b/tools/tstimeout/Makefile +index 0dbc314..c37b97e 100644 +--- a/tools/tstimeout/Makefile ++++ b/tools/tstimeout/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsudpreceive/Makefile b/tools/tsudpreceive/Makefile +index 2e08cee..3a6c3cb 100644 +--- a/tools/tsudpreceive/Makefile ++++ b/tools/tsudpreceive/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/tsudpsend/Makefile b/tools/tsudpsend/Makefile +index 0d55bd4..bd6f39e 100644 +--- a/tools/tsudpsend/Makefile ++++ b/tools/tsudpsend/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc -lrt + +diff --git a/tools/tsvbr2cbr/Makefile b/tools/tsvbr2cbr/Makefile +index 01cc992..65d670c 100644 +--- a/tools/tsvbr2cbr/Makefile ++++ b/tools/tsvbr2cbr/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/txt2pes/Makefile b/tools/txt2pes/Makefile +index f506da7..55f0d5e 100644 +--- a/tools/txt2pes/Makefile ++++ b/tools/txt2pes/Makefile +@@ -1,4 +1,3 @@ +-C = gcc + CFLAGS += -g -MD -Wall -I. -I../../include $(CPPFLAGS) + LDFLAGS += -lc + +diff --git a/tools/zpipe/Makefile b/tools/zpipe/Makefile +index 5997129..707647d 100644 +--- a/tools/zpipe/Makefile ++++ b/tools/zpipe/Makefile +@@ -1,4 +1,3 @@ +-CC = gcc + CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS += -lz + diff --git a/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-02_headers.patch b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-02_headers.patch new file mode 100644 index 0000000000..3535c6087f --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-02_headers.patch @@ -0,0 +1,13 @@ +diff --git a/tools/mpe2sec/mpe.c b/tools/mpe2sec/mpe.c +index 18417af..3b71f64 100644 +--- a/tools/mpe2sec/mpe.c ++++ b/tools/mpe2sec/mpe.c +@@ -12,7 +12,7 @@ + #include + #include + +-#include ++#include + + #include "sectioncrc.h" + diff --git a/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-03_dont-build-dvbobjects.patch b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-03_dont-build-dvbobjects.patch new file mode 100644 index 0000000000..1c1e0c5a47 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-03_dont-build-dvbobjects.patch @@ -0,0 +1,10 @@ +diff --git a/libs/Makefile b/libs/Makefile +index 23d951b..c442057 100755 +--- a/libs/Makefile ++++ b/libs/Makefile +@@ -1,4 +1,4 @@ +-SUBDIRS = sectioncrc dvbobjects ++SUBDIRS = sectioncrc + + subdirs: $(SUBDIRS) + $(SUBDIRS): diff --git a/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk new file mode 100644 index 0000000000..9a8c574dd6 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk @@ -0,0 +1,37 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="tsdecrypt" +PKG_VERSION="10.0" +PKG_REV="0" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://georgi.unixsol.org/programs/tsdecrypt" +PKG_URL="http://georgi.unixsol.org/programs/tsdecrypt/${PKG_NAME}-${PKG_VERSION}.tar.bz2" +PKG_DEPENDS_TARGET="toolchain libdvbcsa" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="tsdecrypt" +PKG_LONGDESC="tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then decrypts it using libdvbcsa/ffdecsa and keys obtained from OSCAM or similar cam server" +PKG_AUTORECONF="no" + +makeinstall_target() { + : # nop +} diff --git a/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch new file mode 100644 index 0000000000..979cd7eff5 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch @@ -0,0 +1,29 @@ +diff -Naur tsdecrypt-10.0/libfuncs/Makefile tsdecrypt-10.0.patch/libfuncs/Makefile +--- tsdecrypt-10.0/libfuncs/Makefile 2013-09-12 12:53:27.000000000 +0200 ++++ tsdecrypt-10.0.patch/libfuncs/Makefile 2014-07-20 12:23:54.900762191 +0200 +@@ -1,5 +1,4 @@ +-CC = $(CROSS)$(TARGET)gcc +-LINK = $(CROSS)$(TARGET)ld -o ++LINK = $(LD) -o + MKDEP = $(CC) -M -o $*.d $< + + LIBRARY_LINK_OPTS = -L. -r +diff -Naur tsdecrypt-10.0/libtsfuncs/Makefile tsdecrypt-10.0.patch/libtsfuncs/Makefile +--- tsdecrypt-10.0/libtsfuncs/Makefile 2013-09-12 12:53:30.000000000 +0200 ++++ tsdecrypt-10.0.patch/libtsfuncs/Makefile 2014-07-20 12:23:54.901762318 +0200 +@@ -1,5 +1,4 @@ +-CC = $(CROSS)$(TARGET)gcc +-LINK = $(CROSS)$(TARGET)ld -o ++LINK = $(LD) -o + MKDEP = $(CC) -M -o $*.d $< + + LIBRARY_LINK_OPTS = -L. -r +diff -Naur tsdecrypt-10.0/Makefile tsdecrypt-10.0.patch/Makefile +--- tsdecrypt-10.0/Makefile 2013-09-12 12:53:16.000000000 +0200 ++++ tsdecrypt-10.0.patch/Makefile 2014-07-20 12:24:11.303809770 +0200 +@@ -1,5 +1,3 @@ +-CC = $(CROSS)$(TARGET)cc +-STRIP = $(CROSS)$(TARGET)strip + MKDEP = $(CC) -MP -MM -o $*.d $< + RM = rm -f + MV = mv -f diff --git a/packages/addons/addon-depends/multimedia-tools-depends/tstools/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/tstools/package.mk new file mode 100644 index 0000000000..f152bb8a67 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/tstools/package.mk @@ -0,0 +1,41 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="tstools" +PKG_VERSION="1.11" +PKG_REV="0" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://tstools.berlios.de/" +PKG_URL="$SOURCEFORGE_SRC/project/tstools.berlios/tstools-1_11.tgz" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="command line tools for working with MPEG data" +PKG_LONGDESC="This is a set of cross-platform command line tools for working with MPEG data." +PKG_AUTORECONF="no" + +make_target() { + make -j1 CROSS_COMPILE=$TARGET_PREFIX +} + +makeinstall_target() { + : # nop +} diff --git a/packages/addons/tools/multimedia-tools/changelog.txt b/packages/addons/tools/multimedia-tools/changelog.txt new file mode 100644 index 0000000000..f6abfd1747 --- /dev/null +++ b/packages/addons/tools/multimedia-tools/changelog.txt @@ -0,0 +1,2 @@ +8.0.100 +- Initial Release diff --git a/packages/addons/tools/multimedia-tools/icon/icon.png b/packages/addons/tools/multimedia-tools/icon/icon.png new file mode 100644 index 0000000000..86ae5d644d Binary files /dev/null and b/packages/addons/tools/multimedia-tools/icon/icon.png differ diff --git a/packages/addons/tools/multimedia-tools/package.mk b/packages/addons/tools/multimedia-tools/package.mk new file mode 100644 index 0000000000..c4e3085cf0 --- /dev/null +++ b/packages/addons/tools/multimedia-tools/package.mk @@ -0,0 +1,67 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC 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. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +PKG_NAME="multimedia-tools" +PKG_VERSION="" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="" +PKG_URL="" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="virtual" +PKG_SHORTDESC="A bundle of multimedia tools and programs" +PKG_LONGDESC="A bundle of multimedia tools and programs" + +PKG_IS_ADDON="yes" +PKG_ADDON_NAME="Multimedia Tools" +PKG_ADDON_TYPE="xbmc.python.script" +PKG_ADDON_PROVIDES="" +PKG_ADDON_REPOVERSION="8.0" + +PKG_AUTORECONF="no" + +PKG_DEPENDS_TARGET="toolchain \ + mediainfo \ + mesa-demos \ + opencaster \ + tsdecrypt \ + tstools" + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/ + # mediainfo + cp -P $(get_build_dir mediainfo)/Project/GNU/CLI/mediainfo $ADDON_BUILD/$PKG_ADDON_ID/bin + + # mesa-demos + cp -P $(get_build_dir mesa-demos)/.$TARGET_NAME/src/xdemos/glxdemo $ADDON_BUILD/$PKG_ADDON_ID/bin 2>/dev/null || : + cp -P $(get_build_dir mesa-demos)/.$TARGET_NAME/src/xdemos/glxgears $ADDON_BUILD/$PKG_ADDON_ID/bin 2>/dev/null || : + cp -P $(get_build_dir mesa-demos)/.$TARGET_NAME/src/xdemos/glxinfo $ADDON_BUILD/$PKG_ADDON_ID/bin 2>/dev/null || : + + # opencaster + cp -P $(get_build_dir opencaster)/.install_pkg/* $ADDON_BUILD/$PKG_ADDON_ID/bin/ + + # tsdecrypt + cp -P $(get_build_dir tsdecrypt)/tsdecrypt $ADDON_BUILD/$PKG_ADDON_ID/bin + + # tstools + cp -P $(get_build_dir tstools)/bin/* $ADDON_BUILD/$PKG_ADDON_ID/bin/ + + debug_strip $ADDON_BUILD/$PKG_ADDON_ID/bin +} diff --git a/packages/addons/tools/multimedia-tools/source/default.py b/packages/addons/tools/multimedia-tools/source/default.py new file mode 100644 index 0000000000..67e12970fe --- /dev/null +++ b/packages/addons/tools/multimedia-tools/source/default.py @@ -0,0 +1,22 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC 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. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +import xbmcgui + +dialog = xbmcgui.Dialog() +dialog.ok('', 'This is a console-only addon')