wok rev 21439

updated minetest, minetest-common and minetest-server (0.4.15 -> 5.0.1)
author Hans-G?nter Theisgen
date Sun Apr 28 07:01:48 2019 +0100 (18 months ago)
parents affc83ed930e
children f9ea4a4c7b87
files minetest-common/receipt minetest-server/receipt minetest/receipt
line diff
     1.1 --- a/minetest-common/receipt	Sat Apr 27 16:43:33 2019 +0100
     1.2 +++ b/minetest-common/receipt	Sun Apr 28 07:01:48 2019 +0100
     1.3 @@ -1,19 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="minetest-common"
     1.7 -VERSION="0.4.15"
     1.8 +VERSION="5.0.1"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Common files for Minetest client and server."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 -WEB_SITE="http://minetest.net/"
    1.14 +WEB_SITE="https://minetest.net/"
    1.15 +
    1.16  WANTED="minetest"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21  	mkdir -p ${fs}/usr/share
    1.22 -	for i in minetest appdata doc; do
    1.23 +
    1.24 +	for i in minetest metainfo doc
    1.25 +	  do
    1.26  		cp -a ${install}/usr/share/${i} $fs/usr/share
    1.27 -	done
    1.28 +	  done
    1.29  }
     2.1 --- a/minetest-server/receipt	Sat Apr 27 16:43:33 2019 +0100
     2.2 +++ b/minetest-server/receipt	Sun Apr 28 07:01:48 2019 +0100
     2.3 @@ -1,16 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="minetest-server"
     2.7 -VERSION="0.4.15"
     2.8 +VERSION="5.0.1"
     2.9  CATEGORY="games"
    2.10  SHORT_DESC="Minetest server (Multiplayer infinite-world block sandbox)."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="MIT"
    2.13 -WEB_SITE="http://minetest.net/"
    2.14 +WEB_SITE="https://minetest.net/"
    2.15 +
    2.16 +DEPENDS="curl libspatialindex libssl luajit minetest-common sqlite"
    2.17  WANTED="minetest"
    2.18  
    2.19 -DEPENDS="minetest-common luajit curl libssl sqlite libspatialindex"
    2.20 -
    2.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.22  genpkg_rules()
    2.23  {
     3.1 --- a/minetest/receipt	Sat Apr 27 16:43:33 2019 +0100
     3.2 +++ b/minetest/receipt	Sun Apr 28 07:01:48 2019 +0100
     3.3 @@ -1,28 +1,34 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="minetest"
     3.7 -VERSION="0.4.15"
     3.8 +VERSION="5.0.1"
     3.9  CATEGORY="games"
    3.10 -SHORT_DESC="An InfiniMiner/Minecraft inspired game."
    3.11 +SHORT_DESC="An open source voxel game engine and game."
    3.12  MAINTAINER="pascal.bellard@slitaz.org"
    3.13  LICENSE="MIT"
    3.14 +WEB_SITE="https://minetest.net/"
    3.15 +
    3.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.17 -WEB_SITE="http://minetest.net/"
    3.18 -
    3.19 -WGET_URL="https://github.com/minetest/minetest/archive/$VERSION.tar.gz"
    3.20 -TARBALL2="minetest_game-$VERSION.tar.gz"
    3.21 -WGET_URL2="https://github.com/minetest/minetest_game/archive/$VERSION.tar.gz"
    3.22 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
    3.23 +TARBALL2="${$PACKAGE}_game-$VERSION.tar.gz"
    3.24 +WGET_URL2="https://github.com/$PACKAGE/${$PACKAGE}_game/archive/$VERSION.tar.gz"
    3.25  EXTRA_SOURCE_FILES="$WGET_URL2"
    3.26  
    3.27 -DEPENDS="minetest-common libssl libpng jpeg sqlite libvorbis openal \
    3.28 -libglu-mesa curl mesa irrlicht luajit libspatialindex"
    3.29 -BUILD_DEPENDS="wget cmake libpng-dev jpeg-dev sqlite-dev libogg-dev \
    3.30 -libvorbis-dev openal-dev freetype-dev xorg-libXxf86vm-dev libglu-mesa-dev \
    3.31 -curl-dev mesa-dev irrlicht-dev luajit-dev libspatialindex-dev"
    3.32 +DEPENDS="curl irrlicht jpeg libglu-mesa libpng libspatialindex libssl \
    3.33 +	libvorbis luajit mesa minetest-common openal sqlite"
    3.34 +BUILD_DEPENDS="cmake curl-dev freetype-dev gcc83 irrlicht-dev jpeg-dev \
    3.35 +	libglu-mesa-dev libogg-dev libpng-dev libspatialindex-dev \
    3.36 +	libvorbis-dev luajit-dev mesa-dev openal-dev sqlite-dev \
    3.37 +	xorg-libXxf86vm-dev"
    3.38  
    3.39  # Rules to configure and make the package.
    3.40  compile_rules()
    3.41  {
    3.42 +	# As gcc-4.6.3 is insufficient, the most recent version of gcc
    3.43 +	# available in the cooking repository is used
    3.44 +	CC=gcc-83
    3.45 +	CXX=g++-83
    3.46 +
    3.47  	[ -s "$SOURCES_REPOSITORY/$TARBALL2" ] || wget --no-check-certificate \
    3.48  		-O "$SOURCES_REPOSITORY/$TARBALL2" ${EXTRA_SOURCE_FILES}
    3.49  	{ 
    3.50 @@ -30,21 +36,25 @@
    3.51  		tar xf $SOURCES_REPOSITORY/$TARBALL2
    3.52  		cd ..
    3.53  	}
    3.54 -	cd build && cmake \
    3.55 -		-DCMAKE_INSTALL_PREFIX=/usr \
    3.56 -		-DBUILD_CLIENT=TRUE \
    3.57 -		-DBUILD_SERVER=TRUE \
    3.58 -		-DENABLE_SPATIAL=TRUE \
    3.59 -		-DENABLE_GETTEXT=TRUE \
    3.60 -		-DVERSION_EXTRA="SliTaz" \
    3.61 -		.. 
    3.62 -	make && make install
    3.63 +	cd build &&
    3.64 +	cmake					\
    3.65 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    3.66 +		-DBUILD_CLIENT=TRUE		\
    3.67 +		-DBUILD_SERVER=TRUE		\
    3.68 +		-DENABLE_SPATIAL=TRUE		\
    3.69 +		-DENABLE_GETTEXT=TRUE		\
    3.70 +		-DVERSION_EXTRA="SliTaz"	\
    3.71 +		.. &&
    3.72 +	make -j 1 &&
    3.73 +	make install
    3.74  }
    3.75  
    3.76  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.77  genpkg_rules()
    3.78  {
    3.79 -	mkdir -p ${fs}/usr/bin ${fs}/usr/share
    3.80 -	cp -a ${install}/usr/bin/${PACKAGE} ${fs}/usr/bin
    3.81 -	cp -a ${install}/usr/share/icons $fs/usr/share
    3.82 +	mkdir -p ${fs}/usr/bin
    3.83 +	mkdir -p ${fs}/usr/share
    3.84 +
    3.85 +	cp -a ${install}/usr/bin/${PACKAGE}	${fs}/usr/bin
    3.86 +	cp -a ${install}/usr/share/icons	$fs/usr/share
    3.87  }