Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/woeusb/
Date: Thu, 18 Apr 2019 20:59:42
Message-Id: 1555621158.36e64d196922628ca5187724c2091c7514c67b06.pacho@gentoo
1 commit: 36e64d196922628ca5187724c2091c7514c67b06
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 18 20:59:18 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 18 20:59:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e64d19
7
8 sys-boot/woeusb: Version bump
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 sys-boot/woeusb/Manifest | 1 +
14 sys-boot/woeusb/woeusb-3.3.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 59 insertions(+)
16
17 diff --git a/sys-boot/woeusb/Manifest b/sys-boot/woeusb/Manifest
18 index 7a57f4c7ff7..d7077238214 100644
19 --- a/sys-boot/woeusb/Manifest
20 +++ b/sys-boot/woeusb/Manifest
21 @@ -1,2 +1,3 @@
22 DIST woeusb-3.1.5.tar.gz 399712 BLAKE2B d52b29249af680577299a02cb9a2c1436aef73a0240bff2525c494657c197a2fc0709e0ff6f35eb5d18592145347af284a998deacecff37effd95b75ab13bc9a SHA512 5cf4eb45b126d71bcb376148383faf9713bc06ec4ee3ccc2dfa6528d9fba382bceaae2cdd47f2d8ba775dad1ca8e6258af40fc6362336927894398193600c965
23 DIST woeusb-3.2.12.tar.gz 386189 BLAKE2B 53629a185d0b8ff55cb2e60eaa6cb8f9e106d3f5b24f57cf8f777dbf5b9a1e43ed423e53e4710acf9ac5ce3171da7dbfcd40b5b3f297b0db240e7c0f9a687fc0 SHA512 9a4e20003970a3313b080bde9a534fb1724382555281aa510092a3698622dae46f22483ff8968903b5685e00ebfb454718de6db7f3c61c4a2e122c961bfc270f
24 +DIST woeusb-3.3.0.tar.gz 386251 BLAKE2B 9767fc3ab3ae438ff126c05a197cb41550704b93f3b508ad88b7a39c74777fdd863794970ebc839f79f8b2f1da9f6041bb355783ec1040e31814fead8185439c SHA512 8cac015df2309e4978f38adae9b9da04d896301f8d9d971d3d21801b24c3287d7d405bc4b2b1e0ff285497b5777462eb8cd6ce7dce079daf49b4d5d313a449a3
25
26 diff --git a/sys-boot/woeusb/woeusb-3.3.0.ebuild b/sys-boot/woeusb/woeusb-3.3.0.ebuild
27 new file mode 100644
28 index 00000000000..81c09abcf2e
29 --- /dev/null
30 +++ b/sys-boot/woeusb/woeusb-3.3.0.ebuild
31 @@ -0,0 +1,58 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +WX_GTK_VER="3.0-gtk3"
37 +
38 +inherit autotools wxwidgets
39 +
40 +DESCRIPTION="Creates windows installer on usb media from an iso image"
41 +HOMEPAGE="https://github.com/slacka/WoeUSB"
42 +SRC_URI="https://github.com/slacka/WoeUSB/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="minimal"
48 +
49 +RDEPEND="
50 + sys-apps/util-linux
51 + sys-block/parted
52 + sys-fs/dosfstools
53 + sys-fs/ntfs3g
54 + sys-boot/grub:2[grub_platforms_pc]
55 + !minimal? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
56 +"
57 +DEPEND="${RDEPEND}"
58 +
59 +S="${WORKDIR}/WoeUSB-${PV}"
60 +
61 +src_prepare() {
62 + default
63 + find . -type f -print0 | xargs -0 sed -i "s/@@WOEUSB_VERSION@@/${PV}/" || die
64 + if ! use minimal; then
65 + setup-wxwidgets
66 + eautoreconf
67 + fi
68 +}
69 +
70 +src_configure() {
71 + ! use minimal && default
72 +}
73 +
74 +src_compile() {
75 + ! use minimal && default
76 +}
77 +
78 +src_test() {
79 + ! use minimal && default
80 +}
81 +
82 +src_install() {
83 + if use minimal; then
84 + dosbin src/woeusb
85 + einstalldocs
86 + else
87 + default
88 + fi
89 +}