From 7d1211d615dcbb0ef178ce93fdd08c7837e1fb63 Mon Sep 17 00:00:00 2001 From: Muhammad Rivan Febrian Date: Tue, 15 Feb 2022 00:40:12 +0700 Subject: [PATCH 1/2] WoeUSB: update to 5.2.4. --- srcpkgs/WoeUSB/template | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/srcpkgs/WoeUSB/template b/srcpkgs/WoeUSB/template index 4b8a4892dec5..40fcb92662c1 100644 --- a/srcpkgs/WoeUSB/template +++ b/srcpkgs/WoeUSB/template @@ -1,7 +1,8 @@ # Template file for 'WoeUSB' pkgname=WoeUSB -version=3.3.1 -revision=3 +version=5.2.4 +gui_version=3.3.0 +revision=1 build_style=gnu-configure configure_args="--with-wx-config=wx-config-gtk3" hostmakedepends="automake gettext libtool" @@ -10,14 +11,19 @@ depends="WoeUSB-cli" short_desc="Create a Windows USB stick installer from a real Windows DVD or image" maintainer="bra1nwave " license="GPL-3.0-or-later" -homepage="https://github.com/slacka/WoeUSB" -distfiles="https://github.com/slacka/WoeUSB/archive/v${version}.tar.gz" -checksum=0cab88a1113506f39d2f1c19532b2cd8d968c6a9f59129953c000e29e73f3d4f +homepage="https://github.com/WoeUSB/WoeUSB-frontend-wxgtk" +distfiles=" + https://github.com/WoeUSB/WoeUSB-frontend-wxgtk/archive/refs/tags/v${gui_version}.tar.gz + https://github.com/WoeUSB/WoeUSB/archive/refs/tags/v${version}.tar.gz" +checksum=" + 5fcfd6e86388c3d4daf85a3a226ca4a42a336c862dcfa1c1af1ead5d77d81b63 + 8305296d49b7b58c200f9d373eac8dd494d03442737183749a0ee166403a7e68" +wrksrc="WoeUSB-frontend-wxgtk-${gui_version}" post_patch() { + mv -f "${XBPS_BUILDDIR}/WoeUSB-${version}/sbin/woeusb" src/woeusb vsed -i -e "s/@@WOEUSB_VERSION@@/$version/g" \ - configure.ac \ - src/woeusb src/woeusb.1 src/woeusbgui.1 + configure.ac src/woeusb.1 src/woeusbgui.1 } pre_configure() { From 774336748ba4a899a5d48883e9bc39f907c8c457 Mon Sep 17 00:00:00 2001 From: Muhammad Rivan Febrian Date: Tue, 15 Feb 2022 07:57:24 +0700 Subject: [PATCH 2/2] WoeUSB: update to 5.2.4. --- srcpkgs/WoeUSB/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/WoeUSB/template b/srcpkgs/WoeUSB/template index 40fcb92662c1..1f8aeb7c0b21 100644 --- a/srcpkgs/WoeUSB/template +++ b/srcpkgs/WoeUSB/template @@ -1,8 +1,9 @@ # Template file for 'WoeUSB' pkgname=WoeUSB version=5.2.4 -gui_version=3.3.0 revision=1 +_gui_version=3.3.0 +wrksrc="WoeUSB-frontend-wxgtk-${_gui_version}" build_style=gnu-configure configure_args="--with-wx-config=wx-config-gtk3" hostmakedepends="automake gettext libtool" @@ -13,12 +14,11 @@ maintainer="bra1nwave " license="GPL-3.0-or-later" homepage="https://github.com/WoeUSB/WoeUSB-frontend-wxgtk" distfiles=" - https://github.com/WoeUSB/WoeUSB-frontend-wxgtk/archive/refs/tags/v${gui_version}.tar.gz + https://github.com/WoeUSB/WoeUSB-frontend-wxgtk/archive/refs/tags/v${_gui_version}.tar.gz https://github.com/WoeUSB/WoeUSB/archive/refs/tags/v${version}.tar.gz" checksum=" 5fcfd6e86388c3d4daf85a3a226ca4a42a336c862dcfa1c1af1ead5d77d81b63 8305296d49b7b58c200f9d373eac8dd494d03442737183749a0ee166403a7e68" -wrksrc="WoeUSB-frontend-wxgtk-${gui_version}" post_patch() { mv -f "${XBPS_BUILDDIR}/WoeUSB-${version}/sbin/woeusb" src/woeusb