Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/remind/
Date: Mon, 05 Sep 2022 12:37:27
Message-Id: 1662381432.fa2778445285a2f3f2d5f8351dfe1007274b1572.juippis@gentoo
1 commit: fa2778445285a2f3f2d5f8351dfe1007274b1572
2 Author: Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
3 AuthorDate: Sun Aug 21 10:06:49 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 12:37:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa277844
7
8 app-misc/remind: add 04.00.03
9
10 Bug: https://bugs.gentoo.org/show_bug.cgi?id=865377
11 Signed-off-by: Zoltan Puskas <zoltan <AT> sinustrom.info>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 app-misc/remind/Manifest | 1 +
15 app-misc/remind/remind-04.00.03.ebuild | 55 ++++++++++++++++++++++++++++++++++
16 2 files changed, 56 insertions(+)
17
18 diff --git a/app-misc/remind/Manifest b/app-misc/remind/Manifest
19 index e81fa877c8f0..6d8416c4a6c2 100644
20 --- a/app-misc/remind/Manifest
21 +++ b/app-misc/remind/Manifest
22 @@ -1,2 +1,3 @@
23 DIST remind-03.03.05.tar.gz 402481 BLAKE2B 8fabc3269a06aaf3502c2245653442ddf6c101c3f62718769418c28850da467d210f381ef3452e95b6dbc921fe06979b4c38be8b7389a9defd76865da66080f3 SHA512 56b37dfc50a6c6a8a284691d7f1c39d542b7309ec12a029c65b68f7921cd43521d3cef9fc8d21f4a9f4a7609b0e00013e7f2793b529f39f80d63ae1fe5194fd4
24 DIST remind-04.00.02.tar.gz 465760 BLAKE2B fa31747ab8d9aa39da7904334f908a7275932b3fe39919e0aca5b8b5877b5597322aca8916f6fee04ff5c6fa15070f867145596f64c0ab0dfdbebe9f4be97e31 SHA512 655427f1ce246c0911f5896db2c565d77f5046c9bb35675efb74df07b04b247e31882d03062f9797fac24c14994c435a3f1e39194442a278cda67b4de1db851a
25 +DIST remind-04.00.03.tar.gz 466497 BLAKE2B e924e77502135f38df23d6abe7bab20108f6117c2129253345839b6a481f25e79fe2e722c8e4c40c4abfaf9ffe35409bc8f5ade8d46a227adb76798e7cf386b4 SHA512 69d446b99e1e339eb91f98a3505dd580588ac3f39317a5b00078f8ab847f3854bd1dc43ffa10e84703250251448bdc1a51a02bab0671a9b28e2e564f60582cfc
26
27 diff --git a/app-misc/remind/remind-04.00.03.ebuild b/app-misc/remind/remind-04.00.03.ebuild
28 new file mode 100644
29 index 000000000000..8901aae89cf6
30 --- /dev/null
31 +++ b/app-misc/remind/remind-04.00.03.ebuild
32 @@ -0,0 +1,55 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DESCRIPTION="Ridiculously functional reminder program"
39 +HOMEPAGE="https://dianne.skoll.ca/projects/remind/"
40 +SRC_URI="https://dianne.skoll.ca/projects/remind/download/${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc ~x86"
45 +IUSE="tk"
46 +
47 +RDEPEND="
48 + tk? ( >=dev-lang/tk-8.5 dev-tcltk/tcllib )
49 +"
50 +DEPEND="${RDEPEND}
51 + dev-perl/Cairo
52 + dev-perl/JSON-MaybeXS
53 + dev-perl/Pango
54 + virtual/perl-Getopt-Long
55 +"
56 +DOCS="docs/* examples/defs.rem "
57 +
58 +src_prepare() {
59 + default
60 + sed -i 's:@CC@ @LDFLAGS@:@CC@ @CFLAGS@ @LDFLAGS@:' "${S}"/src/Makefile.in || die
61 + sed -i 's:$(MAKE) -C src install:&-nostripped:' "${S}"/Makefile || die
62 +}
63 +
64 +src_test() {
65 + if [[ ${EUID} -eq 0 ]] ; then
66 + ewarn "Testing fails if run as root. Skipping tests"
67 + else
68 + emake test
69 + fi
70 +}
71 +
72 +src_install() {
73 + default
74 +
75 + if ! use tk ; then
76 + rm \
77 + "${D}"/usr/bin/tkremind \
78 + "${D}"/usr/share/man/man1/tkremind* \
79 + || die
80 + fi
81 +
82 + rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die
83 + insinto /usr/share/${PN}
84 + doins -r contrib/
85 + insinto /usr/share/vim/vimfiles/syntax
86 + doins examples/remind.vim
87 +}