wok-next view warzone2100/receipt @ rev 20295

Attempt to fix warzone2100; add feathernotes, featherpad, kvantum, libqscintilla-qt5, plataro
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 08 21:51:43 2017 +0200 (2017-11-08)
parents d3adbeea3a9f
children 4028bd407203
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 mesa17-dev libcrypto-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 # not work on the cook server, OK at home:
30 # make -C src autorevision.h &&
31 # dirty hack here, and only for current version:
32 cp -f $stuff/autorevision.* src/ &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 genpkg_rules() {
38 copy @std hicolor/ *.mo
39 DEPENDS="fontconfig freetype fribidi glew glib libcrypto libglu-mesa \
40 libharfbuzz libogg libpng16 libsdl2 libtheora libvorbis mesa17 openal \
41 physfs qt5-base qt5-script xorg-libX11 xorg-libXrandr zlib libsdl2-net"
42 }