pymol: fix build.
This commit is contained in:
parent
13eaf7ec42
commit
db434193c4
|
@ -4,6 +4,7 @@ version=2.3.0
|
||||||
revision=3
|
revision=3
|
||||||
wrksrc=${pkgname}-open-source-${version}
|
wrksrc=${pkgname}-open-source-${version}
|
||||||
build_style="python3-module"
|
build_style="python3-module"
|
||||||
|
hostmakedepends="python3"
|
||||||
makedepends="msgpack-devel python3-numpy freetype-devel libfreeglut-devel glew-devel
|
makedepends="msgpack-devel python3-numpy freetype-devel libfreeglut-devel glew-devel
|
||||||
glm python3-devel libxml2-devel python3-PyQt5 mmtf-cpp"
|
glm python3-devel libxml2-devel python3-PyQt5 mmtf-cpp"
|
||||||
depends="python3-numpy tcsh python3-pmw python3-tkinter python3-PyQt5"
|
depends="python3-numpy tcsh python3-pmw python3-tkinter python3-PyQt5"
|
||||||
|
@ -21,6 +22,10 @@ case $XBPS_TARGET_MACHINE in
|
||||||
*-musl) broken="segfaults on start";;
|
*-musl) broken="segfaults on start";;
|
||||||
esac
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vinstall "${FILESDIR}/${pkgname}.desktop" 755 usr/share/applications
|
vinstall "${FILESDIR}/${pkgname}.desktop" 755 usr/share/applications
|
||||||
|
|
Loading…
Reference in New Issue