Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/torustrooper/
Date: Thu, 05 Mar 2020 21:19:06
Message-Id: 1583440747.8bac36ab6b1df42bebbfc669bad1fc9db764419d.winterheart@gentoo
1 commit: 8bac36ab6b1df42bebbfc669bad1fc9db764419d
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 5 20:39:07 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Thu Mar 5 20:39:07 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8bac36ab
7
8 games-action/torustrooper: remove package
9
10 Unavalable sources.
11 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
12
13 games-action/torustrooper/metadata.xml | 8 ---
14 games-action/torustrooper/torustrooper-0.22.ebuild | 66 ----------------------
15 2 files changed, 74 deletions(-)
16
17 diff --git a/games-action/torustrooper/metadata.xml b/games-action/torustrooper/metadata.xml
18 deleted file mode 100644
19 index 5d0ede2..0000000
20 --- a/games-action/torustrooper/metadata.xml
21 +++ /dev/null
22 @@ -1,8 +0,0 @@
23 -<?xml version="1.0" encoding="UTF-8"?>
24 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 -<pkgmetadata>
26 -<maintainer>
27 - <email>frostworks@×××.de</email>
28 - <name>Marcel Unbehaun</name>
29 -</maintainer>
30 -</pkgmetadata>
31
32 diff --git a/games-action/torustrooper/torustrooper-0.22.ebuild b/games-action/torustrooper/torustrooper-0.22.ebuild
33 deleted file mode 100644
34 index 6a9e40e..0000000
35 --- a/games-action/torustrooper/torustrooper-0.22.ebuild
36 +++ /dev/null
37 @@ -1,66 +0,0 @@
38 -# Copyright 1999-2009 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -# $Header: $
41 -
42 -EAPI="2"
43 -
44 -inherit d-games
45 -
46 -MY_PN=tt
47 -MY_PV=${PV//./_}
48 -MY_PD=torus-trooper
49 -
50 -DESCRIPTION="Speed! More speed! Speeding ship sailing through barrage, 'Torus Trooper'"
51 -HOMEPAGE="http://www.asahi-net.or.jp/~cs8k-cyu/windows/tt_e.html"
52 -SRC_URI="http://www.asahi-net.or.jp/~cs8k-cyu/windows/${MY_PN}${MY_PV}.zip
53 - mirror://debian/pool/main/t/${MY_PD}/${MY_PD}_${PV}.dfsg1-5.diff.gz"
54 -
55 -LICENSE="BSD"
56 -SLOT="0"
57 -KEYWORDS="~ppc ~x86"
58 -IUSE=""
59 -
60 -RDEPEND="media-libs/libsdl
61 - media-libs/mesa
62 - media-libs/sdl-mixer
63 - dev-libs/libbulletml"
64 -DEPEND="${RDEPEND}"
65 -
66 -S=${WORKDIR}/${MY_PN}
67 -
68 -src_prepare(){
69 - # using frostworks patches with debian's cleanups and minor patches
70 - epatch "${WORKDIR}"/${MY_PD}_${PV}.dfsg1-5.diff
71 - sed -i -e "s:b/::g" -i "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/fixes.patch
72 - sed -i -e "s:${MY_PD}:${PN}:g" -i "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/fixes.patch
73 - epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/fixes.patch
74 - epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/windowed.patch
75 - epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/dotfile.patch
76 - epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/gdc-0.24-semantics-for-version.patch
77 - epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/window-resizing.patch
78 - epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/save-score-444372.patch
79 - epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/level-select-444948.patch
80 - epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/avoid-segfault-when-sdl-fails.patch
81 - sed -i \
82 - -e 's:"\(images/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/util/sdl/texture.d \
83 - -e 's:"\(sounds/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/util/sdl/sound.d \
84 - -e 's:"\(barrage[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/tt/barrage.d \
85 - || die "sed failed"
86 -}
87 -
88 -src_install() {
89 - dogamesbin ${PN}
90 -
91 - local datadir="${GAMES_DATADIR}"/${PN}
92 - dodir ${datadir}
93 - insinto "${GAMES_DATADIR}"/${PN}
94 - doins -r barrage images sounds || die
95 - newicon "${S}"/${MY_PD}-${PV}.dfsg1/debian/${MY_PD}.xpm ${PN}.xpm
96 - make_desktop_entry ${PN} ${PN}
97 - dodoc readme*
98 - prepgamesdirs
99 -}
100 -
101 -pkg_postinst() {
102 - games_pkg_postinst
103 -}