mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/12628 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
558d2f4b39
commit
66b0e00b6a
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
55
games-misc/xcowsay/xcowsay-1.4.ebuild
Normal file
55
games-misc/xcowsay/xcowsay-1.4.ebuild
Normal file
@@ -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[@]}
|
||||
}
|
||||
Reference in New Issue
Block a user