dev-ruby/rack: Stabilize 3.1.8 ppc64, #949109
[gentoo/gentoo.git] / games-arcade / retrobattle / retrobattle-1.0.0-r1.ebuild
blob7bbb9fa2dc2be81ef3993a3b1d74888e8509420c
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 inherit desktop wrapper
8 MY_P="${PN}-src-${PV}"
9 DESCRIPTION="A NES-like platform arcade game"
10 HOMEPAGE="http://remar.se/andreas/retrobattle/"
11 SRC_URI="http://remar.se/andreas/retrobattle/files/${MY_P}.tar.bz2"
12 S="${WORKDIR}/${MY_P}/src"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
18 # test is incomplete
19 RESTRICT="test"
21 DEPEND="
22         media-libs/libsdl[X,sound,video]
23         media-libs/sdl-mixer[wav]
25 RDEPEND="${DEPEND}"
27 PATCHES=(
28         "${FILESDIR}"/${P}-{build,sound,gcc6}.patch
31 src_install() {
32         insinto /usr/share/${PN}
33         doins -r "${WORKDIR}"/${MY_P}/data
35         newbin "${WORKDIR}"/${MY_P}/${PN} ${PN}.bin
36         make_wrapper ${PN} "${PN}.bin \"/usr/share/${PN}\""
38         make_desktop_entry ${PN}
39         dodoc "${WORKDIR}"/${MY_P}/{manual.txt,README}