diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/tecnoballz/tecnoballz-0.92.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/tecnoballz/tecnoballz-0.92.ebuild')
-rw-r--r-- | games-arcade/tecnoballz/tecnoballz-0.92.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/games-arcade/tecnoballz/tecnoballz-0.92.ebuild b/games-arcade/tecnoballz/tecnoballz-0.92.ebuild new file mode 100644 index 000000000000..3ece75e8838e --- /dev/null +++ b/games-arcade/tecnoballz/tecnoballz-0.92.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools games + +DESCRIPTION="An exciting Brick Breaker" +HOMEPAGE="http://linux.tlk.fr/games/TecnoballZ/" +SRC_URI="http://linux.tlk.fr/games/TecnoballZ/download/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image[png] + media-libs/libmikmod:0" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc6.patch \ + "${FILESDIR}"/${P}-automake.patch + mv man/${PN}.fr.6 man/fr/${PN}.6 || die + # don't combine explicit and implicit rules for make 3.82 (bug #334629) + sed -i -e '/supervisor.c /s/.c /.cc /' src/Makefile.am || die + sed -i -e '/^CXXFLAGS=/d' configure.ac || die + eautoreconf +} + +src_install() { + default + fperms g+w "${GAMES_STATEDIR}"/${PN}.hi || die + make_desktop_entry ${PN} Tecnoballz + prepgamesdirs +} + +pkg_postinst() { + has_version "media-libs/sdl-mixer[mikmod]" \ + || ewarn "To have background music, emerge sdl-mixer with USE=mikmod" + games_pkg_postinst +} |