public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/xcowsay/
Date: Thu,  8 Aug 2019 16:49:39 +0000 (UTC)	[thread overview]
Message-ID: <1565282967.66b0e00b6ac74af4b9cf3673e741bef3d6f4140d.juippis@gentoo> (raw)

commit:     66b0e00b6ac74af4b9cf3673e741bef3d6f4140d
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Tue Aug  6 21:57:17 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  8 16:49:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b0e00b

games-misc/xcowsay: bump to version 1.4 & take maintainership

Changes to ebuild:
- Updated homepage to https
- Project now on Github
- Corrected license
- Bumped to EAPI=7
- Dropped not needed depedencies
- Instead of deleting files after installation, disable compilation
- Taking ownership by myself

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/12628
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 games-misc/xcowsay/Manifest           |  1 +
 games-misc/xcowsay/metadata.xml       | 31 +++++++++++++++++---
 games-misc/xcowsay/xcowsay-1.4.ebuild | 55 +++++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+), 4 deletions(-)

diff --git a/games-misc/xcowsay/Manifest b/games-misc/xcowsay/Manifest
index ee181b6ab1c..69ed9ca6032 100644
--- a/games-misc/xcowsay/Manifest
+++ b/games-misc/xcowsay/Manifest
@@ -1 +1,2 @@
 DIST xcowsay-1.3.tar.gz 269836 BLAKE2B 40eea935eb8784c182c03cf68c89f790c826f5162bbed526facee4d7488fb833e55bbecb9824d0b5e98abf3f5bc77068e150a1817f9745fb8ace11b7d7fdbb00 SHA512 b6f6493a988d8e8036ba9f2a0434627ffbd28eacd3330b256d8e6754b7be02eeb41390b28a8160091eca87d142e284adf2e2a37f22d715bca3b58ef1db8cdcf1
+DIST xcowsay-1.4.tar.gz 100014 BLAKE2B 59a82449bdefcfdb9f1fcf159e21374e36fb1e5af7db5bc61eb10166e5746bb0ce13f4321c904354f8e5b3bc8ae4625b0b12b339dd8013016e644c908f4b6ef0 SHA512 53370ba287ed2bf7d41cbf1bb8631e8da6933575956b38ee02f5aedae5bb49aede7e5e641fa7f93241f078a1a044920b387288ffbe2a10dd04fbe02932c67ca9

diff --git a/games-misc/xcowsay/metadata.xml b/games-misc/xcowsay/metadata.xml
index 6d3b8a61684..1ed004f6125 100644
--- a/games-misc/xcowsay/metadata.xml
+++ b/games-misc/xcowsay/metadata.xml
@@ -1,8 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
-<use>
-	<flag name="fortune">Installs the fortune-mod xcow binary</flag>
-</use>
+	<maintainer type="person">
+		<email>ck+gentoo@bl4ckb0x.de</email>
+		<name>Conrad Kostecki</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		xcowsay displays a cute cow and message on your desktop.
+		Inspired by the original cowsay. It includes all these amazing features:
+		- Fully configurable!
+		- Calculates display time from amount of text
+		- Dream mode - display images in the bubble
+		- Can draw thought and speech bubbles
+		- Daemon mode! Send your cow messages over DBus!
+		- Three different sized cows provided
+		- fortune(6) wrapper program: xcowfortune - cow will deliver pearls of wisdom!
+		- Replace the naffness that is xmessage(1)
+		- Should work with any window manager
+		- Supports UTF-8 characters properly
+		- Automatic word wrapping
+		- Use alternative non-cow images if you like
+	</longdescription>
+	<use>
+		<flag name="fortune">Enable support for fortune cookies via <pkg>games-misc/fortune-mod</pkg></flag>
+	</use>
 </pkgmetadata>

diff --git a/games-misc/xcowsay/xcowsay-1.4.ebuild b/games-misc/xcowsay/xcowsay-1.4.ebuild
new file mode 100644
index 00000000000..12288119e0c
--- /dev/null
+++ b/games-misc/xcowsay/xcowsay-1.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Displays a cute cow and message on your desktop"
+HOMEPAGE="
+	https://github.com/nickg/xcowsay
+	https://www.doof.me.uk/xcowsay/
+"
+SRC_URI="https://github.com/nickg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus fortune nls"
+
+RDEPEND="
+	dev-libs/glib:2
+	virtual/awk
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:2
+	x11-libs/pango
+	dbus? (	dev-libs/dbus-glib )
+	fortune? ( games-misc/fortune-mod )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+	sys-devel/gettext
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	default
+
+	if ! use fortune; then
+		sed -e 's/xcowfortune//g' -i src/Makefile.am || die
+	fi
+
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--disable-rpath
+		$(use_enable dbus)
+		$(use_enable nls)
+	)
+
+	econf ${myeconfargs[@]}
+}


             reply	other threads:[~2019-08-08 16:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08 16:49 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-05 22:11 [gentoo-commits] repo/gentoo:master commit in: games-misc/xcowsay/ Conrad Kostecki
2022-03-05 22:11 Conrad Kostecki
2022-03-05 22:11 Conrad Kostecki
2022-02-03 15:03 Conrad Kostecki
2020-11-13 18:12 Conrad Kostecki
2020-11-13  2:25 Sam James
2020-11-12 21:03 Thomas Deutschmann
2020-10-03 18:35 Conrad Kostecki
2020-10-03 14:42 Conrad Kostecki
2020-05-21 22:28 Conrad Kostecki
2020-05-21  8:06 Agostino Sarubbo
2020-05-21  7:53 Agostino Sarubbo
2020-03-12 22:48 Conrad Kostecki
2019-10-03  6:21 Michał Górny
2019-10-02 19:08 Agostino Sarubbo
2019-09-26 19:02 Thomas Deutschmann
2018-05-28 23:02 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1565282967.66b0e00b6ac74af4b9cf3673e741bef3d6f4140d.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox