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-strategy/wargus-data/
Date: Sun, 29 Apr 2018 13:07:12
Message-Id: 1525007211.d16dd3ffdb4fd8aad698ce661a4690c69529c9c6.pacho@gentoo
1 commit: d16dd3ffdb4fd8aad698ce661a4690c69529c9c6
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 13:05:28 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 13:06:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16dd3ff
7
8 games-strategy/wargus-data: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-strategy/wargus-data/wargus-data-0.ebuild | 45 -------------------------
13 1 file changed, 45 deletions(-)
14
15 diff --git a/games-strategy/wargus-data/wargus-data-0.ebuild b/games-strategy/wargus-data/wargus-data-0.ebuild
16 deleted file mode 100644
17 index 6e64f009ed1..00000000000
18 --- a/games-strategy/wargus-data/wargus-data-0.ebuild
19 +++ /dev/null
20 @@ -1,45 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -inherit cdrom games
26 -
27 -DESCRIPTION="Warcraft II data for wargus (needs DOS CD)"
28 -HOMEPAGE="http://wargus.sourceforge.net/"
29 -SRC_URI=""
30 -
31 -LICENSE="all-rights-reserved"
32 -SLOT="0"
33 -KEYWORDS="~amd64 ~x86"
34 -IUSE=""
35 -
36 -# wargus is needed for wartool (bug #578340)
37 -DEPEND="${RDEPEND}
38 - games-strategy/wargus
39 - media-sound/cdparanoia
40 - media-sound/timidity++
41 - media-video/ffmpeg2theora"
42 -# wrt bug #419331
43 -RESTRICT="userpriv"
44 -
45 -S=${WORKDIR}
46 -
47 -src_prepare() {
48 - export CDROM_NAME="WARCRAFT2"
49 - cdrom_get_cds data/rezdat.war
50 -}
51 -
52 -src_compile() {
53 - # cdparanoia needs write acces to the cdrom device
54 - # this fixes sandbox violation wrt #418051
55 - local save_sandbox_write=${SANDBOX_WRITE}
56 - addwrite /dev
57 - "${GAMES_BINDIR}"/wartool -m -v -r "${CDROM_ROOT}"/data "${S}"/ || die
58 - SANDBOX_WRITE=${save_sandbox_write}
59 -}
60 -
61 -src_install() {
62 - insinto "${GAMES_DATADIR}"/stratagus/wargus
63 - doins -r *
64 - prepgamesdirs
65 -}