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 BBB2713835A for ; Tue, 1 Jun 2021 23:44:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88610E0827; Tue, 1 Jun 2021 23:44:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 37740E0827 for ; Tue, 1 Jun 2021 23:44:38 +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 0FA44340F69 for ; Tue, 1 Jun 2021 23:44:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B1F5793 for ; Tue, 1 Jun 2021 23:44:34 +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: <1622589555.482c2764535184fffb3750c35c1f56b984d0d9f1.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/rockdodger/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/rockdodger/Manifest games-arcade/rockdodger/rockdodger-1.1.4.ebuild X-VCS-Directories: games-arcade/rockdodger/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 482c2764535184fffb3750c35c1f56b984d0d9f1 X-VCS-Branch: master Date: Tue, 1 Jun 2021 23:44:34 +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: 984dc3f2-6960-4ad7-bb24-1076e5ad9eb3 X-Archives-Hash: 30521890a62eb1f8a516c5d84a1ea8eb commit: 482c2764535184fffb3750c35c1f56b984d0d9f1 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Jun 1 12:01:26 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jun 1 23:19:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482c2764 games-arcade/rockdodger: add 1.1.4 - make game usable (broken since games.eclass--, wrong assets path) - make executable setgid gamestat (...was setgid root) - removed patches, obsolete/upstreamed - prefix support - install package's .desktop, bigger icon, and man page - added missing [joystick] (bug #737688), and others to handle assets - seds removed (bug #711110), includes audio sed given can't reproduce and upstream still left it at 512 in 2020 Closes: https://bugs.gentoo.org/680584 Closes: https://bugs.gentoo.org/711110 Closes: https://bugs.gentoo.org/737688 Signed-off-by: Ionen Wolkens gentoo.org> games-arcade/rockdodger/Manifest | 1 + games-arcade/rockdodger/rockdodger-1.1.4.ebuild | 50 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/games-arcade/rockdodger/Manifest b/games-arcade/rockdodger/Manifest index 24cdb923e2c..11d90d34984 100644 --- a/games-arcade/rockdodger/Manifest +++ b/games-arcade/rockdodger/Manifest @@ -1 +1,2 @@ DIST rockdodger-0.6.0a.tar.gz 410223 BLAKE2B 5ccda4400468d6a7209adfdad3045773bf31581e34dfb77bff7d314ca9d9fa18e6c5a24996259782c002cf8ea611f92388c9ca46be4e0c7492a526421e8e8163 SHA512 d517cc844df21e8772b13d0226841a64bede0cc2f5461fb83d313f49cd99192dcf6af4597e3d1f3e1c60f578437e355ce665e0288415da803a503fb12d8462eb +DIST rockdodger-1.1.4.tar.gz 1026184 BLAKE2B 08885155508adb878908d3cf9201c98cffded37dea051cb9a668ddb63891a19369648964f3f19d94b72a08626d3d1dea73686b190898d8b59c3b91805e08677c SHA512 542a8b5b1a9dc7fc8e61d3183c14c3f45952614f2e00f71383dfd42ddcf275cbc14520797d4555f2f19f354a4f1819d8527a587598c9dbc06a75b21643a8b019 diff --git a/games-arcade/rockdodger/rockdodger-1.1.4.ebuild b/games-arcade/rockdodger/rockdodger-1.1.4.ebuild new file mode 100644 index 00000000000..6f4a73b078f --- /dev/null +++ b/games-arcade/rockdodger/rockdodger-1.1.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs + +DESCRIPTION="Dodge the rocks for as long as possible until you die" +HOMEPAGE="https://bitbucket.org/rpkrawczyk/rockdodger" +SRC_URI="https://bitbucket.org/rpkrawczyk/rockdodger/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + acct-group/gamestat + media-libs/libsdl[joystick,sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod,wav]" +DEPEND="${DEPEND}" + +src_compile() { + tc-export CC + + local emakeargs=( + prefix="${EPREFIX}"/usr + gamesdir="${EPREFIX}"/var/games/${PN} + MOREOPTS="${CFLAGS} ${CPPFLAGS}" + ) + emake "${emakeargs[@]}" +} + +src_install() { + dobin ${PN} + doman ${PN}.6 + + insinto /usr/share/${PN} + doins -r data/. + + newicon ${PN}.icon.64x64.xpm ${PN}.xpm + domenu ${PN}.desktop + + dodir /var/games/${PN} + touch "${ED}"/var/games/${PN}/${PN}.scores || die + + fowners -R :gamestat /{usr/bin,var/games}/${PN} + fperms 660 /var/games/${PN}/${PN}.scores + fperms g+s /usr/bin/${PN} +}