You can use glew and glu here.
{
"name": "glew",
"no-autogen": true,
"make-args": [
"GLEW_PREFIX=${FLATPAK_DEST}",
"GLEW_DEST=${FLATPAK_DEST}",
"LIBDIR=${FLATPAK_DEST}/lib",
"CFLAGS.EXTRA:=${CFLAGS} -fPIC",
"LDFLAGS.EXTRA=${LDFLAGS}"
],
"make-install-args": [
"GLEW_PREFIX=${FLATPAK_DEST}",
"GLEW_DEST=${FLATPAK_DEST}",
"LIBDIR=${FLATPAK_DEST}/lib",
"CFLAGS.EXTRA:=${CFLAGS} -fPIC",
"LDFLAGS.EXTRA=${LDFLAGS}"
],
"sources": [
{
"type": "archive",
This file has been truncated. show original
{
"name": "glu",
"config-opts": ["--disable-static"],
"sources": [
{
"type": "archive",
"url": "https://mesa.freedesktop.org/archive/glu/glu-9.0.2.tar.xz",
"sha256": "6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4"
}
],
"cleanup": [ "/include", "/lib/*.a", "/lib/*.la", "/lib/pkgconfig" ]
}
1 Like
Almost there - just need to make sure the translations are set up before build. It seems like once the build starts, cmake can’t access the network to download avogadro-i18n
:
It does not allow network connection during build, so it need to be download beforehand.
I did like this.