# tscgame/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run #--------------------------------------------------------------------- 2. This distro provides 2 alternate versions of the early-2000s video game "Secret Maryo Chronicles": (1a) "smc" -- Laclin fork of "Secret Maryo Chronicles" (1b) "tscgame" -- Laclin form of "Secret Chronicles of Dr. M." "smc" is recommended over "tscgame" for the following reasons: * "smc" starts up faster * "smc" is more stable * "tscgame" is more fragile in terms of FTBFS * "tscgame" locks up if you close its window OTOH: * "tscgame" includes additional media and other in-game features relative to "smc". * Full-screen mode works with "tscgame". It doesn't work -- or at least it works on fewer systems -- with "smc". #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] license = See "license*.txt" in installed tree licfile = COPYING tmpsize = 394M unpack = relaxed dontfind = cegui07 cegui08 setpaths = \ boost brotli devil expat \ freetype2 fribidi gtk3-gtkmm gtkcore \ libglew libpng libxml2 libxmlpp \ minizip-ng pcre sfml xorg \ bison2 #--------------------------------------------------------------------- [depends] boost brotli bzip2 cmake devil eudev expat flac freetype2 fribidi graphite2 gtk3-gtkmm gtkcore jasper jpeg lcms2 libbsd libffi libglew libicu libogg libpng libsigcpp210 libvorbis libwebp libxml2 libxmlpp minizip-ng ncurses openal pcre pulseaudio sfml tiff xorg xzutils zlib zstd #--------------------------------------------------------------------- [configure] unset RUBYOPT PATH=$PRODTREE/ruby24/bin:$PATH cd tsc && mkdir obj && cd obj cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD \ -DCMAKE_INSTALL_LIBDIR=lib \ -DUSE_LIBXMLPP3=OFF \ -DUSE_SYSTEM_MRUBY=OFF \ .. #--------------------------------------------------------------------- [build] unset RUBYOPT PATH=$PRODTREE/ruby24/bin:$PATH cd tsc/obj smpmake make install || make install #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin DATADIR=$PKGDIR_PROD/data SPCDIR=$PKGDIR_SPECIAL PROGBASE=tscgame mkdir -p $DATADIR/ cp -p $SPCDIR/cfgtsc.zip $DATADIR/ cd $BINDIR mv tsc $PROGBASE.bin cp -p $SPCDIR/$PROGBASE.wrapper.in $PROGBASE chmod 755 $PROGBASE cat > $PROGBASE-bridge << END padsp $BINDIR/$PROGBASE.bin \$* END chmod 755 $PROGBASE-bridge #--------------------------------------------------------------------- # 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] 211023 Added package. Started with 2.1.0. 240701 Updated to 3ae93772e ("git" hash) 241124 Updated to 92d74ff7f 241124 Modified wrapper to set full-screen parameters properly