wok-next view warzone2100/receipt @ rev 20502

Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
parents e6615350078d
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="warzone2100"
4 VERSION="3.2.3"
5 CATEGORY="games"
6 SHORT_DESC="3D realtime strategy game on a future Earth"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://wz2100.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/warzone2100/releases/$VERSION/$TARBALL"
14 BUILD_DEPENDS="automake perl zip unzip gettext qt5-dev xorg-libX11-dev \
15 libsdl2-dev libpng16-dev libtheora-dev openal-dev libvorbis-dev glew-dev \
16 mesa-dev openssl-dev physfs-dev xorg-libXrandr-dev fribidi-dev \
17 freetype-dev fontconfig-dev openssl-dev git"
19 compile_rules() {
20 # small improvements
21 sed -i 's| = |=|' icons/warzone2100.desktop
22 rm po/pt_BR.gmo; sed -i 's|\\v||' po/pt_BR.po; msgfmt po/pt_BR.po -o po/pt_BR.gmo
24 ./autogen.sh &&
25 ./configure \
26 --with-distributor="SliTaz" \
27 --with-appdatadir=/usr/share/appdata \
28 $CONFIGURE_ARGS &&
29 make -C src autorevision.h &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 genpkg_rules() {
35 copy @std hicolor/ *.mo
36 DEPENDS="fontconfig freetype fribidi glew glib openssl glu \
37 libharfbuzz libogg libpng16 libsdl2 libtheora libvorbis mesa openal \
38 physfs qt5-base qt5-script xorg-libX11 xorg-libXrandr zlib libsdl2-net"
39 }