Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/xcowsay/
Date: Sat, 03 Oct 2020 14:42:06
Message-Id: 1601736111.ccd9aba5fa87ccc8fbc8e028bc7e31694119dced.conikost@gentoo
1 commit: ccd9aba5fa87ccc8fbc8e028bc7e31694119dced
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 3 14:02:55 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 3 14:41:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd9aba5
7
8 games-misc/xcowsay: bump to version 1.5.1
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 games-misc/xcowsay/Manifest | 1 +
14 games-misc/xcowsay/xcowsay-1.5.1.ebuild | 57 +++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/games-misc/xcowsay/Manifest b/games-misc/xcowsay/Manifest
18 index 97327886f75..81a77437eed 100644
19 --- a/games-misc/xcowsay/Manifest
20 +++ b/games-misc/xcowsay/Manifest
21 @@ -1 +1,2 @@
22 +DIST xcowsay-1.5.1.tar.gz 101281 BLAKE2B 568f6ad7225cd859c37d79bf3ddf66c184f47d8feb6dedbafbd29ca4e05d97d883c6d6e4f4d60cebe107f1527e1ff01e17ec61430a3e55e2f504c2c00e402488 SHA512 55c165b5b2c01b11463af0eeb13fd646ea50138e2938ddfc25d44f1a704b7473d047bc7c95165f449a600de51ee005904f007843e33a8ef02c725b827eaec616
23 DIST xcowsay-1.5.tar.gz 100878 BLAKE2B 0763648cb808c44cf519c1e77506e8c35f8a71584f81eee406736e52322b7317937f558b4a6931ec293ea334ca45c8085a51dfc49803754bb734d96d7df04dbe SHA512 13b297a675ec02af6f5617db19abe05979be7137ff37437a64cb079749a69551d453f1a584cf3ca2be62ed0dc6363ebac4986b1f93807bba66b21d0e2ba8cf2c
24
25 diff --git a/games-misc/xcowsay/xcowsay-1.5.1.ebuild b/games-misc/xcowsay/xcowsay-1.5.1.ebuild
26 new file mode 100644
27 index 00000000000..716cc753846
28 --- /dev/null
29 +++ b/games-misc/xcowsay/xcowsay-1.5.1.ebuild
30 @@ -0,0 +1,57 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +MY_PV="r${PV}"
37 +
38 +inherit autotools
39 +
40 +DESCRIPTION="Displays a cute cow and message on your desktop"
41 +HOMEPAGE="
42 + https://github.com/nickg/xcowsay
43 + https://www.doof.me.uk/xcowsay/
44 +"
45 +SRC_URI="https://github.com/nickg/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
46 +S="${WORKDIR}/${PN}-${MY_PV}"
47 +
48 +LICENSE="GPL-3+"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="dbus fortune nls"
52 +
53 +RDEPEND="
54 + dev-libs/glib:2
55 + x11-libs/cairo
56 + x11-libs/gtk+:3
57 + x11-libs/pango
58 + dbus? ( dev-libs/dbus-glib )
59 + fortune? ( games-misc/fortune-mod )
60 +"
61 +
62 +DEPEND="${RDEPEND}"
63 +
64 +BDEPEND="
65 + sys-devel/gettext
66 + virtual/pkgconfig
67 +"
68 +
69 +src_prepare() {
70 + default
71 +
72 + if ! use fortune; then
73 + sed -e 's/xcowfortune//g' -i src/Makefile.am || die
74 + fi
75 +
76 + eautoreconf
77 +}
78 +
79 +src_configure() {
80 + local myeconfargs=(
81 + --disable-rpath
82 + $(use_enable dbus)
83 + $(use_enable nls)
84 + )
85 +
86 + econf ${myeconfargs[@]}
87 +}