1 |
commit: 0c565ccf7ff85fef6927960f00c0f4aa33519ccb |
2 |
Author: Yegor Timoshenko <yegortimoshenko <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu May 18 02:02:23 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 31 16:22:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c565ccf |
7 |
|
8 |
app-cdr/uif2iso: EAPI="6", fix LICENSE and tests, keyword for ~x64-macos. |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/4668 |
11 |
|
12 |
app-cdr/uif2iso/Manifest | 2 ++ |
13 |
app-cdr/uif2iso/metadata.xml | 13 ++++++---- |
14 |
app-cdr/uif2iso/uif2iso-0.1.7c-r1.ebuild | 41 ++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 51 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/app-cdr/uif2iso/Manifest b/app-cdr/uif2iso/Manifest |
18 |
index 32fa02655c7..620aaba9690 100644 |
19 |
--- a/app-cdr/uif2iso/Manifest |
20 |
+++ b/app-cdr/uif2iso/Manifest |
21 |
@@ -1 +1,3 @@ |
22 |
DIST uif2iso-0.1.7c.zip 113727 SHA256 b78dde3e8bc28559f73e2feb46d41c8f57b511ddbe25d63ada704ef8697528ec SHA512 22e2e2d156cae7f2f72ba5959bf3b4282609397d148e6a98666382003ce568e185a90e6af8821829d302c1efea1ca2c6d155df0181c6a29294d70de8adc9591f WHIRLPOOL df4a0446faec70dcb30316a576d49cdf074b042e99a85ccb4dbd0273bc72a5b5a5e37d74c5326728fb80bd34da8783c5dd070c97c9476ff0a1c245b2d5520d56 |
23 |
+DIST uif2iso-test.iso 55296 SHA256 6fe46b1733fe3e337b3aa4035cdb817e611656136b828a519fe2bd595349c0e0 SHA512 775f8fc87a51709c6ef10ae2751cc8600c22d70af419afd680a1917338a699e6a3934597af26400f67ff68fdea5db32e416d73fda370ef71f0d19a5bbdcbedd6 WHIRLPOOL 7a12d5abb9a8b49083b810f8657b5f0f24b4fb75c555a168d41b8a104ec14a123f5ff0d62f8b2e9aeabba1e081a4eb7e13e1837101c6e300d515688c613837be |
24 |
+DIST uif2iso-test.uif 499 SHA256 2019019dc6c532be145fd0ff5c6c23da7927dc321620482d1e99188ccd61a096 SHA512 6863305d325ec6cf6c8693512d011ec4150bcf0be94f84495e4075cea74412b9fd8ede17f77ad9f7d4b3cf205c9406adbd5440697c7857ab094e4659d074efeb WHIRLPOOL 27d1db05f5f971dd173cd05c197539a1c637ef5baf83493eb3615ad05d664c624b7aacebc4af24d1e08676d6e1c1a6c13398a6669aa6203b1dedef248dd2f0c6 |
25 |
|
26 |
diff --git a/app-cdr/uif2iso/metadata.xml b/app-cdr/uif2iso/metadata.xml |
27 |
index 27efc9c9182..c2690264a00 100644 |
28 |
--- a/app-cdr/uif2iso/metadata.xml |
29 |
+++ b/app-cdr/uif2iso/metadata.xml |
30 |
@@ -1,9 +1,12 @@ |
31 |
<?xml version="1.0" encoding="UTF-8"?> |
32 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
<pkgmetadata> |
34 |
- <longdescription lang="en"> |
35 |
- uif2iso is a program that can convert images taken with the |
36 |
- MagicISO software under Windows, with its proprietary UIF format, |
37 |
- into standard ISO9660 images. |
38 |
- </longdescription> |
39 |
+<maintainer type="person"> |
40 |
+ <email>yegortimoshenko@×××××.com</email> |
41 |
+ <name>Yegor Timoshenko</name> |
42 |
+</maintainer> |
43 |
+<maintainer type="project"> |
44 |
+ <email>proxy-maint@g.o</email> |
45 |
+ <name>Proxy Maintainers</name> |
46 |
+</maintainer> |
47 |
</pkgmetadata> |
48 |
|
49 |
diff --git a/app-cdr/uif2iso/uif2iso-0.1.7c-r1.ebuild b/app-cdr/uif2iso/uif2iso-0.1.7c-r1.ebuild |
50 |
new file mode 100644 |
51 |
index 00000000000..97d523632af |
52 |
--- /dev/null |
53 |
+++ b/app-cdr/uif2iso/uif2iso-0.1.7c-r1.ebuild |
54 |
@@ -0,0 +1,41 @@ |
55 |
+# Copyright 1999-2017 Gentoo Foundation |
56 |
+# Distributed under the terms of the GNU General Public License v2 |
57 |
+ |
58 |
+EAPI="6" |
59 |
+inherit toolchain-funcs |
60 |
+ |
61 |
+DESCRIPTION="Convert CD images from uif (MagicISO) to iso" |
62 |
+HOMEPAGE="http://aluigi.altervista.org/mytoolz.htm#uif2iso" |
63 |
+SRC_URI="mirror://gentoo/${P}.zip |
64 |
+ test? ( https://yegortimoshenko.s3.amazonaws.com/${PN}-test.iso |
65 |
+ https://yegortimoshenko.s3.amazonaws.com/${PN}-test.uif )" |
66 |
+ |
67 |
+LICENSE="GPL-2+" |
68 |
+SLOT="0" |
69 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
70 |
+IUSE="test" |
71 |
+ |
72 |
+RDEPEND="sys-libs/zlib" |
73 |
+DEPEND="${RDEPEND} |
74 |
+ app-arch/unzip" |
75 |
+ |
76 |
+S="${WORKDIR}" |
77 |
+ |
78 |
+src_compile() { |
79 |
+ emake CC="$(tc-getCC)" -C src -f - <<-'EOF' |
80 |
+ CPPFLAGS += -DMAGICISO_IS_SHIT |
81 |
+ LDLIBS = -lz |
82 |
+ uif2iso: $(patsubst %.c,%.o,$(wildcard *.c)) |
83 |
+ EOF |
84 |
+} |
85 |
+ |
86 |
+src_test() { |
87 |
+ einfo "checking that uif -> iso matches the expected output" |
88 |
+ src/${PN} "${DISTDIR}/${PN}-test.uif" "${T}/${PN}-test.iso" # always returns 1 |
89 |
+ diff "${DISTDIR}/${PN}-test.iso" "${T}/${PN}-test.iso" || die "unexpected iso" |
90 |
+} |
91 |
+ |
92 |
+src_install() { |
93 |
+ dobin src/${PN} |
94 |
+ dodoc ${PN}.txt README |
95 |
+} |