Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/armagetronad: metadata.xml ChangeLog armagetronad-0.2.8.3.2.ebuild Manifest
Date: Thu, 07 Nov 2013 18:48:13
Message-Id: 20131107184805.7C3622004B@flycatcher.gentoo.org
1 hasufell 13/11/07 18:48:05
2
3 Added: metadata.xml ChangeLog
4 armagetronad-0.2.8.3.2.ebuild Manifest
5 Log:
6 initial import wrt #481516
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.3 games-action/armagetronad/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/metadata.xml?r1=1.2&r2=1.3
16
17
18
19
20 1.23 games-action/armagetronad/ChangeLog
21
22 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/ChangeLog?rev=1.23&view=markup
23 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/ChangeLog?rev=1.23&content-type=text/plain
24 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/ChangeLog?r1=1.22&r2=1.23
25
26
27
28
29 1.1 games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild
30
31 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild?rev=1.1&view=markup
32 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild?rev=1.1&content-type=text/plain
33
34 Index: armagetronad-0.2.8.3.2.ebuild
35 ===================================================================
36 # Copyright 1999-2013 Gentoo Foundation
37 # Distributed under the terms of the GNU General Public License v2
38 # $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild,v 1.1 2013/11/07 18:48:05 hasufell Exp $
39
40 EAPI=5
41
42 inherit eutils gnome2-utils games
43
44 DESCRIPTION="Fast-paced 3D lightcycle game based on Tron"
45 HOMEPAGE="http://armagetronad.org/"
46 SRC_URI="http://launchpad.net/armagetronad/${PV:0:5}/${PV}/+download/armagetronad-${PV}.src.tar.bz2"
47
48 LICENSE="GPL-2"
49 SLOT="0"
50 KEYWORDS="~amd64 ~x86"
51 IUSE="dedicated sound"
52
53 RDEPEND="
54 dev-libs/libxml2
55 !dedicated? (
56 media-libs/libpng:0
57 media-libs/sdl-image[jpeg,png]
58 virtual/glu
59 virtual/opengl
60 sound? (
61 media-libs/libsdl[X,audio,opengl,video]
62 media-libs/sdl-mixer
63 )
64 !sound? ( media-libs/libsdl[X,opengl,video] )
65 )"
66 DEPEND="${RDEPEND}"
67
68 src_prepare() {
69 sed -i \
70 -e 's/"png_check_sig"/"png_sig_cmp"/' \
71 -e 's#aa_docdir=.*$#aa_docdir=${docdir}#' \
72 configure || die
73 }
74
75 src_configure() {
76 # --enable-games just messes up paths
77 egamesconf \
78 --docdir=/usr/share/doc/${PF} \
79 $(use_enable dedicated) \
80 $(use_enable sound music) \
81 --disable-sysinstall \
82 --disable-useradd \
83 --disable-uninstall \
84 --disable-games
85 }
86
87 src_install() {
88 emake -j1 DESTDIR="${D}" install
89 einstalldocs
90
91 # misplaced desktop-file/icons
92 rm -rf "${ED%/}${GAMES_DATADIR}"/armagetronad/desktop
93 doicon -s 48 desktop/icons/large/armagetronad.png
94 make_desktop_entry ${PN}
95
96 prepgamesdirs
97 }
98
99 pkg_preinst() {
100 games_pkg_preinst
101 gnome2_icon_savelist
102 }
103
104 pkg_postinst() {
105 games_pkg_postinst
106 gnome2_icon_cache_update
107 }
108
109 pkg_postrm() {
110 gnome2_icon_cache_update
111 }
112
113
114
115 1.36 games-action/armagetronad/Manifest
116
117 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/Manifest?rev=1.36&view=markup
118 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/Manifest?rev=1.36&content-type=text/plain
119 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/armagetronad/Manifest?r1=1.35&r2=1.36