wok-next view warzone2100/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
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 }