1 |
hasufell 14/09/01 00:36:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: scid-4.5.2.ebuild |
5 |
Log: |
6 |
version bump wrt #506534, convert to python-any-r1 |
7 |
|
8 |
(Portage version: 2.2.12-r1/cvs/Linux x86_64, signed Manifest commit with key BDEED020) |
9 |
|
10 |
Revision Changes Path |
11 |
1.43 games-board/scid/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/scid/ChangeLog?rev=1.43&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/scid/ChangeLog?rev=1.43&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/scid/ChangeLog?r1=1.42&r2=1.43 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v |
20 |
retrieving revision 1.42 |
21 |
retrieving revision 1.43 |
22 |
diff -u -r1.42 -r1.43 |
23 |
--- ChangeLog 20 Mar 2014 22:20:55 -0000 1.42 |
24 |
+++ ChangeLog 1 Sep 2014 00:36:56 -0000 1.43 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-board/scid |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.42 2014/03/20 22:20:55 mr_bones_ Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.43 2014/09/01 00:36:56 hasufell Exp $ |
30 |
+ |
31 |
+*scid-4.5.2 (01 Sep 2014) |
32 |
+ |
33 |
+ 01 Sep 2014; Julian Ospald <hasufell@g.o> +scid-4.5.2.ebuild, |
34 |
+ +files/scid-4.5.2-gentoo.patch: |
35 |
+ version bump wrt #506534, convert to python-any-r1 |
36 |
|
37 |
20 Mar 2014; Michael Sterrett <mr_bones_@g.o> |
38 |
-files/scid-4.3-gentoo.patch, -files/scid-4.3-parallelmake.patch, |
39 |
|
40 |
|
41 |
|
42 |
1.1 games-board/scid/scid-4.5.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/scid/scid-4.5.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/scid/scid-4.5.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: scid-4.5.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-4.5.2.ebuild,v 1.1 2014/09/01 00:36:56 hasufell Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
PYTHON_COMPAT=( python2_7 ) |
55 |
inherit eutils toolchain-funcs gnome2-utils python-any-r1 games |
56 |
|
57 |
DESCRIPTION="a free chess database application" |
58 |
HOMEPAGE="http://scid.sourceforge.net/" |
59 |
SRC_URI="mirror://sourceforge/scid/Scid-${PV}.zip |
60 |
mirror://sourceforge/scid/spelling.zip |
61 |
mirror://sourceforge/scid/ratings.zip |
62 |
mirror://sourceforge/scid/photos.zip |
63 |
mirror://sourceforge/scid/scidlet40k.zip" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~ppc ~x86" |
68 |
IUSE="" |
69 |
|
70 |
CDEPEND="dev-lang/tk |
71 |
>=sys-libs/zlib-1.1.3" |
72 |
RDEPEND="${CDEPEND} |
73 |
!games-board/chessdb" |
74 |
DEPEND="${CDEPEND} |
75 |
${PYTHON_DEPS} |
76 |
app-arch/unzip" |
77 |
|
78 |
pkg_setup() { |
79 |
python-any-r1_pkg_setup |
80 |
games_pkg_setup |
81 |
} |
82 |
|
83 |
src_unpack() { |
84 |
default |
85 |
mv scid-code-* ${P} || die |
86 |
} |
87 |
|
88 |
src_prepare() { |
89 |
edos2unix engines/togaII1.2.1a/src/Makefile |
90 |
epatch "${FILESDIR}"/${P}-gentoo.patch |
91 |
sed -i \ |
92 |
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ |
93 |
tcl/start.tcl \ |
94 |
src/scidlet.cpp \ |
95 |
|| die "sed failed" |
96 |
gzip ../ratings.ssp |
97 |
python_fix_shebang . |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
# configure is not an autotools script |
102 |
./configure \ |
103 |
COMPILE="$(tc-getCXX)" \ |
104 |
LINK="$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS}" \ |
105 |
CC="$(tc-getCC)" \ |
106 |
OPTIMIZE="${CXXFLAGS}" \ |
107 |
TCL_INCLUDE="" \ |
108 |
BINDIR="${GAMES_BINDIR}" \ |
109 |
SHAREDIR="${GAMES_DATADIR}/${PN}" \ |
110 |
|| die "configure failed" |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
emake all_scid |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
emake DESTDIR="${D}" install_scid |
119 |
insinto "${GAMES_DATADIR}"/${PN} |
120 |
doins -r sounds |
121 |
|
122 |
dodoc ChangeLog TODO |
123 |
dohtml help/*.html |
124 |
|
125 |
newicon -s scalable svg/scid_app.svg ${PN}.svg |
126 |
make_desktop_entry scid Scid |
127 |
|
128 |
cd .. || die |
129 |
doins spelling.ssp ratings.ssp.gz *.spf |
130 |
newins scidlet40k.sbk scidlet.sbk |
131 |
|
132 |
prepgamesdirs |
133 |
} |
134 |
|
135 |
pkg_preinst() { |
136 |
games_pkg_preinst |
137 |
gnome2_icon_savelist |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
games_pkg_postinst |
142 |
gnome2_icon_cache_update |
143 |
elog "To enable speech, emerge dev-tcltk/snack" |
144 |
elog "To enable some piece sets, emerge dev-tcltk/tkimg" |
145 |
elog "To enable Xfcc support, emerge dev-tcltk/tdom" |
146 |
} |
147 |
|
148 |
pkg_postrm() { |
149 |
gnome2_icon_cache_update |
150 |
} |