From ecd2d5e3029564c611df4031ceb941683237b251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 18 Feb 2023 08:56:18 +0700 Subject: [PATCH] WoeUSB-cli: depends on wimlib Fix: #42334 --- srcpkgs/WoeUSB-cli/patches/offline.patch | 16 +++++++++++----- srcpkgs/WoeUSB-cli/template | 4 ++-- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/srcpkgs/WoeUSB-cli/patches/offline.patch b/srcpkgs/WoeUSB-cli/patches/offline.patch index 3884dc455e2..a9167b463d8 100644 --- a/srcpkgs/WoeUSB-cli/patches/offline.patch +++ b/srcpkgs/WoeUSB-cli/patches/offline.patch @@ -1,7 +1,5 @@ -Index: WoeUSB-5.2.4/sbin/woeusb -=================================================================== ---- WoeUSB-5.2.4.orig/sbin/woeusb -+++ WoeUSB-5.2.4/sbin/woeusb +--- WoeUSB-cli-5.2.4.orig/sbin/woeusb ++++ WoeUSB-cli-5.2.4/sbin/woeusb @@ -16,7 +16,8 @@ # lint: We use indirections and primitive variables, which is false positive of this rule # shellcheck disable=SC2034 @@ -12,7 +10,15 @@ Index: WoeUSB-5.2.4/sbin/woeusb DD_BLOCK_SIZE="${DD_BLOCK_SIZE:-$((4 * 1024 * 1024))}" # 4MiB # Entry point of the main code -@@ -1360,9 +1361,20 @@ install_uefi_ntfs_support_partition(){ +@@ -905,7 +906,6 @@ check_runtime_dependencies(){ + rm \ + stat \ + stty \ +- wget \ + wimlib-imagex \ + wipefs + do +@@ -1360,9 +1360,20 @@ install_uefi_ntfs_support_partition(){ local -r download_directory="${1}"; shift local -r target_device="${1}"; shift diff --git a/srcpkgs/WoeUSB-cli/template b/srcpkgs/WoeUSB-cli/template index 4c0cecfe8c0..15e9cbd1ac2 100644 --- a/srcpkgs/WoeUSB-cli/template +++ b/srcpkgs/WoeUSB-cli/template @@ -1,9 +1,9 @@ # Template file for 'WoeUSB-cli' pkgname=WoeUSB-cli version=5.2.4 -revision=1 +revision=2 _rufus_uefi_ntfs_version=b30e3b387a3ca7a5e2fddebcc2c8f9538a89b868 -depends="bash grub ntfs-3g parted" +depends="bash grub ntfs-3g parted wimlib" short_desc="Create a Windows USB stick installer from a real Windows DVD or image" maintainer="Orphaned " license="GPL-3.0-or-later"