# HG changeset patch # User Hans-G?nter Theisgen # Date 1558097764 -3600 # Node ID 4cc128a1bc436ff0cdce15266310e277e7fdeddd # Parent 3c81dd700a3f0f0c7005a8254da9a16302c50fba updated wesnoth (1.10.3 -> 1.14.7) diff -r 3c81dd700a3f -r 4cc128a1bc43 wesnoth/receipt --- a/wesnoth/receipt Fri May 17 11:30:13 2019 +0100 +++ b/wesnoth/receipt Fri May 17 13:56:04 2019 +0100 @@ -1,30 +1,38 @@ # SliTaz package receipt. PACKAGE="wesnoth" -VERSION="1.10.3" +VERSION="1.14.7" CATEGORY="games" -SHORT_DESC="Turn based strategy game" +TAGS="strategy" +SHORT_DESC="Turn based strategy game." MAINTAINER="mimas@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.wesnoth.org/" -WGET_URL="$SF_MIRROR/wesnoth/$TARBALL" -TAGS="strategy" +WEB_SITE="https://www.wesnoth.org/" -DEPENDS="libsdl libsdl-mixer libsdl-ttf libsdl-net libsdl-image zlib pango \ -cairo fontconfig libboost-regex libboost-iostreams libpng fribidi gcc-lib-base \ -xcb-util libboost-system libboost-program-options" -BUILD_DEPENDS="cairo-dev pango-dev libboost-regex-dev libboost-iostreams-dev libsdl-dev libsdl-mixer-dev libsdl-ttf-dev \ -libsdl-ttf libsdl-image-dev libsdl-net-dev libpng-dev freetype-dev fontconfig-dev findutils \ -lua-dev libboost-serialization-dev autoconf automake fribidi-dev \ -libboost-system-dev libboost-program-options-dev cmake" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz" + +DEPENDS="cairo fontconfig fribidi gcc-lib-base libboost-filesystem \ + libboost-iostreams libboost-math libboost-program-options libboost-regex \ + libboost-system libboost-thread libpng libsdl2 libsdl2-image \ + libsdl2-mixer libsdl2-net libsdl2-ttf pango xcb-util zlib" +BUILD_DEPENDS="autoconf automake cairo-dev cmake dbus-dev findutils \ + fontconfig-dev freetype-dev fribidi-dev gcc83 libboost-filesystem-dev \ + libboost-iostreams-dev libboost-math-dev libboost-program-options-dev \ + libboost-regex-dev libboost-serialization-dev libboost-system-dev \ + libboost-thread-dev libpng-dev libsdl2-dev libsdl2-image-dev \ + libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf libsdl-ttf-dev \ + lua-dev openssl-dev pango-dev" # Rules to configure and make the package. compile_rules() { - cd $src - cmake -DCMAKE_INSTALL_PREFIX=/usr . - make $MAKEFLAGS && make DESTDIR=$DESTDIR install + export CC=gcc-83 + export CXX=g++-83 + + cmake -DCMAKE_INSTALL_PREFIX=/usr . && + make $MAKEFLAGS && + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -32,22 +40,22 @@ { # programs mkdir -p $fs/usr/bin - cp $install/usr/bin/wesnoth $fs/usr/bin/ + cp $install/usr/bin/wesnoth $fs/usr/bin/ # data mkdir -p $fs/usr/share/wesnoth/ - cp -a $install/usr/share/wesnoth/data $fs/usr/share/wesnoth/ - cp -a $install/usr/share/wesnoth/fonts $fs/usr/share/wesnoth/ - cp -a $install/usr/share/wesnoth/images $fs/usr/share/wesnoth/ - cp -a $install/usr/share/wesnoth/sounds $fs/usr/share/wesnoth/ + cp -a $install/usr/share/wesnoth/data $fs/usr/share/wesnoth/ + cp -a $install/usr/share/wesnoth/fonts $fs/usr/share/wesnoth/ + cp -a $install/usr/share/wesnoth/images $fs/usr/share/wesnoth/ + cp -a $install/usr/share/wesnoth/sounds $fs/usr/share/wesnoth/ mkdir $fs/usr/share/wesnoth/translations if [ ! "$LOCALE" = "" ]; then for i in $LOCALE do - cp -a $install/usr/share/wesnoth/translations/$i \ - $fs/usr/share/wesnoth/translations - done + cp -a $install/usr/share/wesnoth/translations/$i \ + $fs/usr/share/wesnoth/translations + done else cp -a $install/usr/share/wesnoth/translations \ $fs/usr/share/wesnoth/ @@ -57,8 +65,6 @@ rm $fs/usr/share/wesnoth/data/core/music/*.ogg 2> /dev/null # finalize - cp -a $install/usr/share/applications $fs/usr/share - cp -a $install/usr/share/pixmaps $fs/usr/share - + cp -a $install/usr/share/applications $fs/usr/share + cp -a $install/usr/share/pixmaps $fs/usr/share } -