Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-fs/ddrescueview/
Date: Wed, 28 Sep 2022 16:05:04
Message-Id: 1664314010.a60141e8e553f43b7735cd733906f0222632843a.tastytea@gentoo
1 commit: a60141e8e553f43b7735cd733906f0222632843a
2 Author: Andrii Pravorskyi <pravorskyi <AT> meta <DOT> ua>
3 AuthorDate: Tue Sep 27 21:22:34 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Tue Sep 27 21:26:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a60141e8
7
8 sys-fs/ddrescueview: new package, add 0.4.5
9
10 Signed-off-by: Andrii Pravorskyi <pravorskyi <AT> meta.ua>
11
12 sys-fs/ddrescueview/Manifest | 1 +
13 sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild | 50 +++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/sys-fs/ddrescueview/Manifest b/sys-fs/ddrescueview/Manifest
17 new file mode 100644
18 index 000000000..5ecf9b5db
19 --- /dev/null
20 +++ b/sys-fs/ddrescueview/Manifest
21 @@ -0,0 +1 @@
22 +DIST ddrescueview-0.4.5.tar.xz 211184 BLAKE2B bc4ef003b0df7a7059a9f3d738e294a527a039e04e84732b285497df60a575dfedcec3deea87166dd8136cb7745b8d821e18bd499cc2b059fa463e178bdeb892 SHA512 8791b0852fc9fa19a239300f4377adc072b4524e506807918284e935b00fe1c0fa2589acd645ea44a808881edfe77a0f8c8776c6dfc7bf54b283a92da1d7dccd
23
24 diff --git a/sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild b/sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild
25 new file mode 100644
26 index 000000000..6b4771b53
27 --- /dev/null
28 +++ b/sys-fs/ddrescueview/ddrescueview-0.4.5.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +MY_P="${PN}-source-${PV}"
36 +
37 +inherit edo
38 +
39 +DESCRIPTION="Graphical viewer for GNU ddrescue mapfiles"
40 +HOMEPAGE="https://sourceforge.net/projects/ddrescueview/"
41 +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz"
42 +
43 +LICENSE="GPL-3+"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +BDEPEND="
48 + dev-lang/lazarus
49 +"
50 +
51 +# I don't know yet how not to strip debug info during lazbuild build
52 +QA_PRESTRIPPED="usr/bin/ddrescueview"
53 +
54 +S="${WORKDIR}/${MY_P}"
55 +
56 +src_compile() {
57 + cd source || die
58 + edo lazbuild \
59 + --lazarusdir=/usr/share/lazarus \
60 + --primary-config-path="${HOME}" \
61 + --skip-dependencies \
62 + --verbose \
63 + ddrescueview.lpi
64 + default
65 +}
66 +
67 +src_install() {
68 + dobin source/ddrescueview
69 + chmod +x "${D}/usr/bin/ddrescueview"
70 +
71 + insinto /usr/share
72 + doins -r resources/linux/applications
73 + doins -r resources/linux/icons
74 + doman resources/linux/man/man1/ddrescueview.1
75 +
76 + dodoc changelog.txt
77 + dodoc readme.txt
78 + default
79 +}