Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/enigma/
Date: Tue, 29 Dec 2015 07:41:29
Message-Id: 1451374846.ea96b5143b0b0a078d29538e393414ab34c2ea49.mr_bones_@gentoo
1 commit: ea96b5143b0b0a078d29538e393414ab34c2ea49
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 04:01:21 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 07:40:46 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea96b514
7
8 old
9
10 Package-Manager: portage-2.2.24
11
12 games-puzzle/enigma/enigma-1.21-r1.ebuild | 74 -------------------------------
13 1 file changed, 74 deletions(-)
14
15 diff --git a/games-puzzle/enigma/enigma-1.21-r1.ebuild b/games-puzzle/enigma/enigma-1.21-r1.ebuild
16 deleted file mode 100644
17 index 3148edc..0000000
18 --- a/games-puzzle/enigma/enigma-1.21-r1.ebuild
19 +++ /dev/null
20 @@ -1,74 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -inherit autotools eutils gnome2-utils games
27 -
28 -DESCRIPTION="puzzle game similar to Oxyd"
29 -HOMEPAGE="http://www.nongnu.org/enigma/"
30 -SRC_URI="mirror://sourceforge/enigma-game/${P}.tar.gz"
31 -
32 -LICENSE="GPL-2+"
33 -SLOT="0"
34 -KEYWORDS="amd64 ~ppc x86"
35 -IUSE="nls"
36 -
37 -COMMON_DEPS="media-libs/sdl-ttf
38 - media-libs/libsdl[video]
39 - media-libs/sdl-mixer
40 - media-libs/sdl-image[jpeg,png]
41 - media-libs/libpng:0=
42 - sys-libs/zlib
43 - net-misc/curl
44 - || ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] )
45 - net-libs/enet
46 - nls? ( virtual/libintl )"
47 -DEPEND="${COMMON_DEPS}
48 - sys-devel/gettext"
49 -RDEPEND="${COMMON_DEPS}
50 - media-fonts/dejavu
51 - x11-misc/xdg-utils"
52 -
53 -src_prepare() {
54 - cp /usr/share/gettext/config.rpath .
55 - epatch "${FILESDIR}"/${P}-build.patch
56 - sed -i \
57 - -e "s:DOCDIR:\"/usr/share/doc/${P}/html\":" \
58 - src/main.cc || die
59 - eautoreconf
60 -}
61 -
62 -src_configure() {
63 - egamesconf \
64 - --with-system-enet \
65 - $(use_enable nls)
66 -}
67 -
68 -src_install() {
69 - DOCS="ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING" \
70 - default
71 - dosym \
72 - /usr/share/fonts/dejavu/DejaVuSansCondensed.ttf \
73 - "${GAMES_DATADIR}"/${PN}/fonts/DejaVuSansCondensed.ttf
74 - dosym \
75 - /usr/share/fonts/dejavu/DejaVuSans.ttf \
76 - "${GAMES_DATADIR}"/${PN}/fonts/vera_sans.ttf
77 - dohtml -r doc/*
78 - doman doc/enigma.6
79 - prepgamesdirs
80 -}
81 -
82 -pkg_preinst() {
83 - games_pkg_preinst
84 - gnome2_icon_savelist
85 -}
86 -
87 -pkg_postinst() {
88 - games_pkg_postinst
89 - gnome2_icon_cache_update
90 -}
91 -
92 -pkg_postrm() {
93 - gnome2_icon_cache_update
94 -}