summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-10-15 07:59:22 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-10-15 07:59:22 +0000
commit9e8da3349a3439538f9cd4ea87083d8b85578421 (patch)
tree980a1d31fbaba0a4e93799e2b29cb8848f403d97 /app-misc
parentfix quoting for variable, thanks Donnie (diff)
downloadgentoo-2-9e8da3349a3439538f9cd4ea87083d8b85578421.tar.gz
gentoo-2-9e8da3349a3439538f9cd4ea87083d8b85578421.tar.bz2
gentoo-2-9e8da3349a3439538f9cd4ea87083d8b85578421.zip
Revision bump to use better sources, see bug #190953.
(Portage version: 2.1.3.13)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/oneko/ChangeLog7
-rw-r--r--app-misc/oneko/files/digest-oneko-1.2-r112
-rw-r--r--app-misc/oneko/oneko-1.2-r1.ebuild64
3 files changed, 82 insertions, 1 deletions
diff --git a/app-misc/oneko/ChangeLog b/app-misc/oneko/ChangeLog
index ed4ae2371488..206e89c561ca 100644
--- a/app-misc/oneko/ChangeLog
+++ b/app-misc/oneko/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/oneko
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/oneko/ChangeLog,v 1.12 2007/08/11 21:56:17 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/oneko/ChangeLog,v 1.13 2007/10/15 07:59:21 nelchael Exp $
+
+*oneko-1.2-r1 (15 Oct 2007)
+
+ 15 Oct 2007; Krzysiek Pawlik <nelchael@gentoo.org> +oneko-1.2-r1.ebuild:
+ Revision bump to use better sources, see bug #190953.
11 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
Remove myself from <maintainer>.
diff --git a/app-misc/oneko/files/digest-oneko-1.2-r1 b/app-misc/oneko/files/digest-oneko-1.2-r1
new file mode 100644
index 000000000000..c0f1556c92f6
--- /dev/null
+++ b/app-misc/oneko/files/digest-oneko-1.2-r1
@@ -0,0 +1,12 @@
+MD5 ee90a87de9a1db4bdebfbbecc10c98c5 oneko-1.2-cat.png 223
+RMD160 19a28d091031d307c387736b3cbac9babaf37283 oneko-1.2-cat.png 223
+SHA256 994dec71c4021f4e228b8c69fcefde5b11244445ff8ff6d43b3790beecef5800 oneko-1.2-cat.png 223
+MD5 e45258e99bbda684bd04ea6275c0435f oneko-1.2-dog.png 236
+RMD160 56d8714ea8b58966c35ee98e3b7ca14c9bb87e39 oneko-1.2-dog.png 236
+SHA256 5ca2d41b5538618196cfe9e40dd75856fde77fe35cba99ed9b2eacf1fb0e5502 oneko-1.2-dog.png 236
+MD5 59f4656a3e8a4b64e8023d45f2227a20 oneko-1.2-sakura-nobsd.patch.bz2 2967
+RMD160 5fec3d2ab8b834efc60af8b1a8afcf969307e84d oneko-1.2-sakura-nobsd.patch.bz2 2967
+SHA256 335965399706844874a9700d70f66d53a862efa8f49297d67c5ac9f7ab7ec37a oneko-1.2-sakura-nobsd.patch.bz2 2967
+MD5 456b318fa6e61431bf4f0a42b110014a oneko-1.2.sakura.5.tar.gz 76825
+RMD160 ee82483ca324e411b53d667c379f7a6ab7d71278 oneko-1.2.sakura.5.tar.gz 76825
+SHA256 2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f oneko-1.2.sakura.5.tar.gz 76825
diff --git a/app-misc/oneko/oneko-1.2-r1.ebuild b/app-misc/oneko/oneko-1.2-r1.ebuild
new file mode 100644
index 000000000000..966543e1be07
--- /dev/null
+++ b/app-misc/oneko/oneko-1.2-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/oneko/oneko-1.2-r1.ebuild,v 1.1 2007/10/15 07:59:21 nelchael Exp $
+
+inherit eutils
+
+DESCRIPTION="A cat, dog and others which chase the mouse or windows around the screen"
+HOMEPAGE="http://www.daidouji.com/oneko/"
+SRC_URI="http://www.daidouji.com/oneko/distfiles/${P}.sakura.5.tar.gz
+ mirror://gentoo/${P}-cat.png
+ mirror://gentoo/${P}-dog.png
+ mirror://gentoo/${P}-sakura-nobsd.patch.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake
+ app-text/rman
+ x11-proto/xextproto"
+
+S="${WORKDIR}/oneko-${PV}.sakura.5"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}/${P}-sakura-nobsd.patch"
+}
+
+src_compile() {
+ xmkmf -a || die "running xmkmf failed!"
+ emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "make failed!"
+}
+
+src_install() {
+ into /usr
+ dobin oneko
+ mv oneko._man oneko.1x
+ doman oneko.1x
+ dodoc README README-NEW README-SUPP
+ newicon "${DISTDIR}/${P}-cat.png" "cat.png"
+ newicon "${DISTDIR}/${P}-dog.png" "dog.png"
+ make_desktop_entry "oneko" "oneko (cat)" "cat.png" "Game;Amusement"
+ make_desktop_entry "oneko -dog" "oneko (dog)" "dog.png" "Game;Amusement"
+ make_desktop_entry "killall -TERM oneko" "oneko kill" "" "Game;Amusement"
+}
+
+pkg_postinst() {
+ elog "To kill oneko, type the following in a terminal:"
+ elog ""
+ elog "killall oneko"
+ elog ""
+ elog "If your mouse cursor changes to the default black cross"
+ elog "after running ${PN}, you should emerge x11-apps/xsetroot"
+ elog "and run:"
+ elog ""
+ elog "xsetroot -cursor_name left_ptr"
+ elog ""
+}