1 |
mr_bones_ 15/01/29 20:35:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freedoko-0.7.13.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.26 games-board/freedoko/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/freedoko/ChangeLog?rev=1.26&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/freedoko/ChangeLog?rev=1.26&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/freedoko/ChangeLog?r1=1.25&r2=1.26 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-board/freedoko/ChangeLog,v |
20 |
retrieving revision 1.25 |
21 |
retrieving revision 1.26 |
22 |
diff -u -r1.25 -r1.26 |
23 |
--- ChangeLog 20 Mar 2014 20:44:29 -0000 1.25 |
24 |
+++ ChangeLog 29 Jan 2015 20:35:49 -0000 1.26 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-board/freedoko |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/ChangeLog,v 1.25 2014/03/20 20:44:29 mr_bones_ Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/ChangeLog,v 1.26 2015/01/29 20:35:49 mr_bones_ Exp $ |
31 |
+ |
32 |
+*freedoko-0.7.13 (29 Jan 2015) |
33 |
+ |
34 |
+ 29 Jan 2015; Michael Sterrett <mr_bones_@g.o> |
35 |
+ +files/freedoko-0.7.13-gentoo.patch, +freedoko-0.7.13.ebuild: |
36 |
+ version bump |
37 |
|
38 |
20 Mar 2014; Michael Sterrett <mr_bones_@g.o> |
39 |
-files/freedoko-0.7.10-gcc47.patch, -files/freedoko-0.7.10-gentoo.patch, |
40 |
|
41 |
|
42 |
|
43 |
1.1 games-board/freedoko/freedoko-0.7.13.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/freedoko/freedoko-0.7.13.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/freedoko/freedoko-0.7.13.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: freedoko-0.7.13.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/freedoko-0.7.13.ebuild,v 1.1 2015/01/29 20:35:49 mr_bones_ Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
inherit eutils gnome2-utils games |
56 |
|
57 |
DESCRIPTION="FreeDoko is a Doppelkopf-game" |
58 |
HOMEPAGE="http://free-doko.sourceforge.net" |
59 |
SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip |
60 |
backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) |
61 |
kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) |
62 |
xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) |
63 |
pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) |
64 |
gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) |
65 |
openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) |
66 |
!xskatcards? ( |
67 |
!kdecards? ( |
68 |
!gnomecards? ( |
69 |
!openclipartcards? ( |
70 |
!pysolcards? ( |
71 |
mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" |
72 |
|
73 |
LICENSE="GPL-2" |
74 |
SLOT="0" |
75 |
KEYWORDS="~amd64 ~ppc ~x86" |
76 |
IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net" |
77 |
|
78 |
RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 ) |
79 |
>=dev-cpp/gtkmm-2.4:2.4" |
80 |
DEPEND="${RDEPEND} |
81 |
app-arch/unzip |
82 |
virtual/pkgconfig" |
83 |
|
84 |
S=${WORKDIR}/FreeDoko_${PV} |
85 |
|
86 |
src_unpack() { |
87 |
local cards=0 |
88 |
|
89 |
unpack_cards() { |
90 |
use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; |
91 |
} |
92 |
unpack FreeDoko_${PV}.src.zip |
93 |
cp /dev/null "${S}"/src/Makefile.local |
94 |
|
95 |
cd "${S}"/data/cardsets |
96 |
|
97 |
unpack_cards xskatcards xskat.zip |
98 |
unpack_cards kdecards kdecarddecks.zip |
99 |
unpack_cards pysolcards pysol.zip |
100 |
unpack_cards gnomecards gnome-games.zip |
101 |
unpack_cards openclipartcards openclipart.zip |
102 |
[ $cards ] || unpack xskat.zip # fall back to xskat |
103 |
|
104 |
if use backgrounds ; then |
105 |
cd "${S}"/data/backgrounds |
106 |
unpack ${PN}-backgrounds.zip |
107 |
fi |
108 |
} |
109 |
|
110 |
src_prepare() { |
111 |
epatch "${FILESDIR}"/${P}-gentoo.patch |
112 |
} |
113 |
|
114 |
src_compile() { |
115 |
export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"${GAMES_DATADIR}/${PN}\"'" |
116 |
export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" |
117 |
export OSTYPE=Linux |
118 |
export USE_NETWORK=$(use net && echo true || echo false) |
119 |
export USE_SOUND_ALUT=false # still marked experimental |
120 |
emake Version |
121 |
emake -C src FreeDoko |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
newgamesbin src/FreeDoko freedoko |
126 |
insinto "${GAMES_DATADIR}"/${PN}/ |
127 |
doins -r data/{ai,cardsets,backgrounds,rules,sounds,translations,*png} |
128 |
find "${D}${GAMES_DATADIR}"/${PN} -name Makefile -delete |
129 |
dodoc AUTHORS README ChangeLog |
130 |
newicon -s 32 src/FreeDoko.png ${PN}.png |
131 |
make_desktop_entry ${PN} FreeDoko |
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 |
} |
144 |
|
145 |
pkg_postrm() { |
146 |
gnome2_icon_cache_update |
147 |
} |