1 |
commit: 25cb9482e44c02f1bd177bafe554710316127021 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 3 14:59:42 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 3 15:03:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25cb9482 |
7 |
|
8 |
games-misc/xcowsay: add 1.6 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
games-misc/xcowsay/Manifest | 1 + |
13 |
games-misc/xcowsay/xcowsay-1.6.ebuild | 56 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/games-misc/xcowsay/Manifest b/games-misc/xcowsay/Manifest |
17 |
index a9444f62857a..49d77a08a571 100644 |
18 |
--- a/games-misc/xcowsay/Manifest |
19 |
+++ b/games-misc/xcowsay/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xcowsay-1.5.1.tar.gz 101281 BLAKE2B 568f6ad7225cd859c37d79bf3ddf66c184f47d8feb6dedbafbd29ca4e05d97d883c6d6e4f4d60cebe107f1527e1ff01e17ec61430a3e55e2f504c2c00e402488 SHA512 55c165b5b2c01b11463af0eeb13fd646ea50138e2938ddfc25d44f1a704b7473d047bc7c95165f449a600de51ee005904f007843e33a8ef02c725b827eaec616 |
22 |
+DIST xcowsay-1.6.tar.gz 292845 BLAKE2B 88597063616928edfc74830171b287b676163faca0b3545dc4495cb0faee810ca7867f36223bba726074866de7fb3458621670265250c846ce94c035a0ad0828 SHA512 53016e1b2790b8bc213702f1b99a0ca0cacc57ef1c2cf821814ecb4aff68df05c98b279a1f39718f4fcee771e1397b27ad43123314b1f04dd442ddc0520a9f98 |
23 |
|
24 |
diff --git a/games-misc/xcowsay/xcowsay-1.6.ebuild b/games-misc/xcowsay/xcowsay-1.6.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..d88c858a28ff |
27 |
--- /dev/null |
28 |
+++ b/games-misc/xcowsay/xcowsay-1.6.ebuild |
29 |
@@ -0,0 +1,56 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit autotools |
36 |
+ |
37 |
+DESCRIPTION="Displays a cute cow and message on your desktop" |
38 |
+HOMEPAGE=" |
39 |
+ https://github.com/nickg/xcowsay |
40 |
+ https://www.doof.me.uk/xcowsay/ |
41 |
+" |
42 |
+SRC_URI="https://github.com/nickg/${PN}/releases/download/v${PV}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="dbus fortune nls" |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-libs/glib:2 |
52 |
+ x11-libs/cairo |
53 |
+ x11-libs/gdk-pixbuf:2 |
54 |
+ x11-libs/gtk+:3 |
55 |
+ x11-libs/pango |
56 |
+ dbus? ( dev-libs/dbus-glib ) |
57 |
+ fortune? ( games-misc/fortune-mod ) |
58 |
+" |
59 |
+ |
60 |
+DEPEND="${RDEPEND}" |
61 |
+ |
62 |
+BDEPEND=" |
63 |
+ sys-devel/gettext |
64 |
+ virtual/pkgconfig |
65 |
+" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ |
70 |
+ if ! use fortune; then |
71 |
+ sed -e 's/xcowfortune//g' -i src/Makefile.am || die |
72 |
+ fi |
73 |
+ |
74 |
+ eautoreconf |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ local myeconfargs=( |
79 |
+ --disable-rpath |
80 |
+ $(use_enable dbus) |
81 |
+ $(use_enable nls) |
82 |
+ ) |
83 |
+ |
84 |
+ econf ${myeconfargs[@]} |
85 |
+} |