From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 192A8138334 for ; Sat, 22 Dec 2018 11:27:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D2F5E0A4A; Sat, 22 Dec 2018 11:27:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D58A9E0A4A for ; Sat, 22 Dec 2018 11:27:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3AE52335C36 for ; Sat, 22 Dec 2018 11:27:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE3D24F2 for ; Sat, 22 Dec 2018 11:27:19 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1545478037.33d666a7d38f2e1986d8fa16b2f8bef8fba4b582.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/oneko/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/oneko/metadata.xml app-misc/oneko/oneko-1.2_p5.ebuild X-VCS-Directories: app-misc/oneko/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 33d666a7d38f2e1986d8fa16b2f8bef8fba4b582 X-VCS-Branch: master Date: Sat, 22 Dec 2018 11:27:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7ec6627b-f868-4b4d-aaa5-f896f91d43b5 X-Archives-Hash: 1d27b8a580e4fb517e3b85d5236b22b9 commit: 33d666a7d38f2e1986d8fa16b2f8bef8fba4b582 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Dec 22 11:22:28 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Dec 22 11:27:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d666a7 app-misc/oneko: EAPI=7 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> app-misc/oneko/metadata.xml | 21 +++++++++++--- app-misc/oneko/oneko-1.2_p5.ebuild | 59 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 4 deletions(-) diff --git a/app-misc/oneko/metadata.xml b/app-misc/oneko/metadata.xml index 2ba8e9e851e..4f979a604e1 100644 --- a/app-misc/oneko/metadata.xml +++ b/app-misc/oneko/metadata.xml @@ -1,8 +1,21 @@ - - desktop-misc@gentoo.org - Gentoo Desktop Miscellaneous Project - + +desktop-misc@gentoo.org +Gentoo Desktop Miscellaneous Project + + +"oneko-sakura" is modified version of oneko. KINOMOTO Sakura chases around your +mouse cursor. + +To stop the program, run this command: + +killall oneko + +If your mouse cursor changes to the default black cross after running oneko, +you should install x11-apps/xsetroot and run: + + xsetroot -cursor_name left_ptr + diff --git a/app-misc/oneko/oneko-1.2_p5.ebuild b/app-misc/oneko/oneko-1.2_p5.ebuild new file mode 100644 index 00000000000..97392a93424 --- /dev/null +++ b/app-misc/oneko/oneko-1.2_p5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit desktop toolchain-funcs + +DESCRIPTION="A cat, dog and others which chase the mouse or windows around the screen" +HOMEPAGE="http://www.daidouji.com/oneko/" +SRC_URI=" + ${HOMEPAGE}distfiles/${P/_p*}.sakura.${PV/*_p}.tar.gz + mirror://gentoo/${P/_p*}-cat.png + mirror://gentoo/${P/_p*}-dog.png + mirror://gentoo/${P/_p*}-sakura-nobsd.patch.bz2 +" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext +" +DEPEND=" + ${RDEPEND} + app-text/rman + x11-base/xorg-proto + x11-misc/gccmakedep + x11-misc/imake +" +PATCHES=( + "${WORKDIR}"/${P/_p*}-sakura-nobsd.patch + "${FILESDIR}"/${P/_p*}-include.patch +) +S=${WORKDIR}/${P/_*}.sakura.${PV/*_p} + +src_configure() { + xmkmf -a || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CCOPTIONS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" +} + +src_install() { + dobin oneko + newman oneko._man 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" "Game;Amusement" + make_desktop_entry "oneko -dog" "oneko (dog)" "dog" "Game;Amusement" + make_desktop_entry "killall -TERM oneko" "oneko kill" "" "Game;Amusement" +}