1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools wxwidgets
9 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"
23 sys-boot/grub:2[grub_platforms_pc]
24 !minimal? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
28 S="${WORKDIR}/WoeUSB-${PV}"
32 find . -type f -print0 | xargs -0 sed -i "s/@@WOEUSB_VERSION@@/${PV}/" || die
33 if ! use minimal; then
40 ! use minimal && default
44 ! use minimal && default
48 ! use minimal && default