void-packages/srcpkgs/openmw/template
2017-11-06 14:57:51 +01:00

46 lines
1.3 KiB
Bash

# Template file for 'openmw'
pkgname=openmw
version=0.42.0
revision=4
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=cmake
configure_args="-DDESIRED_QT_VERSION=5"
hostmakedepends="pkg-config"
makedepends="libXt-devel libunshield-devel libmygui-devel osg-devel
bullet-devel libopenal-devel SDL2-devel qt5-devel boost-devel
ffmpeg-devel libavformat libavutil libswscale libswresample"
short_desc="Open Implementation of Morrowind's Engine"
maintainer="JohnZ <johnz@posteo.net>"
license="GPL-3"
homepage="http://openmw.org"
distfiles="https://github.com/OpenMW/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=fcbcc332ae65d03fae38ccab589b110e18a450182ace541f436f5d6a02408ade
case "${XBPS_TARGET_MACHINE}" in
aarch* | mips* | arm*) broken="https://bugs.openmw.org/issues/564" ;;
esac
openmw-cs_package() {
short_desc="Open Implementation of Moeeowinds Creation Set"
depends="openmw-${version}_${revision}"
pkg_install() {
vmove usr/bin/openmw-cs
vmove usr/share/applications/openmw-cs.desktop
vmove usr/share/pixmaps/openmw-cs.png
vmove etc/openmw/openmw-cs.cfg
}
}
esmtool_package() {
short_desc="Tool for inspecting and extracting Morrowind's ES files"
pkg_install() {
vmove usr/bin/esmtool
}
}
bsatool_package() {
short_desc="Tool for inspecting Bethesda's BSA archives"
pkg_install() {
vmove usr/bin/bsatool
}
}