PKGNAME=openscenegraph
PKGSEC=libs
PKGDEP="curl giflib jasper librsvg libvncserver openexr poppler qt-5 xine-lib \
        libglvnd gdal"
PKGDES="Real-time graphics toolkit"

PKGEPOCH=3
PKGBREAK="flightgear<=2020.3.11 openmw<=0.47.0 simgear<=2018.2.2-2"

# Force Release build type, as other projects expect this build type, and our
# default RelWithDebinfo build type would result in different sonames
# (libosg*.so => libosg*rd.).
CMAKE_AFTER="
	-DCMAKE_BUILD_TYPE=Release
	-DOpenGL_GL_PREFERENCE=GLVND
"
