commit: a2047e6fcbe5faa9972f9c1775e39aba965412f7 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Jul 22 18:02:14 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Jul 22 21:16:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2047e6f
games-arcade/blobby: EAPI-7 bump, switch to cmake, fix dependencies Package depends on media-libs/libsdl2, not media-libs/libsdl. Dropping media-libs/libsdl2[X] USE-dep on request of games proj. Closes: https://bugs.gentoo.org/606780 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> games-arcade/blobby/blobby-1.0-r1.ebuild | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/games-arcade/blobby/blobby-1.0-r1.ebuild b/games-arcade/blobby/blobby-1.0-r1.ebuild new file mode 100644 index 00000000000..0044ddcffb2 --- /dev/null +++ b/games-arcade/blobby/blobby-1.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop + +DESCRIPTION="Beach ball game with blobs of goo" +HOMEPAGE="https://sourceforge.net/projects/blobby/" +SRC_URI="mirror://sourceforge/${PN}/${PN}2-linux-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-games/physfs-2[zip] + media-libs/libsdl2[sound,joystick,opengl,video] + virtual/opengl +" +DEPEND="${RDEPEND} + dev-libs/boost +" +BDEPEND=" + app-arch/zip + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-compile.patch + "${FILESDIR}"/${P}-paths.patch + "${FILESDIR}"/${P}-install.patch +) + +src_install() { + cmake_src_install + + newicon data/Icon.bmp ${PN}.bmp + make_desktop_entry ${PN} "Blobby Volley" /usr/share/pixmaps/${PN}.bmp +}