# HG changeset patch # User Pascal Bellard # Date 1637142335 0 # Node ID 8b4c18e6ad169f58ef4fd2dcabc9ff39894e7ade # Parent 55bd63e6aac6d75251f3ebb6e3821fdfd2ef7948 ventoy: use web interface diff -r 55bd63e6aac6 -r 8b4c18e6ad16 ventoy/receipt --- a/ventoy/receipt Tue Nov 16 17:16:48 2021 +0000 +++ b/ventoy/receipt Wed Nov 17 09:45:35 2021 +0000 @@ -11,8 +11,8 @@ 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" +DEPENDS="slitaz-tools" +SUGGESTED="tazweb" current_version() { @@ -23,8 +23,8 @@ # 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 + sed -i 's|^build_func |#&|;s|#\(build_func .*i386\)|\1|;s|-l pthread|& -l rt|' LinuxGUI/build.sh + cd LinuxGUI && sh build.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" @@ -38,21 +38,14 @@ 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 -f $fs/usr/share/ventoy/tool/i386/V2DServer* + rm -f $fs/usr/share/ventoy/tool/VentoyGTK.glade + rm -f $fs/usr/share/ventoy/VentoyWeb.sh 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 <