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