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-arcade/berusky: ChangeLog berusky-1.6.ebuild
Date: Wed, 30 Jan 2013 16:12:11
Message-Id: 20130130161206.9DEC12171D@flycatcher.gentoo.org
1 hasufell 13/01/30 16:12:06
2
3 Modified: ChangeLog
4 Added: berusky-1.6.ebuild
5 Log:
6 version bump wrt #454624
7
8 (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.9 games-arcade/berusky/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/berusky/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/berusky/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/berusky/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-arcade/berusky/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 15 Nov 2012 22:46:06 -0000 1.8
24 +++ ChangeLog 30 Jan 2013 16:12:06 -0000 1.9
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-arcade/berusky
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/berusky/ChangeLog,v 1.8 2012/11/15 22:46:06 mr_bones_ Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/berusky/ChangeLog,v 1.9 2013/01/30 16:12:06 hasufell Exp $
31 +
32 +*berusky-1.6 (30 Jan 2013)
33 +
34 + 30 Jan 2013; Julian Ospald <hasufell@g.o> +berusky-1.6.ebuild,
35 + +files/berusky-1.6-gentoo.patch:
36 + version bump wrt #454624
37
38 *berusky-1.5.2 (15 Nov 2012)
39
40
41
42
43 1.1 games-arcade/berusky/berusky-1.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/berusky/berusky-1.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/berusky/berusky-1.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: berusky-1.6.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-arcade/berusky/berusky-1.6.ebuild,v 1.1 2013/01/30 16:12:06 hasufell Exp $
53
54 EAPI=5
55 inherit autotools eutils gnome2-utils games
56
57 DATAFILE=${PN}-data-${PV}
58 DESCRIPTION="free logic game based on an ancient puzzle named Sokoban"
59 HOMEPAGE="http://anakreon.cz/?q=node/1"
60 SRC_URI="http://www.anakreon.cz/download/${P}.tar.gz
61 http://www.anakreon.cz/download/${DATAFILE}.tar.gz
62 http://dev.gentoo.org/~hasufell/distfiles/${PN}.png"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 RDEPEND="media-libs/libsdl[X,video]
70 media-libs/sdl-image[png]
71 x11-libs/gtk+:2"
72 DEPEND="${RDEPEND}
73 virtual/pkgconfig"
74
75 src_prepare() {
76 mv ../${DATAFILE}/{berusky.ini,GameData,Graphics,Levels} . || die
77 epatch "${FILESDIR}"/${P}-gentoo.patch
78 sed -i \
79 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
80 -e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
81 src/defines.h berusky.ini \
82 || die
83 eautoreconf
84 }
85
86 src_install() {
87 default
88 insinto "${GAMES_DATADIR}"/${PN}
89 doins -r berusky.ini GameData Graphics Levels
90 doicon -s 32 "${DISTDIR}"/${PN}.png
91 make_desktop_entry ${PN}
92 prepgamesdirs
93 }
94
95 pkg_preinst() {
96 games_pkg_preinst
97 gnome2_icon_savelist
98 }
99
100 pkg_postinst() {
101 games_pkg_postinst
102 gnome2_icon_cache_update
103 }
104
105 pkg_postrm() {
106 gnome2_icon_cache_update
107 }