summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/xcowsay/ChangeLog11
-rw-r--r--games-misc/xcowsay/metadata.xml3
-rw-r--r--games-misc/xcowsay/xcowsay-1.3.ebuild34
3 files changed, 46 insertions, 2 deletions
diff --git a/games-misc/xcowsay/ChangeLog b/games-misc/xcowsay/ChangeLog
index e78943ac5998..ee48aea2f88a 100644
--- a/games-misc/xcowsay/ChangeLog
+++ b/games-misc/xcowsay/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-misc/xcowsay
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/xcowsay/ChangeLog,v 1.4 2010/09/30 20:17:14 maekke Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/xcowsay/ChangeLog,v 1.5 2011/01/05 22:12:20 hwoarang Exp $
+
+*xcowsay-1.3 (05 Jan 2011)
+
+ 05 Jan 2011; Markos Chandras <hwoarang@gentoo.org> +xcowsay-1.3.ebuild,
+ metadata.xml:
+ Version bump. Thanks to kirin yuri <kirin.yuri@ya.ru> for the ebuild. Bug
+ #350383
30 Sep 2010; Markus Meier <maekke@gentoo.org> xcowsay-1.2.ebuild:
x86 stable, bug #338776
diff --git a/games-misc/xcowsay/metadata.xml b/games-misc/xcowsay/metadata.xml
index 87afd6e36004..a958599ee923 100644
--- a/games-misc/xcowsay/metadata.xml
+++ b/games-misc/xcowsay/metadata.xml
@@ -6,6 +6,9 @@
<email>hwoarang@gentoo.org</email>
<name>Markos Chandras</name>
</maintainer>
+<use>
+ <flag name="fortune">Installs the fortune-mod xcow binary</flag>
+</use>
<longdescription lang="en">
</longdescription>
</pkgmetadata>
diff --git a/games-misc/xcowsay/xcowsay-1.3.ebuild b/games-misc/xcowsay/xcowsay-1.3.ebuild
new file mode 100644
index 000000000000..1dae9beb2bca
--- /dev/null
+++ b/games-misc/xcowsay/xcowsay-1.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/xcowsay/xcowsay-1.3.ebuild,v 1.1 2011/01/05 22:12:20 hwoarang Exp $
+
+EAPI="2"
+
+DESCRIPTION="configurable talking graphical cow (inspired by cowsay)"
+HOMEPAGE="http://www.doof.me.uk/xcowsay/"
+SRC_URI="http://www.nickg.me.uk/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus fortune"
+
+RDEPEND="dbus? ( sys-apps/dbus )
+ dev-libs/dbus-glib
+ fortune? ( games-misc/fortune-mod )
+ media-libs/freetype:2
+ media-libs/libpng
+ x11-libs/pango"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf $(use_enable dbus)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake failed"
+ if ! use fortune; then
+ rm -f "${D}"/usr/bin/xcowfortune
+ fi
+}