Stratagus is a strategy game engine that is technically useful for game developers. More interestingly, it is the backbone for War1gus and Wargus, tools that extract the necessary data from 'Warcraft: Orcs and Humans' and 'Warcraft II' data files respectively . Stratagus makes it then possible to play Warcraft I and II on Linux systems without Dosbox or Wine. It also adds many improvements to the original games, making them enjoyable for a modern audience. I have already put together template files, but frankly, I don't feel too comfortable maintaining them myself. Below are my drafts:
# Template file for 'war1gus'
pkgname=war1gus
version=3.2.0
revision=1
build_style=cmake
hostmakedepends="ImageMagick"
makedepends="stratagus-devel"
depends="stratagus ffmpeg innoextract libfluidsynth soundfont-fluid"
short_desc="Importer and scripts for Warcraft: Orcs and Humans"
maintainer="Barbaross <cullenrss@gmail.com>"
license="GPL-2.0"
homepage="https://stratagus.com/war1gus.html"
distfiles="https://github.com/Wargus/war1gus/archive/refs/tags/v${version}.tar.gz"
checksum=817223d88adda10ab4d62ac72b4aad2d767f5d31b0c614751e882fdea1b9f757
do_configure() {
cmake "${wrksrc}" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin -Bbuild
}
do_build() {
make -C build
}
do_install() {
cd build
make DESTDIR="${DESTDIR}" install
}
Wargus
# Template file for 'wargus'
pkgname=wargus
version=3.2.0
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libpng-devel bzip2-devel stratagus-devel"
depends="stratagus libcdparanoia ffmpeg libfluidsynth soundfont-fluid innoextract"
short_desc="Importer and scripts for Warcraft II: Tides of Darkness, the expansion Beyond the Dark Portal, and Aleonas Tales"
maintainer="Barbaross <cullenrss@gmail.com>"
license="GPL-2.0"
homepage="https://stratagus.com/"
distfiles="https://github.com/Wargus/wargus/archive/refs/tags/v${version}.tar.gz"
checksum=c75cf239772310c4c3e0cda3a7d0cecc835d64b7fa60e35db07e0a3a76edbc72
do_configure() {
cmake "${wrksrc}" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin -Bbuild
}
do_build() {
make -C build
}
do_install() {
cd build
make DESTDIR="${DESTDIR}" install
}
At the very least, I wanted to post these for posterity, just in case someone else like me comes along with a hankering for some adventuring in the World of Warcraft :)
Does the requested package meet the quality requirements?
Package name
Stratagus War1gus Wargus
Package homepage
https://github.com/Wargus/stratagus https://github.com/Wargus/war1gus https://github.com/Wargus/wargus
Description
Stratagus is a strategy game engine that is technically useful for game developers. More interestingly, it is the backbone for War1gus and Wargus, tools that extract the necessary data from 'Warcraft: Orcs and Humans' and 'Warcraft II' data files respectively . Stratagus makes it then possible to play Warcraft I and II on Linux systems without Dosbox or Wine. It also adds many improvements to the original games, making them enjoyable for a modern audience. I have already put together
template
files, but frankly, I don't feel too comfortable maintaining them myself. Below are my drafts:Stratagus:
War1gus:
Wargus
At the very least, I wanted to post these for posterity, just in case someone else like me comes along with a hankering for some adventuring in the World of Warcraft :)
Does the requested package meet the quality requirements?
Compiled
Is the requested package released?
Yes