games-rpg/freedroid: add 1.2.1, EAPI-7 bump

- switch homepage to github as old pages are dedicated to freedroidrpg
- new dep on media-libs/sdl-gfx
- re-arrange depends for build-only checks

Upstream fixed -fno-common issues wrt bug #791091

Closes: https://bugs.gentoo.org/791091
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2021-06-05 22:33:07 -04:00
parent db0abc380b
commit 4aa71a030a
2 changed files with 42 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST freedroid-1.0.2.tar.gz 4819173 BLAKE2B 9548cc350010eff47ca13b8b4fd6b1082f16e1fe41bad5c2359aecd7834ef22b27adc90d1d33564edc63a592ffa6934224a0ee16784cf736b98fcb56d287229a SHA512 cfafa4af86a2007fcf761b51e6c7dcc6dc40f4513057413901fede41b7a436b9c8cf7c3e5c29130e5410fab640ffbdc8100043a442555e862acffe9f33086be1
DIST freedroid-1.2.1.tar.gz 5875869 BLAKE2B fab7dfb16e421394b9b0564a29a2e438152cd3d8a5527e3581823edec174986df473040d58c705765ba50b4b73105a348d39f9e61bb0721bb742c70838cdef34 SHA512 4de2174935e432f6dc4fa3a0fb5efff9bed59ba25593c7860edbddbaea77875a490c3f1e11042b57f0bb72158a3a28e111bf53bb0d10bbf051f67717d4547913
@@ -0,0 +1,41 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools desktop
DESCRIPTION="The original Freedroid, a clone of the C64 classic Paradroid"
HOMEPAGE="https://github.com/ReinhardPrix/FreedroidClassic"
SRC_URI="https://github.com/ReinhardPrix/FreedroidClassic/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/FreedroidClassic-release-${PV}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
media-libs/libsdl[joystick,sound,video]
media-libs/sdl-gfx
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[mod,vorbis]"
DEPEND="
${RDEPEND}
media-libs/libpng
media-libs/libvorbis
sys-libs/zlib
virtual/jpeg"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
eautoreconf
}
src_install() {
default
newicon graphics/paraicon_48x48.png ${PN}.png
make_desktop_entry ${PN} Freedroid ${PN} "Game;"
}