1 |
hasufell 13/06/02 18:53:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: grimrock-20130515.ebuild |
5 |
Removed: grimrock-20121222.ebuild |
6 |
Log: |
7 |
version bump, remove old |
8 |
|
9 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
10 |
|
11 |
Revision Changes Path |
12 |
1.7 games-rpg/grimrock/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/grimrock/ChangeLog?rev=1.7&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/grimrock/ChangeLog?rev=1.7&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/grimrock/ChangeLog?r1=1.6&r2=1.7 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/games-rpg/grimrock/ChangeLog,v |
21 |
retrieving revision 1.6 |
22 |
retrieving revision 1.7 |
23 |
diff -u -r1.6 -r1.7 |
24 |
--- ChangeLog 2 Jun 2013 18:49:12 -0000 1.6 |
25 |
+++ ChangeLog 2 Jun 2013 18:53:02 -0000 1.7 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for games-rpg/grimrock |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/grimrock/ChangeLog,v 1.6 2013/06/02 18:49:12 hasufell Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/grimrock/ChangeLog,v 1.7 2013/06/02 18:53:02 hasufell Exp $ |
31 |
+ |
32 |
+*grimrock-20130515 (02 Jun 2013) |
33 |
+ |
34 |
+ 02 Jun 2013; Julian Ospald <hasufell@g.o> -grimrock-20121222.ebuild, |
35 |
+ +grimrock-20130515.ebuild: |
36 |
+ version bump, remove old |
37 |
|
38 |
02 Jun 2013; Julian Ospald <hasufell@g.o> grimrock-20121222.ebuild: |
39 |
splitdebug is not invalid |
40 |
|
41 |
|
42 |
|
43 |
1.1 games-rpg/grimrock/grimrock-20130515.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/grimrock/grimrock-20130515.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/grimrock/grimrock-20130515.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: grimrock-20130515.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-rpg/grimrock/grimrock-20130515.ebuild,v 1.1 2013/06/02 18:53:02 hasufell Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit eutils multilib gnome2-utils unpacker games |
57 |
|
58 |
TIMESTAMP="${PV:0:4}-${PV:4:2}-${PV:6:2}" |
59 |
MY_PN="Grimrock" |
60 |
DESCRIPTION="Legend of Grimrock: The Ultimate dungeon crawling RPG + modding engine" |
61 |
HOMEPAGE="http://www.grimrock.net/" |
62 |
SRC_URI="LegendOfGrimrock-Linux-${TIMESTAMP}.sh" |
63 |
|
64 |
SLOT="0" |
65 |
LICENSE="all-rights-reserved" |
66 |
KEYWORDS="-* ~amd64 ~x86" |
67 |
IUSE="bundled-libs" |
68 |
RESTRICT="fetch bindist splitdebug" |
69 |
|
70 |
QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/${MY_PN}.bin.* |
71 |
${GAMES_PREFIX_OPT}/${PN}/lib.*" |
72 |
|
73 |
RDEPEND=" |
74 |
app-arch/bzip2 |
75 |
media-libs/freetype:2 |
76 |
media-libs/ilmbase |
77 |
media-libs/lcms |
78 |
media-libs/libpng:1.5 |
79 |
media-libs/libraw |
80 |
media-libs/jasper |
81 |
media-libs/openexr |
82 |
media-libs/openjpeg |
83 |
media-libs/tiff |
84 |
sys-libs/zlib |
85 |
virtual/jpeg |
86 |
virtual/opengl |
87 |
x11-libs/libX11 |
88 |
x11-libs/libXau |
89 |
x11-libs/libxcb |
90 |
x11-libs/libXdmcp |
91 |
x11-libs/libXext |
92 |
!bundled-libs? ( |
93 |
media-libs/freeimage[png] |
94 |
media-libs/libogg |
95 |
media-libs/libvorbis |
96 |
media-libs/openal |
97 |
sys-libs/zlib[minizip] |
98 |
)" |
99 |
DEPEND="app-arch/xz-utils" |
100 |
|
101 |
S=${WORKDIR} |
102 |
|
103 |
pkg_nofetch() { |
104 |
einfo "Please buy & download ${SRC_URI} from:" |
105 |
einfo " ${HOMEPAGE}" |
106 |
einfo "and move it to ${DISTDIR}" |
107 |
einfo |
108 |
} |
109 |
|
110 |
src_unpack() { |
111 |
use amd64 && myarch=x86_64 || myarch=x86 |
112 |
|
113 |
local archivelist=( |
114 |
subarch |
115 |
instarchive_all |
116 |
instarchive_linux_${myarch} |
117 |
deps/SDL2/SDL2_files_linux_${myarch} |
118 |
deps/FreeImage/FreeImage_files_linux_${myarch} |
119 |
deps/libogg/libogg_files_linux_${myarch} |
120 |
deps/minizip/minizip_files_linux_${myarch} |
121 |
deps/openal/openal_files_linux_${myarch} |
122 |
deps/vorbis/vorbis_files_linux_${myarch} |
123 |
) |
124 |
|
125 |
unpack_makeself |
126 |
|
127 |
local i |
128 |
for i in $(if use bundled-libs ; then echo ${archivelist[@]} ; else echo ${archivelist[@]:0:4} ; fi) ; do |
129 |
mv "${i}" "${i}.tar.xz" || die |
130 |
unpack ./"${i}.tar.xz" |
131 |
done |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
local dir=${GAMES_PREFIX_OPT}/${PN} |
136 |
|
137 |
insinto "${dir}" |
138 |
doins ${PN}.{dat,png} |
139 |
|
140 |
exeinto "${dir}" |
141 |
doexe "${MY_PN}.bin.${myarch}" |
142 |
|
143 |
exeinto "${dir}"/lib |
144 |
doexe $(get_libdir)/libSDL2-2.0.so.0 |
145 |
use bundled-libs && { |
146 |
doexe $(get_libdir)/lib{freeimage.so.3,minizip.so.1,ogg.so.0,openal.so.1,vorbisfile.so.3,vorbis.so.0} |
147 |
} |
148 |
|
149 |
games_make_wrapper "${PN}" "./${MY_PN}.bin.${myarch}" "${dir}" "${dir}"/lib |
150 |
doicon -s 256 ${PN}.png |
151 |
newicon -s 64 ${MY_PN}.png ${PN}.png |
152 |
make_desktop_entry "${PN}" "Legend of ${MY_PN}" |
153 |
|
154 |
dodoc README.linux |
155 |
prepgamesdirs |
156 |
} |
157 |
|
158 |
pkg_preinst() { |
159 |
games_pkg_preinst |
160 |
gnome2_icon_savelist |
161 |
} |
162 |
|
163 |
pkg_postinst() { |
164 |
games_pkg_postinst |
165 |
|
166 |
elog "If you are using opensource drivers you should consider installing:" |
167 |
elog " media-libs/libtxc_dxtn" |
168 |
|
169 |
gnome2_icon_cache_update |
170 |
} |
171 |
|
172 |
pkg_postrm() { |
173 |
gnome2_icon_cache_update |
174 |
} |