diff options
author | Sam James <sam@gentoo.org> | 2021-03-27 15:03:08 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-27 15:34:44 +0000 |
commit | 0009f1ea54cb94fc7240a7b63f6dfa56a23eb6f8 (patch) | |
tree | 25d5a97751e7dce65b6d8f122fd46a18f758c4b0 /games-puzzle/numptyphysics/numptyphysics-0.3.5.ebuild | |
parent | app-admin/authbind: fix build, *FLAGS patch (diff) | |
download | gentoo-0009f1ea54cb94fc7240a7b63f6dfa56a23eb6f8.tar.gz gentoo-0009f1ea54cb94fc7240a7b63f6dfa56a23eb6f8.tar.bz2 gentoo-0009f1ea54cb94fc7240a7b63f6dfa56a23eb6f8.zip |
games-puzzle/numptyphysics: add 0.3.5
I couldn't reproduce the source directory issue
with 0.3.4 but we're going to have to clean it up
anyway due to the include bug (no point patching it -
new version is here!)
Closes: https://bugs.gentoo.org/728920
Closes: https://bugs.gentoo.org/723260
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-puzzle/numptyphysics/numptyphysics-0.3.5.ebuild')
-rw-r--r-- | games-puzzle/numptyphysics/numptyphysics-0.3.5.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/games-puzzle/numptyphysics/numptyphysics-0.3.5.ebuild b/games-puzzle/numptyphysics/numptyphysics-0.3.5.ebuild new file mode 100644 index 000000000000..30d75e17bd4a --- /dev/null +++ b/games-puzzle/numptyphysics/numptyphysics-0.3.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic gnome2-utils toolchain-funcs + +DESCRIPTION="Crayon Physics-like drawing puzzle game using the same excellent Box2D engine" +HOMEPAGE="https://thp.io/2015/numptyphysics/" + +# This is only the SRC_URI for the user levels. The code is in git repo. +SRC_URI="user-levels? ( + https://github.com/thp/numptyphysics/archive/${PV}.tar.gz -> ${P}.tar.gz + http://numptyphysics.garage.maemo.org/levels/butelo/butelo.npz + http://numptyphysics.garage.maemo.org/levels/catalyst/catalyst.npz + http://numptyphysics.garage.maemo.org/levels/christeck/christeck.npz + http://numptyphysics.garage.maemo.org/levels/dneary/dneary.npz + http://numptyphysics.garage.maemo.org/levels/gnuton/gnuton.npz + http://numptyphysics.garage.maemo.org/levels/gudger/gudger.npz + http://numptyphysics.garage.maemo.org/levels/guile/guile.npz + http://numptyphysics.garage.maemo.org/levels/hurd/hurd.npz + http://numptyphysics.garage.maemo.org/levels/ioan/ioan.npz + http://numptyphysics.garage.maemo.org/levels/jhoff80/jhoff80.npz + http://numptyphysics.garage.maemo.org/levels/leonet/leonet.npz + http://numptyphysics.garage.maemo.org/levels/melvin/melvin.npz + http://numptyphysics.garage.maemo.org/levels/noodleman/noodleman.npz + http://numptyphysics.garage.maemo.org/levels/papky/papky.npz + http://numptyphysics.garage.maemo.org/levels/perli/perli.npz + http://numptyphysics.garage.maemo.org/levels/qole/qole.npz + http://numptyphysics.garage.maemo.org/levels/siminz/siminz.npz + http://numptyphysics.garage.maemo.org/levels/szymanowski/szymanowski.npz + http://numptyphysics.garage.maemo.org/levels/therealbubba/therealbubba.npz + http://numptyphysics.garage.maemo.org/levels/werre/werre.npz + http://numptyphysics.garage.maemo.org/levels/zeez/zeez.npz +)" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+user-levels" + +RDEPEND=" + dev-libs/glib:2 + media-libs/libsdl2[opengl,video] + media-libs/sdl2-image[png] + media-libs/sdl2-ttf + virtual/opengl +" +DEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.3.5-gentoo.patch +) + +src_compile() { + tc-export CC CXX + emake +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |