graphene: Import graphene-1.10.0 as wip/graphene

This commit is contained in:
Dan Cîrnaț 2020-06-17 19:09:54 +02:00
parent 5834d92461
commit c73406116e
5 changed files with 122 additions and 0 deletions

13
graphene/DESCR Normal file
View File

@ -0,0 +1,13 @@
Graphene - a thin layer of types for graphic libraries
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.

21
graphene/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $NetBSD$
DISTNAME= graphene-1.10.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=ebassi/graphene/releases/download/1.10.0/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= dan@alt.md
HOMEPAGE= https://github.com/ebassi/graphene
COMMENT= Thin layer of graphic data types
LICENSE= mit
USE_TOOLS+= pkg-config
MESON_ARGS+= -Dgobject_types=true
MESON_ARGS+= -Dintrospection=true
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../mk/bsd.pkg.mk"

70
graphene/PLIST Normal file
View File

@ -0,0 +1,70 @@
@comment $NetBSD$
include/graphene-1.0/graphene-box.h
include/graphene-1.0/graphene-euler.h
include/graphene-1.0/graphene-frustum.h
include/graphene-1.0/graphene-gobject.h
include/graphene-1.0/graphene-macros.h
include/graphene-1.0/graphene-matrix.h
include/graphene-1.0/graphene-plane.h
include/graphene-1.0/graphene-point.h
include/graphene-1.0/graphene-point3d.h
include/graphene-1.0/graphene-quad.h
include/graphene-1.0/graphene-quaternion.h
include/graphene-1.0/graphene-ray.h
include/graphene-1.0/graphene-rect.h
include/graphene-1.0/graphene-simd4f.h
include/graphene-1.0/graphene-simd4x4f.h
include/graphene-1.0/graphene-size.h
include/graphene-1.0/graphene-sphere.h
include/graphene-1.0/graphene-triangle.h
include/graphene-1.0/graphene-types.h
include/graphene-1.0/graphene-vec2.h
include/graphene-1.0/graphene-vec3.h
include/graphene-1.0/graphene-vec4.h
include/graphene-1.0/graphene-version-macros.h
include/graphene-1.0/graphene-version.h
include/graphene-1.0/graphene.h
lib/girepository-1.0/Graphene-1.0.typelib
lib/graphene-1.0/include/graphene-config.h
lib/libgraphene-1.0.so
lib/libgraphene-1.0.so.0
lib/libgraphene-1.0.so.0.1000.0
lib/pkgconfig/graphene-1.0.pc
lib/pkgconfig/graphene-gobject-1.0.pc
libexec/installed-tests/graphene-1.0/box
libexec/installed-tests/graphene-1.0/euler
libexec/installed-tests/graphene-1.0/frustum
libexec/installed-tests/graphene-1.0/matrix
libexec/installed-tests/graphene-1.0/plane
libexec/installed-tests/graphene-1.0/point
libexec/installed-tests/graphene-1.0/point3d
libexec/installed-tests/graphene-1.0/quad
libexec/installed-tests/graphene-1.0/quaternion
libexec/installed-tests/graphene-1.0/ray
libexec/installed-tests/graphene-1.0/rect
libexec/installed-tests/graphene-1.0/simd
libexec/installed-tests/graphene-1.0/size
libexec/installed-tests/graphene-1.0/sphere
libexec/installed-tests/graphene-1.0/triangle
libexec/installed-tests/graphene-1.0/vec2
libexec/installed-tests/graphene-1.0/vec3
libexec/installed-tests/graphene-1.0/vec4
share/gir-1.0/Graphene-1.0.gir
share/installed-tests/graphene-1.0/box.test
share/installed-tests/graphene-1.0/euler.test
share/installed-tests/graphene-1.0/frustum.test
share/installed-tests/graphene-1.0/matrix.test
share/installed-tests/graphene-1.0/plane.test
share/installed-tests/graphene-1.0/point.test
share/installed-tests/graphene-1.0/point3d.test
share/installed-tests/graphene-1.0/quad.test
share/installed-tests/graphene-1.0/quaternion.test
share/installed-tests/graphene-1.0/ray.test
share/installed-tests/graphene-1.0/rect.test
share/installed-tests/graphene-1.0/simd.test
share/installed-tests/graphene-1.0/size.test
share/installed-tests/graphene-1.0/sphere.test
share/installed-tests/graphene-1.0/triangle.test
share/installed-tests/graphene-1.0/vec2.test
share/installed-tests/graphene-1.0/vec3.test
share/installed-tests/graphene-1.0/vec4.test

12
graphene/buildlink3.mk Normal file
View File

@ -0,0 +1,12 @@
# $NetBSD$
BUILDLINK_TREE+= graphene
.if !defined(GRAPHENE_BUILDLINK3_MK)
GRAPHENE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.graphene+= graphene>=1.10.0
BUILDLINK_PKGSRCDIR.graphene?= ../../wip/graphene
.endif # GRAPHENE_BUILDLINK3_MK
BUILDLINK_TREE+= -graphene

6
graphene/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (graphene-1.10.0.tar.xz) = c559f57d8ae5f1242a730d049d0b7595d5fb83ec
RMD160 (graphene-1.10.0.tar.xz) = b8ea8b54646e8b8e3cfaae4eaae4e1675013a2ea
SHA512 (graphene-1.10.0.tar.xz) = 842ac2c9c2046f07f8421b99292cac348276bb1e025250c7e0dc3ec7f90cb33094b765034862f325dd78f93aa5484ad75a4ad6139fe13330d9e41e3a7cb830d0
Size (graphene-1.10.0.tar.xz) = 289452 bytes