# HG changeset patch # User Pascal Bellard # Date 1637083008 0 # Node ID 55bd63e6aac6d75251f3ebb6e3821fdfd2ef7948 # Parent 4769ccf2417c9abbb33c42281c0c34bceeffd54b Add ventoy diff -r 4769ccf2417c -r 55bd63e6aac6 ventoy/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ventoy/description.txt Tue Nov 16 17:16:48 2021 +0000 @@ -0,0 +1,8 @@ +With ventoy, you don't need to format the disk over and over, you just need to +copy the image files to the USB drive and boot it. You can copy many image +files at a time and ventoy will give you a boot menu to select them. +x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI are +supported in the same way. +Both MBR and GPT partition style are supported in the same way. +Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...) +700+ ISO files are tested. 90%+ distros in distrowatch.com supported. diff -r 4769ccf2417c -r 55bd63e6aac6 ventoy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ventoy/receipt Tue Nov 16 17:16:48 2021 +0000 @@ -0,0 +1,58 @@ +# SliTaz package receipt. + +PACKAGE="ventoy" +VERSION="1.0.61" +CATEGORY="misc" +SHORT_DESC="A tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://ventoy.net/en/index.html" +WGET_URL="https://github.com/ventoy/Ventoy/archive/refs/tags/v$VERSION.tar.gz" +EXTRA_SOURCE_FILES="$PACKAGE-bin-$VERSION.tar.gz" + +DEPENDS="libglade" +BUILD_DEPENDS="libglade-dev gtk+-dev pkg-config" + +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + sed -i 's|^build_func |#&|;s|#\(build_func .*i386.*gtk2\)|\1|;s|-l pthread|& -l rt|' LinuxGUI/build_gtk.sh + cd LinuxGUI && sh build_gtk.sh + [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || + wget --no-check-certificate -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES \ + "https://github.com/ventoy/Ventoy/releases/download/v$VERSION/ventoy-$VERSION-linux.tar.gz" +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/applications + tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES -C $fs/usr/share/ + mv $fs/usr/share/ventoy-$VERSION $fs/usr/share/ventoy + rm -f $fs/usr/share/ventoy/VentoyGUI* $fs/usr/share/ventoy/*.exe + rm -f $fs/usr/share/ventoy/tool/i386/*.qt5 $fs/usr/share/ventoy/tool/i386/*.gtk? + rm -rf $fs/usr/share/ventoy/tool/aarch64 + rm -rf $fs/usr/share/ventoy/tool/x86_64 + rm -rf $fs/usr/share/ventoy/tool/mips64el + cp $src/INSTALL/tool/i386/Ventoy2Disk.gtk2 $fs/usr/share/ventoy/tool/i386/ + cat > $fs/usr/share/applications/ventoy.desktop <