Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/cannonsmash/
Date: Tue, 01 May 2018 19:37:49
Message-Id: 1525203344.67326f28f7ae1471c3db2598cc1df4b684b8f6be.pacho@gentoo
1 commit: 67326f28f7ae1471c3db2598cc1df4b684b8f6be
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 1 18:19:30 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue May 1 19:35:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67326f28
7
8 games-simulation/cannonsmash: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 .../cannonsmash/cannonsmash-0.6.6.ebuild | 68 ----------------------
13 1 file changed, 68 deletions(-)
14
15 diff --git a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild b/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
16 deleted file mode 100644
17 index 35d4eb916f4..00000000000
18 --- a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
19 +++ /dev/null
20 @@ -1,68 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -inherit eutils games
26 -
27 -MY_OGG=danslatristesse2-48.ogg
28 -DESCRIPTION="3D tabletennis game"
29 -HOMEPAGE="http://cannonsmash.sourceforge.net/"
30 -SRC_URI="mirror://sourceforge/${PN}/csmash-${PV}.tar.gz
31 - vorbis? ( http://nan.p.utmc.or.jp/${MY_OGG} )"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~x86"
36 -IUSE="vorbis nls"
37 -
38 -RDEPEND="virtual/opengl
39 - virtual/glu
40 - media-libs/libsdl[sound,video]
41 - media-libs/sdl-mixer[vorbis?]
42 - media-libs/sdl-image[jpeg,png]
43 - x11-libs/gtk+:2
44 - nls? ( virtual/libintl )"
45 -DEPEND="${RDEPEND}
46 - virtual/pkgconfig
47 - nls? ( sys-devel/gettext )"
48 -
49 -S=${WORKDIR}/csmash-${PV}
50 -
51 -src_unpack() {
52 - unpack csmash-${PV}.tar.gz
53 -}
54 -
55 -src_prepare() {
56 - epatch \
57 - "${FILESDIR}"/${P}-x-inc.patch \
58 - "${FILESDIR}"/${P}-sizeof-cast.patch \
59 - "${FILESDIR}"/${P}-gcc41.patch \
60 - "${FILESDIR}"/${P}-flags.patch
61 - if use vorbis ; then
62 - sed -i \
63 - -e "s:${MY_OGG}:${GAMES_DATADIR}/csmash/${MY_OGG}:" ttinc.h \
64 - || die "sed failed"
65 - fi
66 -}
67 -
68 -src_configure() {
69 - egamesconf \
70 - $(use_enable nls) \
71 - --datadir="${GAMES_DATADIR_BASE}"
72 -}
73 -
74 -src_compile() {
75 - emake \
76 - localedir="/usr/share"
77 -}
78 -
79 -src_install() {
80 - default
81 - if use vorbis ; then
82 - insinto "${GAMES_DATADIR}"/csmash
83 - doins "${DISTDIR}"/${MY_OGG}
84 - fi
85 - newicon win32/orange.ico ${PN}.ico
86 - make_desktop_entry csmash "Cannon Smash" /usr/share/pixmaps/${PN}.ico
87 - prepgamesdirs
88 -}