Diff woeusb-3.3.1 with a woeusb-5.1.2-r1

/usr/portage/sys-boot/woeusb/woeusb-5.1.2-r1.ebuild 2023-10-09 14:52:35.452368500 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5
WX_GTK_VER="3.0-gtk3"
6

  
7
inherit autotools wxwidgets
4
EAPI=8
8 5

  
9 6
DESCRIPTION="Creates windows installer on usb media from an iso image"
10
HOMEPAGE="https://github.com/slacka/WoeUSB"
11
SRC_URI="https://github.com/slacka/WoeUSB/archive/v${PV}.tar.gz -> ${P}.tar.gz"
7
HOMEPAGE="https://github.com/WoeUSB/WoeUSB"
8
SRC_URI="https://github.com/WoeUSB/WoeUSB/archive/v${PV}.tar.gz -> ${P}.tar.gz"
9
S="${WORKDIR}/WoeUSB-${PV}"
12 10

  
13
LICENSE="GPL-3"
11
LICENSE="CC-BY-SA-4.0 GPL-3+"
14 12
SLOT="0"
15 13
KEYWORDS="amd64 x86"
16
IUSE="minimal"
17 14

  
18 15
RDEPEND="
16
	app-arch/wimlib
19 17
	sys-apps/util-linux
20 18
	sys-block/parted
21
	sys-fs/dosfstools
22
	sys-fs/ntfs3g
23 19
	sys-boot/grub:2[grub_platforms_pc]
24
	!minimal? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
25
"
20
	sys-fs/dosfstools
21
	sys-fs/ntfs3g"
26 22
DEPEND="${RDEPEND}"
27
BDEPEND=""
28

  
29
S="${WORKDIR}/WoeUSB-${PV}"
30 23

  
31 24
src_prepare() {
32 25
	default
33
	find . -type f -print0 | xargs -0 sed -i "s/@@WOEUSB_VERSION@@/${PV}/" || die
34
	if ! use minimal; then
35
		setup-wxwidgets
36
		eautoreconf
37
	fi
38
}
39

  
40
src_configure() {
41
	! use minimal && default
42
}
43 26

  
44
src_compile() {
45
	! use minimal && default
46
}
47

  
48
src_test() {
49
	! use minimal && default
27
	sed -i "s/@@WOEUSB_VERSION@@/${PV}/" sbin/${PN} share/man/man1/${PN}.1 || die
50 28
}
51 29

  
52 30
src_install() {
53
	if use minimal; then
54
		dosbin src/woeusb
55
		einstalldocs
56
	else
57
		default
58
	fi
31
	dosbin sbin/${PN}
32
	doman share/man/man1/${PN}.1
33

  
34
	einstalldocs
59 35
}
Thank you!