From: | Ionen Wolkens <ionen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: games-puzzle/numptyphysics/ |
Date: | Sat, 17 Jul 2021 08:16:29 |
Message-Id: | 1626508727.fd23825e989d4b90ea3e2a89ccc1e1699a4c3e0a.ionen@gentoo |
1 | commit: fd23825e989d4b90ea3e2a89ccc1e1699a4c3e0a |
2 | Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 | AuthorDate: Fri Jul 16 23:45:13 2021 +0000 |
4 | Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 | CommitDate: Sat Jul 17 07:58:47 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd23825e |
7 | |
8 | games-puzzle/numptyphysics: sync live |
9 | |
10 | Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 | |
12 | .../numptyphysics/numptyphysics-9999.ebuild | 59 ++++++---------------- |
13 | 1 file changed, 15 insertions(+), 44 deletions(-) |
14 | |
15 | diff --git a/games-puzzle/numptyphysics/numptyphysics-9999.ebuild b/games-puzzle/numptyphysics/numptyphysics-9999.ebuild |
16 | index e9ab6b1a7e7..738b4f61763 100644 |
17 | --- a/games-puzzle/numptyphysics/numptyphysics-9999.ebuild |
18 | +++ b/games-puzzle/numptyphysics/numptyphysics-9999.ebuild |
19 | @@ -3,67 +3,38 @@ |
20 | |
21 | EAPI=7 |
22 | |
23 | -inherit git-r3 gnome2-utils toolchain-funcs |
24 | +inherit toolchain-funcs xdg |
25 | |
26 | DESCRIPTION="Crayon Physics-like drawing puzzle game using the same excellent Box2D engine" |
27 | HOMEPAGE="https://github.com/thp/numptyphysics" |
28 | -EGIT_REPO_URI="https://github.com/thp/numptyphysics" |
29 | -# This is only the SRC_URI for the user levels. The code is in git repo. |
30 | -SRC_URI="user-levels? ( |
31 | - http://numptyphysics.garage.maemo.org/levels/butelo/butelo.npz |
32 | - http://numptyphysics.garage.maemo.org/levels/catalyst/catalyst.npz |
33 | - http://numptyphysics.garage.maemo.org/levels/christeck/christeck.npz |
34 | - http://numptyphysics.garage.maemo.org/levels/dneary/dneary.npz |
35 | - http://numptyphysics.garage.maemo.org/levels/gnuton/gnuton.npz |
36 | - http://numptyphysics.garage.maemo.org/levels/gudger/gudger.npz |
37 | - http://numptyphysics.garage.maemo.org/levels/guile/guile.npz |
38 | - http://numptyphysics.garage.maemo.org/levels/hurd/hurd.npz |
39 | - http://numptyphysics.garage.maemo.org/levels/ioan/ioan.npz |
40 | - http://numptyphysics.garage.maemo.org/levels/jhoff80/jhoff80.npz |
41 | - http://numptyphysics.garage.maemo.org/levels/leonet/leonet.npz |
42 | - http://numptyphysics.garage.maemo.org/levels/melvin/melvin.npz |
43 | - http://numptyphysics.garage.maemo.org/levels/noodleman/noodleman.npz |
44 | - http://numptyphysics.garage.maemo.org/levels/papky/papky.npz |
45 | - http://numptyphysics.garage.maemo.org/levels/perli/perli.npz |
46 | - http://numptyphysics.garage.maemo.org/levels/qole/qole.npz |
47 | - http://numptyphysics.garage.maemo.org/levels/siminz/siminz.npz |
48 | - http://numptyphysics.garage.maemo.org/levels/szymanowski/szymanowski.npz |
49 | - http://numptyphysics.garage.maemo.org/levels/therealbubba/therealbubba.npz |
50 | - http://numptyphysics.garage.maemo.org/levels/werre/werre.npz |
51 | - http://numptyphysics.garage.maemo.org/levels/zeez/zeez.npz |
52 | -)" |
53 | |
54 | -LICENSE="GPL-3+" |
55 | +if [[ ${PV} == 9999 ]]; then |
56 | + inherit git-r3 |
57 | + EGIT_REPO_URI="https://github.com/thp/numptyphysics.git" |
58 | +else |
59 | + SRC_URI="https://github.com/thp/numptyphysics/archive/${PV}.tar.gz -> ${P}.tar.gz" |
60 | + KEYWORDS="~amd64" |
61 | +fi |
62 | + |
63 | +LICENSE="BSD GPL-3+ ZLIB" |
64 | SLOT="0" |
65 | -IUSE="+user-levels" |
66 | |
67 | RDEPEND=" |
68 | dev-libs/glib:2 |
69 | media-libs/libsdl2[opengl,video] |
70 | media-libs/sdl2-image[png] |
71 | media-libs/sdl2-ttf |
72 | - virtual/opengl |
73 | -" |
74 | + virtual/opengl" |
75 | DEPEND="${RDEPEND}" |
76 | BDEPEND="virtual/pkgconfig" |
77 | |
78 | PATCHES=( |
79 | - "${FILESDIR}"/${PN}-0.3.5-gentoo.patch |
80 | + "${FILESDIR}"/${PN}-0.3.8-empty-tr.patch |
81 | + "${FILESDIR}"/${PN}-0.3.8-respect-flags.patch |
82 | ) |
83 | |
84 | src_compile() { |
85 | - tc-export CC CXX |
86 | - emake |
87 | -} |
88 | - |
89 | -pkg_preinst() { |
90 | - gnome2_icon_savelist |
91 | -} |
92 | - |
93 | -pkg_postinst() { |
94 | - gnome2_icon_cache_update |
95 | -} |
96 | + tc-export AR CC CXX PKG_CONFIG RANLIB |
97 | |
98 | -pkg_postrm() { |
99 | - gnome2_icon_cache_update |
100 | + emake V=1 |
101 | } |