1 |
hasufell 14/01/03 15:24:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: minetest-0.4.9.ebuild |
5 |
Log: |
6 |
version bump wrt #496820 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 games-action/minetest/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/minetest/ChangeLog?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/minetest/ChangeLog?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/minetest/ChangeLog?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-action/minetest/ChangeLog,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- ChangeLog 30 Nov 2013 12:26:31 -0000 1.7 |
24 |
+++ ChangeLog 3 Jan 2014 15:24:24 -0000 1.8 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for games-action/minetest |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-action/minetest/ChangeLog,v 1.7 2013/11/30 12:26:31 hasufell Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-action/minetest/ChangeLog,v 1.8 2014/01/03 15:24:24 hasufell Exp $ |
31 |
+ |
32 |
+*minetest-0.4.9 (03 Jan 2014) |
33 |
+ |
34 |
+ 03 Jan 2014; Julian Ospald <hasufell@g.o> +minetest-0.4.9.ebuild, |
35 |
+ +files/minetest-0.4.9-as-needed.patch, +files/minetest-0.4.9-freetype.patch, |
36 |
+ +files/minetest-0.4.9-lua-luajit-option.patch, |
37 |
+ +files/minetest-0.4.9-opengles.patch, |
38 |
+ +files/minetest-0.4.9-shared-irrlicht.patch: |
39 |
+ version bump wrt #496820 |
40 |
|
41 |
30 Nov 2013; Julian Ospald <hasufell@g.o> metadata.xml: |
42 |
add proxy-maintainer |
43 |
|
44 |
|
45 |
|
46 |
1.1 games-action/minetest/minetest-0.4.9.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/minetest/minetest-0.4.9.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/minetest/minetest-0.4.9.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: minetest-0.4.9.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2014 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/games-action/minetest/minetest-0.4.9.ebuild,v 1.1 2014/01/03 15:24:24 hasufell Exp $ |
56 |
|
57 |
EAPI=5 |
58 |
inherit eutils cmake-utils gnome2-utils vcs-snapshot user games |
59 |
|
60 |
DESCRIPTION="An InfiniMiner/Minecraft inspired game" |
61 |
HOMEPAGE="http://minetest.net/" |
62 |
SRC_URI="http://github.com/minetest/minetest/tarball/${PV} -> ${P}.tar.gz" |
63 |
|
64 |
LICENSE="LGPL-2.1+ CC-BY-SA-3.0" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="+curl dedicated leveldb luajit nls +server +sound +truetype" |
68 |
|
69 |
RDEPEND="dev-db/sqlite:3 |
70 |
>=dev-games/irrlicht-1.8-r2 |
71 |
sys-libs/zlib |
72 |
curl? ( net-misc/curl ) |
73 |
!dedicated? ( |
74 |
app-arch/bzip2 |
75 |
media-libs/libpng:0 |
76 |
virtual/jpeg |
77 |
virtual/opengl |
78 |
x11-libs/libX11 |
79 |
x11-libs/libXxf86vm |
80 |
sound? ( |
81 |
media-libs/libogg |
82 |
media-libs/libvorbis |
83 |
media-libs/openal |
84 |
) |
85 |
truetype? ( media-libs/freetype:2 ) |
86 |
) |
87 |
leveldb? ( dev-libs/leveldb ) |
88 |
luajit? ( dev-lang/luajit:2 ) |
89 |
!luajit? ( >=dev-lang/lua-5.1.4[deprecated] ) |
90 |
nls? ( virtual/libintl )" |
91 |
DEPEND="${RDEPEND} |
92 |
nls? ( sys-devel/gettext )" |
93 |
|
94 |
pkg_setup() { |
95 |
games_pkg_setup |
96 |
|
97 |
if use server || use dedicated ; then |
98 |
enewuser ${PN} -1 -1 /var/lib/${PN} ${GAMES_GROUP} |
99 |
fi |
100 |
} |
101 |
|
102 |
src_unpack() { |
103 |
vcs-snapshot_src_unpack |
104 |
} |
105 |
|
106 |
src_prepare() { |
107 |
epatch \ |
108 |
"${FILESDIR}"/${P}-lua-luajit-option.patch \ |
109 |
"${FILESDIR}"/${P}-shared-irrlicht.patch \ |
110 |
"${FILESDIR}"/${P}-as-needed.patch \ |
111 |
"${FILESDIR}"/${P}-opengles.patch \ |
112 |
"${FILESDIR}"/${P}-freetype.patch |
113 |
|
114 |
# correct gettext behavior |
115 |
if [[ -n "${LINGUAS+x}" ]] ; then |
116 |
for i in $(cd po ; echo *) ; do |
117 |
if ! has ${i} ${LINGUAS} ; then |
118 |
rm -r po/${i} || die |
119 |
fi |
120 |
done |
121 |
fi |
122 |
|
123 |
# jthread is modified |
124 |
# json is modified |
125 |
rm -r src/{lua,sqlite} || die |
126 |
|
127 |
# set paths |
128 |
sed \ |
129 |
-e "s#@BINDIR@#${GAMES_BINDIR}#g" \ |
130 |
-e "s#@GROUP@#${GAMES_GROUP}#g" \ |
131 |
"${FILESDIR}"/minetestserver.confd > "${T}"/minetestserver.confd || die |
132 |
} |
133 |
|
134 |
src_configure() { |
135 |
local mycmakeargs=( |
136 |
-DENABLE_GLES2=0 |
137 |
-DRUN_IN_PLACE=0 |
138 |
-DCUSTOM_SHAREDIR="${GAMES_DATADIR}/${PN}" |
139 |
-DCUSTOM_BINDIR="${GAMES_BINDIR}" |
140 |
-DCUSTOM_DOCDIR="/usr/share/doc/${PF}" |
141 |
-DCUSTOM_LOCALEDIR="/usr/share/locale" |
142 |
$(usex dedicated "-DBUILD_SERVER=ON -DBUILD_CLIENT=OFF" "$(cmake-utils_use_build server SERVER) -DBUILD_CLIENT=ON") |
143 |
$(cmake-utils_use_enable nls GETTEXT) |
144 |
$(cmake-utils_use_enable curl CURL) |
145 |
$(cmake-utils_use_use luajit LUAJIT) |
146 |
$(cmake-utils_use_enable truetype FREETYPE) |
147 |
$(cmake-utils_use_enable sound SOUND) |
148 |
$(cmake-utils_use_enable leveldb LEVELDB) |
149 |
) |
150 |
|
151 |
cmake-utils_src_configure |
152 |
} |
153 |
|
154 |
src_compile() { |
155 |
cmake-utils_src_compile |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
cmake-utils_src_install |
160 |
|
161 |
if use server || use dedicated ; then |
162 |
newinitd "${FILESDIR}"/minetestserver.initd minetest-server |
163 |
newconfd "${T}"/minetestserver.confd minetest-server |
164 |
fi |
165 |
|
166 |
prepgamesdirs |
167 |
} |
168 |
|
169 |
pkg_preinst() { |
170 |
games_pkg_preinst |
171 |
gnome2_icon_savelist |
172 |
} |
173 |
|
174 |
pkg_postinst() { |
175 |
games_pkg_postinst |
176 |
gnome2_icon_cache_update |
177 |
|
178 |
if ! use dedicated ; then |
179 |
elog |
180 |
elog "optional dependencies:" |
181 |
elog " games-action/minetest_game (official mod)" |
182 |
elog " games-action/minetest_common (official mod)" |
183 |
elog " games-action/minetest_build (official mod)" |
184 |
elog " games-action/minetest_survival (official mod)" |
185 |
elog |
186 |
fi |
187 |
|
188 |
if use server || use dedicated ; then |
189 |
elog |
190 |
elog "Configure your server via /etc/conf.d/minetest-server" |
191 |
elog "The user \"minetest\" is created with /var/lib/${PN} homedir." |
192 |
elog "Default logfile is ~/minetest-server.log" |
193 |
elog |
194 |
fi |
195 |
} |
196 |
|
197 |
pkg_postrm() { |
198 |
gnome2_icon_cache_update |
199 |
} |