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