diff --git a/packages/addons/tools/ffmpeg-tools/changelog.txt b/packages/addons/tools/ffmpeg-tools/changelog.txt new file mode 100644 index 0000000000..fe01f1b4fe --- /dev/null +++ b/packages/addons/tools/ffmpeg-tools/changelog.txt @@ -0,0 +1,2 @@ +100 +- Initial release diff --git a/packages/addons/tools/ffmpeg-tools/icon/icon.png b/packages/addons/tools/ffmpeg-tools/icon/icon.png new file mode 100755 index 0000000000..a3784abbc5 Binary files /dev/null and b/packages/addons/tools/ffmpeg-tools/icon/icon.png differ diff --git a/packages/addons/tools/ffmpeg-tools/package.mk b/packages/addons/tools/ffmpeg-tools/package.mk new file mode 100644 index 0000000000..49248c3dfc --- /dev/null +++ b/packages/addons/tools/ffmpeg-tools/package.mk @@ -0,0 +1,38 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present 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="ffmpeg-tools" +PKG_VERSION="1.0" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://libreelec.tv" +PKG_URL="" +PKG_DEPENDS_TARGET="toolchain ffmpegx" +PKG_SECTION="tools" +PKG_SHORTDESC="FFmpeg binary for transcoding and audio/video manipulating." +PKG_TOOLCHAIN="manual" + +PKG_IS_ADDON="yes" +PKG_ADDON_NAME="FFmpeg Tools" +PKG_ADDON_TYPE="xbmc.python.script" + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/ + cp -L $(get_build_dir ffmpegx)/.INSTALL_PKG/usr/local/bin/* $ADDON_BUILD/$PKG_ADDON_ID/bin +} diff --git a/packages/addons/tools/ffmpeg-tools/source/default.py b/packages/addons/tools/ffmpeg-tools/source/default.py new file mode 100644 index 0000000000..e0a54afc99 --- /dev/null +++ b/packages/addons/tools/ffmpeg-tools/source/default.py @@ -0,0 +1,25 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present 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 xbmcaddon +import xbmcgui + +dialog = xbmcgui.Dialog() +strings = xbmcaddon.Addon().getLocalizedString + +dialog.ok(strings(30000), strings(30001)) diff --git a/packages/addons/tools/ffmpeg-tools/source/resources/language/English/strings.po b/packages/addons/tools/ffmpeg-tools/source/resources/language/English/strings.po new file mode 100644 index 0000000000..19e773d620 --- /dev/null +++ b/packages/addons/tools/ffmpeg-tools/source/resources/language/English/strings.po @@ -0,0 +1,14 @@ +# Kodi Media Center language file +# Addon Name: ffmpeg-tools +# Addon id: tools.ffmpeg-tools +# Addon Provider: Team LibreELEC +msgid "" +msgstr "" + +msgctxt "#30000" +msgid "FFmpeg Tools Help" +msgstr "" + +msgctxt "#30001" +msgid "Please have a look at our Wiki (https://libreelec.wiki) for instructions how the FFmpeg binary could be used." +msgstr ""