Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-sports/xmoto/
Date: Mon, 17 Aug 2020 22:03:44
Message-Id: 1597701632.2141a0d764ff619039ca0ef7a4e94cfeb5d41511.chewi@gentoo
1 commit: 2141a0d764ff619039ca0ef7a4e94cfeb5d41511
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 17 22:00:32 2020 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 17 22:00:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2141a0d7
7
8 games-sports/xmoto: Drop old 0.6.1
9
10 Package-Manager: Portage-3.0.3, Repoman-2.3.23
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 games-sports/xmoto/xmoto-0.6.1.ebuild | 62 -----------------------------------
14 1 file changed, 62 deletions(-)
15
16 diff --git a/games-sports/xmoto/xmoto-0.6.1.ebuild b/games-sports/xmoto/xmoto-0.6.1.ebuild
17 deleted file mode 100644
18 index c09b474d57f..00000000000
19 --- a/games-sports/xmoto/xmoto-0.6.1.ebuild
20 +++ /dev/null
21 @@ -1,62 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -inherit cmake
28 -
29 -DESCRIPTION="A challenging 2D motocross platform game, where physics play an important role"
30 -HOMEPAGE="https://xmoto.tuxfamily.org"
31 -SRC_URI="https://github.com/xmoto/xmoto/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 -
33 -LICENSE="GPL-2+"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~x86"
36 -IUSE="double-precision +nls"
37 -
38 -RDEPEND="app-arch/bzip2
39 - dev-db/sqlite:3
40 - dev-games/ode[double-precision=]
41 - dev-lang/lua:0[deprecated]
42 - dev-libs/libxdg-basedir
43 - dev-libs/libxml2
44 - media-fonts/dejavu
45 - media-libs/libpng:0=
46 - media-libs/libsdl[joystick,opengl]
47 - media-libs/sdl-mixer[vorbis]
48 - media-libs/sdl-net
49 - media-libs/sdl-ttf
50 - net-misc/curl
51 - sys-libs/zlib:=
52 - virtual/jpeg:0
53 - virtual/glu
54 - virtual/opengl
55 - nls? ( virtual/libintl )"
56 -DEPEND="${RDEPEND}"
57 -BDEPEND="app-arch/xz-utils
58 - nls? ( sys-devel/gettext )"
59 -
60 -src_prepare() {
61 - sed -e "/^Icon/s/.xpm//" -i extra/xmoto.desktop || die
62 - sed -e "/add_subdirectory.*\(bzip2\|libccd\|lua\|ode\|xdgbasedir\)/d" -i src/CMakeLists.txt || die
63 - rm -rf vendor/{bzip2,lua,ode,xdgbasedir} || die
64 -
65 - cmake_src_prepare
66 -}
67 -
68 -src_configure() {
69 - local mycmakeargs=(
70 - -DUSE_GETTEXT=$(usex nls)
71 - -DOpenGL_GL_PREFERENCE=GLVND
72 - )
73 -
74 - cmake_src_configure
75 -}
76 -
77 -src_install() {
78 - cmake_src_install
79 -
80 - rm -f "${ED}/usr/share/xmoto"/Textures/Fonts/DejaVuSans{Mono,}.ttf || die
81 - dosym ../../../fonts/dejavu/DejaVuSans.ttf /usr/share/xmoto/Textures/Fonts/DejaVuSans.ttf
82 - dosym ../../../fonts/dejavu/DejaVuSansMono.ttf /usr/share/xmoto/Textures/Fonts/DejaVuSansMono.ttf
83 -}