# supertux07/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball for this package was created as follows: #!/bin/bash set -e rm -fr supertux git clone --depth 1 https://github.com/SuperTux/supertux.git cd supertux pushd data/images/engine/menu/ cp -p logo.png logo_dev.png popd git submodule update --init --recursive rm -fr .git && mkdir .git cd .. tar zcf supertux-git.tar.gz supertux/ rm -fr supertux ls -l supertux-git.tar.gz #--------------------------------------------------------------------- 2. The Laclin version of SuperTux 0.7.X includes the following chang- es: * It adds most of the background images that came previously with SuperTux 0.3.3 using their original relative pathnames. This makes it possible for some older SuperTux levels and/or worlds to work with newer releases of the program. * It adds extra SuperTux levels and/or worlds. * On world-maps, Tux is now allowed to walk past levels that the player hasn't solved yet. * It adds a single-instance feature. Specifically, if you exe- cute "supertux" and the program is already running, the com- mand simply brings the existing instance to the front. #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] compiler = clang license = See "license*.txt" in installed tree licfile = LICENSE.txt loopmove = yes nosyslinks = yes tmpsize = 375M dontfind = physfs01 physfs02 setpaths = \ bzip2 curl freetype2 libfmt \ libglew libogg libpng libvorbis \ openal physfs03 sdl2 supertux07 \ xorg zlib #--------------------------------------------------------------------- [depends] alsa boost brotli bzip2 cmake curl dav1d expat freetype2 graphite2 gtkcore jpeg libaom libavif libfmt libglew libicu libidn2 libjxl libogg libpng libpsl librtmp libsamplerate libsasl libssh2 libunistring libvorbis libwebp libyuv ncurses nghttp2 openal openldap openssl pcre2 physfs01 physfs02 physfs03 pulseaudio sdl simplesquirrel # External copy presently not used squirrel # Ditto tiff xorg xzutils zlib zstd #--------------------------------------------------------------------- [configure] rm -fr .git mkdir .git mkdir obj && cd obj cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD \ -DCMAKE_INSTALL_LIBDIR=lib \ .. #--------------------------------------------------------------------- [build] export LACINCDIRS=$LACINCDIRS:$PRODTREE/sdl2/include/SDL2 cd obj && smpmake && make install #--------------------------------------------------------------------- [postbuild] BASE=supertux07 BINDIR=$PKGDIR_PROD/bin SHADIR=$PKGDIR_PROD/share/games/supertux2 mkdir -p $BINDIR $SHADIR cd $BINDIR cp -p $PKGDIR_SPECIAL/$BASE.wrapper.in $BASE chmod 755 $BASE ln -nsf $BINDIR/$BASE $SYSDIR_BIN/ cd $PKGDIR_PROD/games cat > $BASE.bin << END cd $PRODTREE/supertux07/games/ exec ./supertux2 END chmod 755 $BASE.bin cd $SHADIR/levels/ unzip -qo $PKGDIR_SPECIAL/stux-added-levels.zip mv Dr_Small_s_Domain/*.jpg $SHADIR/images/background/ rm -fr Dr_Small_s_Domain/readme.txt cd $SHADIR/images/background/ unzip -qo $PKGDIR_SPECIAL/stux-bgim-033.zip #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 070315 Added package 070315 Started with 0.1.3 211020 Updated to 0.6.2 260104 Split 0.7.0 into its own package 260104 Updated to f822c83f8 ("git" hash)