Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

117.6. graphene-1.10.8

Thin layer of vector and matrix types for 2D and 3D graphics, used by GTK 4

1.10.8-1 · MIT · 0.2 SBU · 1.0 MiB, 34 files · 41_system, 608 of 1047 · ports/core/graphics-libs/graphene

Homepage: https://ebassi.github.io/graphene/

Depends on: meson, glib, gobject-introspection, glib-introspection.

Required by (2): gst-plugins-base, gtk4.

Sources: graphene-1.10.8.tar.xz (326.1 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install graphene'

build.sh:

meson setup build \
	--prefix=/usr --sysconfdir=/etc --libdir=lib \
	--buildtype=release \
	-Dgobject_types=true \
	-Dintrospection=enabled \
	-Dgcc_vector=true \
	-Dsse2=true \
	-Darm_neon=false \
	-Dgtk_doc=false \
	-Dtests=false \
	-Dinstalled_tests=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: libgraphene-1.0.so.

Directories: /usr/include/graphene-1.0, /usr/lib/graphene-1.0, /usr/share/licenses/graphene.