* [ISSUE] Package request: Stratagus, War1gus, and Wargus
@ 2022-06-21 20:22 Barbaross93
2022-07-09 8:50 ` wael444
0 siblings, 1 reply; 2+ messages in thread
From: Barbaross93 @ 2022-06-21 20:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 4269 bytes --]
New issue by Barbaross93 on void-packages repository
https://github.com/void-linux/void-packages/issues/37632
Description:
### 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:
```
# Template file for 'stratagus'
pkgname=stratagus
version=3.2.0
revision=1
build_style=cmake
hostmakedepends="git"
makedepends="lua51-devel toluapp-devel SDL2-devel SDL2_image-devel SDL2_mixer-devel libgomp-devel libomp-devel libpng-devel libtheora-devel libmng-devel"
short_desc="Strategy game engine"
maintainer="Barbaross <cullenrss@gmail.com>"
license="GPL-2.0"
homepage="https://stratagus.com/stratagus.html"
distfiles="https://github.com/Wargus/stratagus/archive/refs/tags/v${version}.tar.gz"
checksum=6fef6934714b80fabd61fde97cff5f0918a20ca490fcff7adbcebc3e899a8bee
do_configure() {
cmake ${wrksrc} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DGAMEDIR=/usr/bin \
-DSBINDIR=/usr/bin \
-DLUA_INCLUDE_DIR=/usr/include/lua5.1 \
-Bbuild
}
do_build() {
make -C build
}
do_install() {
cd build
make DESTDIR="${DESTDIR}" install
}
stratagus-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmkdir /usr/include
vcopy gameheaders/stratagus-game-launcher.h /usr/include
vcopy gameheaders/stratagus-gameutils.h /usr/include
vcopy gameheaders/stratagus-tinyfiledialogs.h /usr/include
}
}
```
War1gus:
```
# 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?
Compiled
### Is the requested package released?
Yes
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Package request: Stratagus, War1gus, and Wargus
2022-06-21 20:22 [ISSUE] Package request: Stratagus, War1gus, and Wargus Barbaross93
@ 2022-07-09 8:50 ` wael444
0 siblings, 0 replies; 2+ messages in thread
From: wael444 @ 2022-07-09 8:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
New comment by wael444 on void-packages repository
https://github.com/void-linux/void-packages/issues/37632#issuecomment-1179507505
Comment:
you should rather open a PR draft instead.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-09 8:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 20:22 [ISSUE] Package request: Stratagus, War1gus, and Wargus Barbaross93
2022-07-09 8:50 ` wael444
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).