1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs xdg
8 DESCRIPTION="Crayon Physics-like drawing puzzle game using the same excellent Box2D engine"
9 HOMEPAGE="https://github.com/thp/numptyphysics"
11 if [[ ${PV} == 9999 ]]; then
13 EGIT_REPO_URI="https://github.com/thp/numptyphysics.git"
15 SRC_URI="https://github.com/thp/numptyphysics/archive/${PV}.tar.gz -> ${P}.tar.gz"
19 LICENSE="BSD GPL-3+ ZLIB"
24 media-libs/libsdl2[opengl,video]
25 media-libs/sdl2-image[png]
29 BDEPEND="virtual/pkgconfig"
32 "${FILESDIR}"/${PN}-0.3.8-empty-tr.patch
33 "${FILESDIR}"/${PN}-0.3.8-respect-flags.patch
37 tc-export AR CC CXX PKG_CONFIG RANLIB