# prfreeboom/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "prfreeboom" is based on several FOSS (Free and Open Source) Doom- related packages, including (but not necessarily limited to): (a) prboom-plus - Doom-compatible game engine (*) (b) freedoom - Doom-compatible data files (c) bsp - Doom-related utility (d) deutex - Doom-related utility, release 5.2.2 (*) (e) slump - Doom-1/Doom-2 WAD-file generator (f) slige - Alternate WAD-file generator (g) mus2pwad - Distro-specific music convertor (a) refers specifically to "prboom-plus", as opposed to "prboom". "prboom-plus" is a modified version of "prboom". At run-time, "prfreeboom" relies on "freedoom". The latter package re- lies (at "build" time) on "deutex" 5.2.2 or above. At run-time, "prfreeboom" also relies on "mus2pwad" -- a distro-spe- cific utility -- which also relies on "deutex" 5.2.2 or above. #--------------------------------------------------------------------- 2. This "cfg" file builds and/or installs five programs and/or scri- pts: (a) prboom - Modified version of "prboom-plus" (b) prfreeboom - GUI launcher for "prboom" (*) (c) slump - Standard "slump" plus a GUI launcher (d) slige - Standard "slige" plus a GUI launcher (e) mus2pwad - Doom music conversion tool (*) (*) This is a distro-specific add-on. Additionally, it installs a "prboom"-compatible data set that's based on FreeDoom. The end result is a complete Doom-1/Doom-2 package. To the best of our knowledge, the package doesn't contain any proprietary components. It can play most add-on levels for Doom 1 and/or Doom 2 regardless be- cause the proprietary components have been replaced with FOSS equival- ents. #--------------------------------------------------------------------- 3. The source tarball used by this package has been renamed. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.70 minutes) - HP EliteBook 8560w 32GB RAM 00.02 hours (or 001.13 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.02 hours (or 001.35 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.09 hours (or 005.38 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = prboom2/COPYING nls = disabled nosyslinks = yes revision = numeric tmpsize = 19M unpack = relaxed setpaths = \ alsa fluidsynth libmad libvorbis \ pcre portmidi sdl2 xorg \ zlib #--------------------------------------------------------------------- [depends] actools alsa bsp # Used by GUI at runtime cpancore deutex # Used by "freedoom" at "build" time freedoom gawk grep gtkcore # Used by GUI at runtime jpeg libmad libpng libsamplerate libvorbis ncurses pcre portmidi sdl # Primarily *base, *mixer, and *net xorg zlib #--------------------------------------------------------------------- [configure] BINDIR=$PKGDIR_PROD/bin DATADIR=$PKGDIR_PROD/data DOCDIR=$PKGDIR_PROD/doc mkdir -p $BINDIR $DATADIR $DOCDIR mkdir prboom2/obj && cd prboom2/obj cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_DOCDIR=$DOCDIR \ -DDOOMWADDIR=$DATADIR \ -DPRBOOMDATADIR=$DATADIR \ -DCMAKE_C_FLAGS="-O2 -DFREEDOOMAUTO" \ .. #--------------------------------------------------------------------- [build] cd prboom2/obj smpmake make install #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin DATADIR=$PKGDIR_PROD/data DOCDIR=$PKGDIR_PROD/doc SHADIR=$PKGDIR_PROD/share LEVELSDIR=$DATADIR/levels mkdir -p $BINDIR $DATADIR $DOCDIR $LEVELSDIR $SHADIR cd $PKGDIR_PROD mv share/man man SPCICON=$PKGDIR_SPECIAL/icons SPCWRAP=$PKGDIR_SPECIAL/wrappers cp -a $SPCICON/ocaalert.png $DATADIR/alert.png cp -a $PKGDIR_SPECIAL/bootstrap $DATADIR/ sed -e "s|__META_LACUTIL__|$SYSDIR_LACUTIL|g" \ -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ < $SPCWRAP/prfreeboom.wrapper.in \ > $BINDIR/prfreeboom chmod 755 $BINDIR/prfreeboom sed -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ < $PKGDIR_SPECIAL/misc/mus2pwad.in \ > $BINDIR/mus2pwad chmod 755 $BINDIR/mus2pwad #--------------------------------------------------------------------- cd $PKGDIR_PROD SLIGEDIR=$PKGDIR_SPECIAL/slige cp -p $SLIGEDIR/slige.c . patch -p1 < $SLIGEDIR/slige.spcpat cc -m32 -o $BINDIR/slige slige.c strip $BINDIR/slige rm slige.c #--------------------------------------------------------------------- cd $PKGDIR_PROD SLUMPDIR=$PKGDIR_SPECIAL/slump tar jxf $SLUMPDIR/slump-0.003.01.tar.bz2 cd slump-0.003.01 patch -p1 < $SLUMPDIR/slump.spcpat sed -e 's@^FLAGS =.*@FLAGS=-O2 -m32@' -i Makefile make cp -a slump $BINDIR/ strip $BINDIR/slump cd .. rm -fr slump-0.003.01 #--------------------------------------------------------------------- cd $BINDIR if [ -f prboom-plus ]; then ln -s prboom-plus prboom fi #--------------------------------------------------------------------- cd $DATADIR ln -nsf $PRODTREE/freedoom/data/*.wad . unzip -oL $PKGDIR_SPECIAL/modes/beautifuldoom.zip mv beautiful_doom_716.pk3 beautifuldoom.pk3 unzip -oL $PKGDIR_SPECIAL/modes/haloween.zip monsters.\* unzip -oL $PKGDIR_SPECIAL/modes/ldsprts.zip ldsprts.wad mv ldsprts.wad leggo.wad #--------------------------------------------------------------------- cd $LEVELSDIR unzip -oL $PKGDIR_SPECIAL/levels/levels.zip ln -nsf $BINDIR/prfreeboom $SYSTREE/xbin/ #--------------------------------------------------------------------- # 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 = n/a url_home = n/a url_lfs = n/a url_tarball = https://github.com/coelckers/prboom-plus/archive/\ refs/tags/v2.6.66.tar.gz #--------------------------------------------------------------------- [history] 211005 Updated from 2.5.1.3 to 2.6.1-um 211005 Added multiple Doom Total Conversions 241113 Updated to 2.6.66 241113 Fixed an old wrapper crash 241113 Fixed an old wrapper checkbox bug 241113 Other wrapper fixes 241113 Added Beautiful Doom 241120 Added some patches from "dsda-doom" 241120 Minor wrapper text change 241120 Added some new music