47 lines
1.5 KiB
Bash
47 lines
1.5 KiB
Bash
# Template file for 'openmw'
|
|
pkgname=openmw
|
|
version=0.44.0
|
|
revision=3
|
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DDESIRED_QT_VERSION=5"
|
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
|
|
makedepends="SDL2-devel boost-devel bullet-devel ffmpeg-devel libXt-devel
|
|
libmygui-devel libopenal-devel libunshield-devel osg-devel qt5-devel"
|
|
short_desc="Open Implementation of Morrowind's Engine"
|
|
maintainer="JohnZ <johnz@posteo.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://openmw.org"
|
|
changelog="https://openmw.org/2018/openmw-0-44-0-released/"
|
|
distfiles="https://gitlab.com/OpenMW/openmw/-/archive/openmw-${version}/openmw-openmw-${version}.tar.gz"
|
|
checksum=9e7db99dd3e1434b2e32e9e61ae5a8fb516a69bb6880fb2856c09f2c9ca8cf0d
|
|
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
mips | mips-musl ) broken="https://bugs.openmw.org/issues/564" ;;
|
|
arm*) broken="https://travis-ci.org/Johnnynator/void-packages/jobs/308902351" ;;
|
|
esac
|
|
|
|
openmw-cs_package() {
|
|
short_desc="Open Implementation of Morrowinds 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
|
|
}
|
|
}
|