From 7c59acba5699c9c58090a7a738669669a7307023 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Aug 2021 23:14:26 +0100 Subject: gentoo resync : 21.08.2021 --- games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild (limited to 'games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild') diff --git a/games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild b/games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild new file mode 100644 index 000000000000..fef465d97c2e --- /dev/null +++ b/games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop + +DESCRIPTION="Asteroids Clone for X using SDL" +HOMEPAGE="http://david.hedbor.org/projects/sdlroids/" +SRC_URI="mirror://sourceforge/sdlroids/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" + +RDEPEND=" + media-libs/libsdl[joystick] + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-sound.patch + "${FILESDIR}"/${P}-Makefile.patch + "${FILESDIR}"/${P}-fno-common.patch +) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_install() { + default + + newicon icons/sdlroids-48x48.xpm ${PN}.xpm + make_desktop_entry ${PN} SDLRoids ${PN} +} -- cgit v1.2.3