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/torustrooperpure/
Date: Thu, 05 Mar 2020 21:19:09
Message-Id: 1583440815.8007d62e9c05b7057741a4b84faa6f11bbeb0073.winterheart@gentoo
1 commit: 8007d62e9c05b7057741a4b84faa6f11bbeb0073
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 5 20:40:15 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Thu Mar 5 20:40:15 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8007d62e
7
8 games-action/torustrooperpure: remove package
9
10 Unavalable sources.
11 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
12
13 games-action/torustrooperpure/metadata.xml | 8 ---
14 .../torustrooperpure/torustrooperpure-0.2.ebuild | 72 ----------------------
15 2 files changed, 80 deletions(-)
16
17 diff --git a/games-action/torustrooperpure/metadata.xml b/games-action/torustrooperpure/metadata.xml
18 deleted file mode 100644
19 index 5d0ede2..0000000
20 --- a/games-action/torustrooperpure/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/torustrooperpure/torustrooperpure-0.2.ebuild b/games-action/torustrooperpure/torustrooperpure-0.2.ebuild
33 deleted file mode 100644
34 index 2047121..0000000
35 --- a/games-action/torustrooperpure/torustrooperpure-0.2.ebuild
36 +++ /dev/null
37 @@ -1,72 +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 -MY_PDV=0_22
50 -MY_PDPV=0.22
51 -
52 -DESCRIPTION="Brake down and Burn up! original:Torus Trooper (ABA)"
53 -HOMEPAGE="http://www.mb.ccnw.ne.jp/hiz/game/tt/index_en.html"
54 -SRC_URI="http://www.asahi-net.or.jp/~cs8k-cyu/windows/${MY_PN}${MY_PDV}.zip
55 - mirror://debian/pool/main/t/${MY_PD}/${MY_PD}_${MY_PDPV}.dfsg1-5.diff.gz"
56 -
57 -LICENSE="BSD"
58 -SLOT="0"
59 -KEYWORDS="~ppc ~x86"
60 -IUSE=""
61 -
62 -RDEPEND="media-libs/libsdl
63 - media-libs/mesa
64 - media-libs/sdl-mixer
65 - dev-libs/libbulletml"
66 -DEPEND="${RDEPEND}"
67 -
68 -S=${WORKDIR}/${MY_PN}
69 -
70 -src_prepare(){
71 - # using frostworks patches with debian's cleanups and minor patches
72 - epatch "${WORKDIR}"/${MY_PD}_${MY_PDPV}.dfsg1-5.diff
73 - sed -i -e "s:b/::g" -i "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/fixes.patch
74 - sed -i -e "s:src-hiz:src:g" -i "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/fixes.patch
75 - sed -i -e "s:torus-trooper-pure:${PN}:g" -i "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/fixes.patch
76 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/fixes.patch
77 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/windowed.patch
78 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/dotfile.patch
79 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/gdc-0.24-semantics-for-version.patch
80 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/window-resizing.patch
81 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/save-score-444372.patch
82 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/level-select-444948.patch
83 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/avoid-segfault-when-sdl-fails.patch
84 - epatch "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/patches/torus-trooper-pure.patch
85 - sed -i \
86 - -e 's:"\(images/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/util/sdl/texture.d \
87 - -e 's:"\(sounds/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/util/sdl/sound.d \
88 - -e 's:"\(barrage[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/tt/barrage.d \
89 - || die "sed failed"
90 - rm "${S}"/Makefile
91 - mv "${S}"/Makefile.pure "${S}"/Makefile
92 -}
93 -
94 -src_install() {
95 - dogamesbin ${PN}
96 -
97 - local datadir="${GAMES_DATADIR}"/${PN}
98 - dodir ${datadir}
99 - insinto "${GAMES_DATADIR}"/${PN}
100 - doins -r barrage images sounds || die
101 - newicon "${S}"/${MY_PD}-${MY_PDPV}.dfsg1/debian/${MY_PD}.xpm ${PN}.xpm
102 - make_desktop_entry ${PN} ${PN}
103 - dodoc readme*
104 - prepgamesdirs
105 -}
106 -
107 -pkg_postinst() {
108 - games_pkg_postinst
109 -}