diff options
author | prlw1 <prlw1@pkgsrc.org> | 2020-09-04 11:21:41 +0000 |
---|---|---|
committer | prlw1 <prlw1@pkgsrc.org> | 2020-09-04 11:21:41 +0000 |
commit | 5865c4839c4906f8af877875ca603241bf9ade93 (patch) | |
tree | d784b6fa51942e229de1390874ef1e1cef390961 /graphics/graphene/Makefile | |
parent | ab4e741f62e48da44399c3475a594391466576ef (diff) | |
download | pkgsrc-5865c4839c4906f8af877875ca603241bf9ade93.tar.gz |
Add graphene 1.10.2
Needed for GTK4.
Description:
When creating graphic libraries you most likely end up dealing with
points and rectangles. If you're particularly unlucky, you may end
up dealing with affine matrices and 2D transformations. If you're
writing a graphic library with 3D transformations, though, you are
going to hit the jackpot: 4x4 matrices, projections, transformations,
vectors, and quaternions.
Most of this stuff exists, in various forms, in other libraries,
but it has the major drawback of coming along with the rest of
those libraries, which may or may not be what you want. Those
libraries are also available in various languages, as long as those
languages are C++; again, it may or may not be something you want.
For this reason, I decided to write the thinnest, smallest possible
layer needed to write a canvas library; given its relative size,
and the propensity for graphics libraries to have a pun in their
name, I decided to call it Graphene.
This library provides types and their relative API; it does not
deal with windowing system surfaces, drawing, scene graphs, or
input. You're supposed to do that yourself, in your own canvas
implementation, which is the whole point of writing the library in
the first place.
Diffstat (limited to 'graphics/graphene/Makefile')
-rw-r--r-- | graphics/graphene/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/graphene/Makefile b/graphics/graphene/Makefile new file mode 100644 index 00000000000..065227a191d --- /dev/null +++ b/graphics/graphene/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2020/09/04 11:21:41 prlw1 Exp $ + +DISTNAME= graphene-1.10.2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_GITHUB:=ebassi/graphene/releases/download/${PKGVERSION_NOREV:R}/} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= prlw1@cam.ac.uk +HOMEPAGE= https://ebassi.github.io/graphene/ +COMMENT= Thin layer of graphic data types +LICENSE= mit + +USE_TOOLS+= pkg-config + +MESON_ARGS+= -Dgobject_types=true +MESON_ARGS+= -Dintrospection=true +MESON_ARGS+= -Dtests=false +MESON_ARGS+= -Dinstalled_tests=false + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/gobject-introspection/buildlink3.mk" +.include "../../devel/meson/build.mk" +.include "../../mk/bsd.pkg.mk" |