void-packages/srcpkgs/devilutionX/template
Krul Ceter ca1a0d0f98 devilutionX: switch to the -src tarball; drop gettext
One of the upstream maintainers (glebm) suggested to use the "src"
tarball instead of "src-fully-vendored", which does not bundle
libraries already available in the repository (SDL2, SDL2_image,
libfmt, bzip2, libsodium, googletest) without the need to specify
dedicated configure flags for them.

gettext is used for generating libdevilutionX.mpq but not required here
because it is shipped in the tarball.

"-DFETCHCONTENT_FULLY_DISCONNECTED=ON" now is globally used in
48dabfa867 after the previous update
for this package, so it is not needed here anymore.
2023-01-17 23:50:53 -05:00

20 lines
788 B
Bash

# Template file for 'devilutionX'
pkgname=devilutionX
version=1.4.1
revision=2
build_style=cmake
configure_args="-DVERSION_NUM=$version -DDISABLE_ZERO_TIER=ON"
hostmakedepends="pkg-config"
makedepends="SDL2-devel SDL2_image-devel bzip2-devel libsodium-devel
gtest-devel fmt-devel zlib-devel"
short_desc="Diablo I engine for modern operating systems"
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
license="Unlicense"
homepage="https://github.com/diasurgical/devilutionX"
changelog="https://raw.githubusercontent.com/diasurgical/devilutionX/master/docs/CHANGELOG.md"
distfiles="https://github.com/diasurgical/devilutionX/releases/download/${version}/devilutionx-src.tar.xz"
checksum=f80a5414bb7b5a5ae9f6dbc69cec4ae080c29dd0a8a553cedd405d631011da9f
post_install() {
vlicense LICENSE
}