mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
multimedia-tools: initial add-on
This commit is contained in:
parent
63212d06e2
commit
2705f80d49
2
packages/addons/tools/multimedia-tools/changelog.txt
Normal file
2
packages/addons/tools/multimedia-tools/changelog.txt
Normal file
@ -0,0 +1,2 @@
|
||||
8.0.100
|
||||
- Initial Release
|
BIN
packages/addons/tools/multimedia-tools/icon/icon.png
Normal file
BIN
packages/addons/tools/multimedia-tools/icon/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
67
packages/addons/tools/multimedia-tools/package.mk
Normal file
67
packages/addons/tools/multimedia-tools/package.mk
Normal file
@ -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 <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
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
|
||||
}
|
22
packages/addons/tools/multimedia-tools/source/default.py
Normal file
22
packages/addons/tools/multimedia-tools/source/default.py
Normal file
@ -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 <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
import xbmcgui
|
||||
|
||||
dialog = xbmcgui.Dialog()
|
||||
dialog.ok('', 'This is a console-only addon')
|
Loading…
x
Reference in New Issue
Block a user