The update to osg-3.6.0 was cancelled. Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
51 lines
1.5 KiB
Bash
51 lines
1.5 KiB
Bash
# Template file for 'openmw'
|
|
pkgname=openmw
|
|
version=0.43.0
|
|
revision=3
|
|
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=c4f0258d35fe1c181c2c609658467e1560ce262d02bf5e92b064d7b14e97f086
|
|
|
|
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
|
|
|
|
if [ "CROSS_BUILD" ]; then
|
|
hostmakedepends="qt5-host-tools qt5-qmake"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|