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/naev/
Date: Wed, 02 May 2018 19:28:37
Message-Id: 1525289284.a0b3922d1286d2b37a30d9e6b6283436e85f8c70.pacho@gentoo
1 commit: a0b3922d1286d2b37a30d9e6b6283436e85f8c70
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 2 18:40:32 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed May 2 19:28:04 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b3922d
7
8 games-strategy/naev: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-strategy/naev/naev-0.6.1.ebuild | 81 -----------------------------------
13 1 file changed, 81 deletions(-)
14
15 diff --git a/games-strategy/naev/naev-0.6.1.ebuild b/games-strategy/naev/naev-0.6.1.ebuild
16 deleted file mode 100644
17 index 35e6898d296..00000000000
18 --- a/games-strategy/naev/naev-0.6.1.ebuild
19 +++ /dev/null
20 @@ -1,81 +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 flag-o-matic gnome2-utils games
26 -
27 -DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
28 -HOMEPAGE="http://blog.naev.org/"
29 -SRC_URI="mirror://sourceforge/naev/${P}.tar.bz2
30 - mirror://sourceforge/naev/ndata-${PV}.zip"
31 -
32 -LICENSE="GPL-2 GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0"
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~x86"
35 -IUSE="debug +mixer +openal"
36 -
37 -RDEPEND="media-libs/libsdl2[X,sound,video]
38 - dev-libs/libzip
39 - dev-libs/libxml2
40 - >=media-libs/freetype-2
41 - >=media-libs/libvorbis-1.2.1
42 - >=media-libs/libpng-1.2:0
43 - virtual/glu
44 - virtual/opengl
45 - dev-lang/lua:0
46 - mixer? ( media-libs/sdl2-mixer )
47 - openal? ( media-libs/openal )"
48 -DEPEND="${RDEPEND}
49 - virtual/pkgconfig"
50 -
51 -src_unpack() {
52 - unpack ${P}.tar.bz2
53 -}
54 -
55 -src_configure() {
56 - egamesconf \
57 - --docdir=/usr/share/doc/${PF} \
58 - --enable-lua=shared \
59 - $(use_enable debug) \
60 - $(use_with openal) \
61 - $(use_with mixer sdlmixer)
62 -}
63 -
64 -src_compile() {
65 - emake V=1
66 -}
67 -
68 -src_install() {
69 - emake \
70 - DESTDIR="${D}" \
71 - appicondir=/usr/share/pixmaps \
72 - appdatadir=/usr/share/appdata \
73 - Graphicsdir=/usr/share/applications \
74 - install
75 -
76 - insinto "${GAMES_DATADIR}"/${PN}
77 - newins "${DISTDIR}"/ndata-${PV}.zip ndata
78 -
79 - local res
80 - for res in 16 32 64 128; do
81 - newicon -s ${res} extras/logos/logo${res}.png naev.png
82 - done
83 -
84 - rm -f "${D}"/usr/share/doc/${PF}/LICENSE
85 -
86 - prepgamesdirs
87 -}
88 -
89 -pkg_preinst() {
90 - games_pkg_preinst
91 - gnome2_icon_savelist
92 -}
93 -
94 -pkg_postinst() {
95 - games_pkg_postinst
96 - gnome2_icon_cache_update
97 -}
98 -
99 -pkg_postrm() {
100 - gnome2_icon_cache_update
101 -}