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 1CDED158041 for ; Tue, 7 Sep 2021 12:08:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F173FE0934; Tue, 7 Sep 2021 12:08:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 AACBFE08FE for ; Tue, 7 Sep 2021 12:08:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8597E342AAE for ; Tue, 7 Sep 2021 12:08:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B33959E for ; Tue, 7 Sep 2021 12:08:42 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1631016500.f8be8b23f82a15e5fa44556cf5455da3de0a4ee1.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/arrows/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-puzzle/arrows/arrows-0.6-r2.ebuild X-VCS-Directories: games-puzzle/arrows/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: f8be8b23f82a15e5fa44556cf5455da3de0a4ee1 X-VCS-Branch: master Date: Tue, 7 Sep 2021 12:08:42 +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: 3e703a38-129f-44bf-ac99-4042a97b86fc X-Archives-Hash: cef59755a08feb73cb61561929168e82 commit: f8be8b23f82a15e5fa44556cf5455da3de0a4ee1 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Fri Sep 3 19:17:46 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Sep 7 12:08:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8be8b23 games-puzzle/arrows: EAPI8 bump, ebuild improvements Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Ionen Wolkens gentoo.org> games-puzzle/arrows/arrows-0.6-r2.ebuild | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/games-puzzle/arrows/arrows-0.6-r2.ebuild b/games-puzzle/arrows/arrows-0.6-r2.ebuild new file mode 100644 index 00000000000..cb91302342e --- /dev/null +++ b/games-puzzle/arrows/arrows-0.6-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs + +DESCRIPTION="Simple maze-like game where you navigate around and destroy arrows" +HOMEPAGE="http://noreason.ca/?file=software" +SRC_URI="http://noreason.ca/data/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/atk + dev-libs/glib:2 + media-libs/fontconfig + media-libs/freetype + media-libs/harfbuzz:= + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/pango" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Modify path to data + sed -i \ + -e "s|arrfl|${EPREFIX}/usr/share/${PN}/arrfl|" \ + -e 's|nm\[9|nm[35|' \ + -e 's|nm\[6|nm[30|' \ + -e 's|nm\[7|nm[31|' \ + game.c || die +} + +src_compile() { + emake clean + emake CC="$(tc-getCC)" CCOPTS="${CFLAGS}" LINKOPTS="${LDFLAGS}" +} + +src_install() { + dobin arrows + + insinto /usr/share/${PN} + doins arrfl.[1-5] + einstalldocs + + make_desktop_entry ${PN} ${PN^} applications-games +}