Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/crrcsim/files/, games-simulation/crrcsim/
Date: Sat, 28 Jan 2017 00:03:30
Message-Id: 1485561784.0461da6f251ffac1ec0a91e117508324c3d0a4e3.xmw@gentoo
1 commit: 0461da6f251ffac1ec0a91e117508324c3d0a4e3
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 28 00:03:04 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 28 00:03:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0461da6f
7
8 games-simulation/crrcsim: Drop old versions.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 games-simulation/crrcsim/Manifest | 1 -
13 games-simulation/crrcsim/crrcsim-0.9.12-r1.ebuild | 60 ---------------------
14 games-simulation/crrcsim/crrcsim-0.9.12-r2.ebuild | 63 ----------------------
15 .../crrcsim/files/crrcsim-buildsystem.patch | 25 ---------
16 4 files changed, 149 deletions(-)
17
18 diff --git a/games-simulation/crrcsim/Manifest b/games-simulation/crrcsim/Manifest
19 index d55ace0..2a090cd 100644
20 --- a/games-simulation/crrcsim/Manifest
21 +++ b/games-simulation/crrcsim/Manifest
22 @@ -1,2 +1 @@
23 -DIST crrcsim-0.9.12.tar.gz 7355827 SHA256 2d166aec9ff4394a0252368d4cfcac5ba4ab8a29f58f99cd1649721a8f65a3fb SHA512 53c4a530922d58ca0211a5a3171d927c9c9161139c63e73d8dbc602e0aa1c259ef0f3ba712b30a71dc357889bbf59fa76888315bdcd264e0d29307e66b70b00a WHIRLPOOL 3f177ae208e0f70b0ebdc9aa4e1e200ff73bdf656fecb67c6ffe7a8e303bae4ce8caab4c4e01e52371c42ae389574e9c821dcb5c4afb4dc32b94661add18b7ee
24 DIST crrcsim-0.9.13.tar.gz 8337392 SHA256 abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698 SHA512 b687837e07abc07606404d920288984abe7e304afb69158fd840d83bcfe1e9acc4afd8462c0c759df67d50a15ca3753eaf48c4526b201e64a2d641fa3aa8c1ab WHIRLPOOL 2af5b8aa79f8e1edead4ff982392314d659e6f5fbb31f0a4438ecc986898c6026e05d9dc417c6ff88a7a3bba9d10b122e3bf09b8bb274354fe4e531bd86f7b2f
25
26 diff --git a/games-simulation/crrcsim/crrcsim-0.9.12-r1.ebuild b/games-simulation/crrcsim/crrcsim-0.9.12-r1.ebuild
27 deleted file mode 100644
28 index ab3711e..00000000
29 --- a/games-simulation/crrcsim/crrcsim-0.9.12-r1.ebuild
30 +++ /dev/null
31 @@ -1,60 +0,0 @@
32 -# Copyright 1999-2014 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -WANT_AUTOMAKE="1.10"
38 -inherit autotools eutils gnome2-utils games
39 -
40 -DESCRIPTION="model-airplane flight simulation program"
41 -HOMEPAGE="https://sourceforge.net/projects/crrcsim/"
42 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="portaudio"
48 -
49 -RDEPEND="sci-mathematics/cgal
50 - media-libs/plib
51 - media-libs/libsdl[X,sound,joystick,opengl,video]
52 - portaudio? ( media-libs/portaudio )"
53 -DEPEND="${RDEPEND}"
54 -
55 -src_prepare() {
56 - epatch "${FILESDIR}"/${PN}-buildsystem.patch
57 - if has_version "sci-mathematics/cgal[gmp(+)]" ; then
58 - epatch "${FILESDIR}"/${PN}-cgal_gmp.patch
59 - fi
60 - eautoreconf
61 -}
62 -
63 -src_configure() {
64 - egamesconf \
65 - --datarootdir="${EPREFIX%/}/usr/share" \
66 - --datadir="${GAMES_DATADIR}" \
67 - --docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
68 - $(use_with portaudio)
69 -}
70 -
71 -src_install() {
72 - emake DESTDIR="${D}" install
73 - dodoc AUTHORS HISTORY NEWS README
74 - doicon -s 32 packages/icons/${PN}.png
75 - make_desktop_entry ${PN}
76 - prepgamesdirs
77 -}
78 -
79 -pkg_preinst() {
80 - games_pkg_preinst
81 - gnome2_icon_savelist
82 -}
83 -
84 -pkg_postinst() {
85 - games_pkg_postinst
86 - gnome2_icon_cache_update
87 -}
88 -
89 -pkg_postrm() {
90 - gnome2_icon_cache_update
91 -}
92
93 diff --git a/games-simulation/crrcsim/crrcsim-0.9.12-r2.ebuild b/games-simulation/crrcsim/crrcsim-0.9.12-r2.ebuild
94 deleted file mode 100644
95 index 6bd7440..00000000
96 --- a/games-simulation/crrcsim/crrcsim-0.9.12-r2.ebuild
97 +++ /dev/null
98 @@ -1,63 +0,0 @@
99 -# Copyright 1999-2016 Gentoo Foundation
100 -# Distributed under the terms of the GNU General Public License v2
101 -# $Id$
102 -
103 -EAPI=6
104 -WANT_AUTOMAKE="1.10"
105 -inherit autotools eutils gnome2-utils
106 -
107 -DESCRIPTION="model-airplane flight simulation program"
108 -HOMEPAGE="https://sourceforge.net/projects/crrcsim/"
109 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
110 -
111 -LICENSE="GPL-2"
112 -SLOT="0"
113 -KEYWORDS="~amd64 ~x86"
114 -IUSE="portaudio"
115 -
116 -RDEPEND="
117 - media-libs/libsdl[X,sound,joystick,opengl,video]
118 - media-libs/plib
119 - sci-mathematics/cgal
120 - portaudio? ( media-libs/portaudio )"
121 -DEPEND="${RDEPEND}"
122 -
123 -PATCHES=(
124 - "${FILESDIR}"/${PN}-buildsystem.patch
125 -)
126 -
127 -src_prepare() {
128 - default
129 -
130 - if has_version "sci-mathematics/cgal[gmp(+)]" ; then
131 - eapply "${FILESDIR}"/${PN}-cgal_gmp.patch
132 - fi
133 - eautoreconf
134 -}
135 -
136 -src_configure() {
137 - econf \
138 - --datadir="/usr/share" \
139 - --datarootdir="${EPREFIX%/}/usr/share" \
140 - --docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
141 - $(use_with portaudio)
142 -}
143 -
144 -src_install() {
145 - emake DESTDIR="${D}" install
146 - dodoc AUTHORS HISTORY NEWS README
147 - doicon -s 32 packages/icons/${PN}.png
148 - make_desktop_entry ${PN}
149 -}
150 -
151 -pkg_preinst() {
152 - gnome2_icon_savelist
153 -}
154 -
155 -pkg_postinst() {
156 - gnome2_icon_cache_update
157 -}
158 -
159 -pkg_postrm() {
160 - gnome2_icon_cache_update
161 -}
162
163 diff --git a/games-simulation/crrcsim/files/crrcsim-buildsystem.patch b/games-simulation/crrcsim/files/crrcsim-buildsystem.patch
164 deleted file mode 100644
165 index 3bc784d..00000000
166 --- a/games-simulation/crrcsim/files/crrcsim-buildsystem.patch
167 +++ /dev/null
168 @@ -1,25 +0,0 @@
169 ---- crrcsim-0.9.11/configure.ac
170 -+++ crrcsim-0.9.11/configure.ac
171 -@@ -79,8 +79,12 @@
172 - dnl Default is: no portaudio present
173 - portaudio=0
174 -
175 -+AC_ARG_WITH([portaudio], AS_HELP_STRING([--without-portaudio], [Build without portaudio library (default: test)]))
176 -+
177 -+AS_IF([test "x$with_portaudio" != "xno"], [
178 - dnl Check for the Portaudio header file
179 - AC_CHECK_HEADER([portaudio.h])
180 -+])
181 -
182 - if (test "x$ac_cv_header_portaudio_h" = "xyes"); then
183 - dnl Check for Portaudio 18
184 ---- crrcsim-0.9.12/locale/Makefile.am
185 -+++ crrcsim-0.9.12/locale/Makefile.am
186 -@@ -1,7 +1,5 @@
187 - # Makefile.am for "/locale"
188 -
189 --localedir = $(datadir)/locale
190 --
191 - nobase_locale_DATA = fr/LC_MESSAGES/crrcsim.mo \
192 - de/LC_MESSAGES/crrcsim.mo \
193 - it/LC_MESSAGES/crrcsim.mo