pymol: fix build.

This commit is contained in:
Érico Rolim 2020-09-28 15:45:43 -03:00
parent 13eaf7ec42
commit db434193c4
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@ version=2.3.0
revision=3
wrksrc=${pkgname}-open-source-${version}
build_style="python3-module"
hostmakedepends="python3"
makedepends="msgpack-devel python3-numpy freetype-devel libfreeglut-devel glew-devel
glm python3-devel libxml2-devel python3-PyQt5 mmtf-cpp"
depends="python3-numpy tcsh python3-pmw python3-tkinter python3-PyQt5"
@ -21,6 +22,10 @@ case $XBPS_TARGET_MACHINE in
*-musl) broken="segfaults on start";;
esac
# TODO: make it use pkg-config, if possible
CXXFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc} -I${XBPS_CROSS_BASE}/usr/include/libxml2
-I${XBPS_CROSS_BASE}/usr/include/freetype2"
post_install() {
vlicense LICENSE
vinstall "${FILESDIR}/${pkgname}.desktop" 755 usr/share/applications