ntfs-progs: new addon with ntfs-3g ntfsprogs

This commit is contained in:
mglae 2024-10-27 00:47:17 +02:00
parent 0811db60d1
commit b5cd2db58f
4 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1 @@
initial release

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@ -0,0 +1,23 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ntfs-progs"
PKG_REV="0"
PKG_LICENSE="GPLv3"
PKG_DEPENDS_TARGET="toolchain fuse ntfs-3g_ntfsprogs"
PKG_SECTION="tools"
PKG_SHORTDESC="ntfs-3g tools for the NTFS filesystem"
PKG_LONGDESC="ntfs-3g tools for the NTFS filesystem: mkntfs, ntfs-3g.probe, ntfsfix, ntfslabel and ntfsresize"
PKG_TOOLCHAIN="manual"
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="NTFS Tools"
PKG_ADDON_TYPE="xbmc.python.script"
addon() {
PKG_NTFS_INSTALL=$(get_install_dir ntfs-3g_ntfsprogs)
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/
cp -P ${PKG_NTFS_INSTALL}/usr/bin/{ntfs-3g.probe,ntfsfix} ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
cp -P ${PKG_NTFS_INSTALL}/usr/sbin/{mkntfs,ntfslabel,ntfsresize} \
${ADDON_BUILD}/${PKG_ADDON_ID}/bin
}

View File

@ -0,0 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2024-present Team LibreELEC (https://libreelec.tv)
import xbmcgui
dialog = xbmcgui.Dialog()
dialog.ok('', 'This is a console-only addon')