diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-08-13 01:45:22 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-08-13 05:00:06 -0400 |
commit | a4a10cc86a5b89c9395f3487e35b8bf16e8ab113 (patch) | |
tree | 7d35e9218ec4b188f16cb4b123b3d224cb7a381f /games-arcade/komi/komi-1.04-r1.ebuild | |
parent | games-arcade/gnujump: EAPI6->8, misc fixes (diff) | |
download | gentoo-a4a10cc86a5b89c9395f3487e35b8bf16e8ab113.tar.gz gentoo-a4a10cc86a5b89c9395f3487e35b8bf16e8ab113.tar.bz2 gentoo-a4a10cc86a5b89c9395f3487e35b8bf16e8ab113.zip |
games-arcade/komi: EAPI6->8, misc changes
* drop Makefile in favor of implicit rules, somewhat useless and relied
on 2 patches, seds, and still needed a partial manual install anyway
* depend on libsdl[sound]
* respect EPREFIX
* install readme/changelog
* replace .bmp icon, not right format to be XDG-valid and no guarantees
it can be displayed by everything
* GPL-2 -> GPL-2+
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade/komi/komi-1.04-r1.ebuild')
-rw-r--r-- | games-arcade/komi/komi-1.04-r1.ebuild | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/games-arcade/komi/komi-1.04-r1.ebuild b/games-arcade/komi/komi-1.04-r1.ebuild deleted file mode 100644 index 5e0804c4843e..000000000000 --- a/games-arcade/komi/komi-1.04-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit desktop - -DESCRIPTION="Komi the Space Frog - simple SDL game of collection" -HOMEPAGE="http://komi.sourceforge.net" -SRC_URI="mirror://sourceforge/komi/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="media-libs/libsdl[video] - media-libs/sdl-mixer -" -RDEPEND="${DEPEND}" - -src_prepare() { - default - eapply "${FILESDIR}"/${PV}-DESTDIR.patch \ - "${FILESDIR}"/${P}-install.patch - sed -i \ - -e "/^BINPATH/s:=.*:=/usr/bin/:" \ - -e "/^DATAPATH/s:=.*:=/usr/share/${PN}/:" \ - -e '/^SDL_LIB/s:$: $(LDFLAGS):' \ - -e '/^SDL_LIB/s:--static-:--:' \ - Makefile \ - || die "sed failed" -} - -src_compile() { - emake ECFLAGS="${CFLAGS}" -} - -src_install() { - default - newicon komidata/sprites_komi.bmp ${PN}.bmp - make_desktop_entry komi Komi /usr/share/pixmaps/${PN}.bmp - doman komi.6 -} |