* [gentoo-commits] repo/gentoo:master commit in: games-simulation/cannonsmash/
@ 2018-05-01 19:37 Pacho Ramos
0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2018-05-01 19:37 UTC (permalink / raw
To: gentoo-commits
commit: 67326f28f7ae1471c3db2598cc1df4b684b8f6be
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May 1 18:19:30 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May 1 19:35:44 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67326f28
games-simulation/cannonsmash: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
.../cannonsmash/cannonsmash-0.6.6.ebuild | 68 ----------------------
1 file changed, 68 deletions(-)
diff --git a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild b/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
deleted file mode 100644
index 35d4eb916f4..00000000000
--- a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-MY_OGG=danslatristesse2-48.ogg
-DESCRIPTION="3D tabletennis game"
-HOMEPAGE="http://cannonsmash.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/csmash-${PV}.tar.gz
- vorbis? ( http://nan.p.utmc.or.jp/${MY_OGG} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="vorbis nls"
-
-RDEPEND="virtual/opengl
- virtual/glu
- media-libs/libsdl[sound,video]
- media-libs/sdl-mixer[vorbis?]
- media-libs/sdl-image[jpeg,png]
- x11-libs/gtk+:2
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/csmash-${PV}
-
-src_unpack() {
- unpack csmash-${PV}.tar.gz
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-x-inc.patch \
- "${FILESDIR}"/${P}-sizeof-cast.patch \
- "${FILESDIR}"/${P}-gcc41.patch \
- "${FILESDIR}"/${P}-flags.patch
- if use vorbis ; then
- sed -i \
- -e "s:${MY_OGG}:${GAMES_DATADIR}/csmash/${MY_OGG}:" ttinc.h \
- || die "sed failed"
- fi
-}
-
-src_configure() {
- egamesconf \
- $(use_enable nls) \
- --datadir="${GAMES_DATADIR_BASE}"
-}
-
-src_compile() {
- emake \
- localedir="/usr/share"
-}
-
-src_install() {
- default
- if use vorbis ; then
- insinto "${GAMES_DATADIR}"/csmash
- doins "${DISTDIR}"/${MY_OGG}
- fi
- newicon win32/orange.ico ${PN}.ico
- make_desktop_entry csmash "Cannon Smash" /usr/share/pixmaps/${PN}.ico
- prepgamesdirs
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-01 19:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-01 19:37 [gentoo-commits] repo/gentoo:master commit in: games-simulation/cannonsmash/ Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox