From db434193c408d2f3515c56be163db7ea8f5f1bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Mon, 28 Sep 2020 15:45:43 -0300 Subject: [PATCH] pymol: fix build. --- srcpkgs/pymol/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/pymol/template b/srcpkgs/pymol/template index 7473ff7a6d4..466f6d09db0 100644 --- a/srcpkgs/pymol/template +++ b/srcpkgs/pymol/template @@ -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