1 |
commit: 66b0e00b6ac74af4b9cf3673e741bef3d6f4140d |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Tue Aug 6 21:57:17 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 8 16:49:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b0e00b |
7 |
|
8 |
games-misc/xcowsay: bump to version 1.4 & take maintainership |
9 |
|
10 |
Changes to ebuild: |
11 |
- Updated homepage to https |
12 |
- Project now on Github |
13 |
- Corrected license |
14 |
- Bumped to EAPI=7 |
15 |
- Dropped not needed depedencies |
16 |
- Instead of deleting files after installation, disable compilation |
17 |
- Taking ownership by myself |
18 |
|
19 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
20 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
21 |
Closes: https://github.com/gentoo/gentoo/pull/12628 |
22 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
23 |
|
24 |
games-misc/xcowsay/Manifest | 1 + |
25 |
games-misc/xcowsay/metadata.xml | 31 +++++++++++++++++--- |
26 |
games-misc/xcowsay/xcowsay-1.4.ebuild | 55 +++++++++++++++++++++++++++++++++++ |
27 |
3 files changed, 83 insertions(+), 4 deletions(-) |
28 |
|
29 |
diff --git a/games-misc/xcowsay/Manifest b/games-misc/xcowsay/Manifest |
30 |
index ee181b6ab1c..69ed9ca6032 100644 |
31 |
--- a/games-misc/xcowsay/Manifest |
32 |
+++ b/games-misc/xcowsay/Manifest |
33 |
@@ -1 +1,2 @@ |
34 |
DIST xcowsay-1.3.tar.gz 269836 BLAKE2B 40eea935eb8784c182c03cf68c89f790c826f5162bbed526facee4d7488fb833e55bbecb9824d0b5e98abf3f5bc77068e150a1817f9745fb8ace11b7d7fdbb00 SHA512 b6f6493a988d8e8036ba9f2a0434627ffbd28eacd3330b256d8e6754b7be02eeb41390b28a8160091eca87d142e284adf2e2a37f22d715bca3b58ef1db8cdcf1 |
35 |
+DIST xcowsay-1.4.tar.gz 100014 BLAKE2B 59a82449bdefcfdb9f1fcf159e21374e36fb1e5af7db5bc61eb10166e5746bb0ce13f4321c904354f8e5b3bc8ae4625b0b12b339dd8013016e644c908f4b6ef0 SHA512 53370ba287ed2bf7d41cbf1bb8631e8da6933575956b38ee02f5aedae5bb49aede7e5e641fa7f93241f078a1a044920b387288ffbe2a10dd04fbe02932c67ca9 |
36 |
|
37 |
diff --git a/games-misc/xcowsay/metadata.xml b/games-misc/xcowsay/metadata.xml |
38 |
index 6d3b8a61684..1ed004f6125 100644 |
39 |
--- a/games-misc/xcowsay/metadata.xml |
40 |
+++ b/games-misc/xcowsay/metadata.xml |
41 |
@@ -1,8 +1,31 @@ |
42 |
<?xml version="1.0" encoding="UTF-8"?> |
43 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
44 |
<pkgmetadata> |
45 |
-<!-- maintainer-needed --> |
46 |
-<use> |
47 |
- <flag name="fortune">Installs the fortune-mod xcow binary</flag> |
48 |
-</use> |
49 |
+ <maintainer type="person"> |
50 |
+ <email>ck+gentoo@××××××××.de</email> |
51 |
+ <name>Conrad Kostecki</name> |
52 |
+ </maintainer> |
53 |
+ <maintainer type="project"> |
54 |
+ <email>proxy-maint@g.o</email> |
55 |
+ <name>Proxy Maintainers</name> |
56 |
+ </maintainer> |
57 |
+ <longdescription> |
58 |
+ xcowsay displays a cute cow and message on your desktop. |
59 |
+ Inspired by the original cowsay. It includes all these amazing features: |
60 |
+ - Fully configurable! |
61 |
+ - Calculates display time from amount of text |
62 |
+ - Dream mode - display images in the bubble |
63 |
+ - Can draw thought and speech bubbles |
64 |
+ - Daemon mode! Send your cow messages over DBus! |
65 |
+ - Three different sized cows provided |
66 |
+ - fortune(6) wrapper program: xcowfortune - cow will deliver pearls of wisdom! |
67 |
+ - Replace the naffness that is xmessage(1) |
68 |
+ - Should work with any window manager |
69 |
+ - Supports UTF-8 characters properly |
70 |
+ - Automatic word wrapping |
71 |
+ - Use alternative non-cow images if you like |
72 |
+ </longdescription> |
73 |
+ <use> |
74 |
+ <flag name="fortune">Enable support for fortune cookies via <pkg>games-misc/fortune-mod</pkg></flag> |
75 |
+ </use> |
76 |
</pkgmetadata> |
77 |
|
78 |
diff --git a/games-misc/xcowsay/xcowsay-1.4.ebuild b/games-misc/xcowsay/xcowsay-1.4.ebuild |
79 |
new file mode 100644 |
80 |
index 00000000000..12288119e0c |
81 |
--- /dev/null |
82 |
+++ b/games-misc/xcowsay/xcowsay-1.4.ebuild |
83 |
@@ -0,0 +1,55 @@ |
84 |
+# Copyright 1999-2019 Gentoo Authors |
85 |
+# Distributed under the terms of the GNU General Public License v2 |
86 |
+ |
87 |
+EAPI=7 |
88 |
+ |
89 |
+inherit autotools |
90 |
+ |
91 |
+DESCRIPTION="Displays a cute cow and message on your desktop" |
92 |
+HOMEPAGE=" |
93 |
+ https://github.com/nickg/xcowsay |
94 |
+ https://www.doof.me.uk/xcowsay/ |
95 |
+" |
96 |
+SRC_URI="https://github.com/nickg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
97 |
+ |
98 |
+LICENSE="GPL-3+" |
99 |
+SLOT="0" |
100 |
+KEYWORDS="~amd64 ~x86" |
101 |
+IUSE="dbus fortune nls" |
102 |
+ |
103 |
+RDEPEND=" |
104 |
+ dev-libs/glib:2 |
105 |
+ virtual/awk |
106 |
+ x11-libs/gdk-pixbuf:2 |
107 |
+ x11-libs/gtk+:2 |
108 |
+ x11-libs/pango |
109 |
+ dbus? ( dev-libs/dbus-glib ) |
110 |
+ fortune? ( games-misc/fortune-mod ) |
111 |
+" |
112 |
+ |
113 |
+DEPEND="${RDEPEND}" |
114 |
+ |
115 |
+BDEPEND=" |
116 |
+ sys-devel/gettext |
117 |
+ virtual/pkgconfig |
118 |
+" |
119 |
+ |
120 |
+src_prepare() { |
121 |
+ default |
122 |
+ |
123 |
+ if ! use fortune; then |
124 |
+ sed -e 's/xcowfortune//g' -i src/Makefile.am || die |
125 |
+ fi |
126 |
+ |
127 |
+ eautoreconf |
128 |
+} |
129 |
+ |
130 |
+src_configure() { |
131 |
+ local myeconfargs=( |
132 |
+ --disable-rpath |
133 |
+ $(use_enable dbus) |
134 |
+ $(use_enable nls) |
135 |
+ ) |
136 |
+ |
137 |
+ econf ${myeconfargs[@]} |
138 |
+} |