head	1.10;
access;
symbols
	pkgsrc-2026Q1:1.9.0.4
	pkgsrc-2026Q1-base:1.9
	pkgsrc-2025Q4:1.9.0.2
	pkgsrc-2025Q4-base:1.9
	pkgsrc-2025Q3:1.8.0.2
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.7.0.16
	pkgsrc-2025Q2-base:1.7
	pkgsrc-2025Q1:1.7.0.14
	pkgsrc-2025Q1-base:1.7
	pkgsrc-2024Q4:1.7.0.12
	pkgsrc-2024Q4-base:1.7
	pkgsrc-2024Q3:1.7.0.10
	pkgsrc-2024Q3-base:1.7
	pkgsrc-2024Q2:1.7.0.8
	pkgsrc-2024Q2-base:1.7
	pkgsrc-2024Q1:1.7.0.6
	pkgsrc-2024Q1-base:1.7
	pkgsrc-2023Q4:1.7.0.4
	pkgsrc-2023Q4-base:1.7
	pkgsrc-2023Q3:1.7.0.2
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.6.0.8
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.6.0.6
	pkgsrc-2023Q1-base:1.6
	pkgsrc-2022Q4:1.6.0.4
	pkgsrc-2022Q4-base:1.6
	pkgsrc-2022Q3:1.6.0.2
	pkgsrc-2022Q3-base:1.6
	pkgsrc-2022Q2:1.5.0.2
	pkgsrc-2022Q2-base:1.5
	pkgsrc-2022Q1:1.4.0.4
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.4.0.2
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.3.0.4
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.3.0.2
	pkgsrc-2021Q2-base:1.3
	pkgsrc-2021Q1:1.2.0.6
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.4
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.2.0.2
	pkgsrc-2020Q3-base:1.2;
locks; strict;
comment	@# @;


1.10
date	2026.05.15.17.00.59;	author wiz;	state Exp;
branches;
next	1.9;
commitid	OI7ZsJm2dPRYQVFG;

1.9
date	2025.10.23.20.37.31;	author wiz;	state Exp;
branches;
next	1.8;
commitid	1V2hBZn9ypXaCJfG;

1.8
date	2025.07.19.05.37.39;	author wiz;	state Exp;
branches;
next	1.7;
commitid	pfsNycT46uNAJj3G;

1.7
date	2023.08.14.05.24.33;	author wiz;	state Exp;
branches;
next	1.6;
commitid	LOSB79OLVxvXjIAE;

1.6
date	2022.09.09.15.21.13;	author wiz;	state Exp;
branches;
next	1.5;
commitid	NpzPsx6nydzxwcTD;

1.5
date	2022.05.14.15.31.50;	author jperkin;	state Exp;
branches;
next	1.4;
commitid	5AcapnzHWIapn2ED;

1.4
date	2021.12.08.16.02.09;	author adam;	state Exp;
branches;
next	1.3;
commitid	2PyWjHx5T8rqARjD;

1.3
date	2021.04.12.13.23.36;	author nia;	state Exp;
branches;
next	1.2;
commitid	mqBG4DR07Y0Fq0PC;

1.2
date	2020.09.06.13.24.40;	author wiz;	state Exp;
branches;
next	1.1;
commitid	h9XyVjhuCj9trZmC;

1.1
date	2020.09.04.11.21.41;	author prlw1;	state Exp;
branches;
next	;
commitid	gLoDaVEjZZZLOImC;


desc
@@


1.10
log
@*: switch to glib2-introspection

The gobject-introspection package installed _some_ of the introspection
files needed for glib2, but not all - some of them are built from the glib2
sources. glib2-introspection now contains all glib2-related introspection
files.

Add a tool dependency on the new package where needed.

Remove gobject-introspection from buildlink3.mk files - this is usually
a tool and should not be forwarded via buildlink3.

Some cleanups/fixes for -current while here.
@
text
@# $NetBSD: Makefile,v 1.9 2025/10/23 20:37:31 wiz Exp $

DISTNAME=	graphene-1.10.8
PKGREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GITHUB:=ebassi/}
GITHUB_TAG=	${PKGVERSION_NOREV}

MAINTAINER=	prlw1@@cam.ac.uk
HOMEPAGE=	https://ebassi.github.io/graphene/
COMMENT=	Thin layer of graphic data types
LICENSE=	mit

TOOL_DEPENDS+=	glib2-introspection-[0-9]*:../../devel/glib2-introspection

USE_TOOLS+=	pkg-config

MESON_ARGS+=	-Dgobject_types=true
MESON_ARGS+=	-Dintrospection=enabled
MESON_ARGS+=	-Dtests=false
MESON_ARGS+=	-Dinstalled_tests=false

CFLAGS.SunOS+=	-D__EXTENSIONS__

PYTHON_FOR_BUILD_ONLY=	tool

.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../devel/meson/build.mk"
.include "../../mk/bsd.pkg.mk"
@


1.9
log
@*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2025/07/19 05:37:39 wiz Exp $
d14 2
@


1.8
log
@*: bump gobject-introspection users for ABI bump

XXX: I'm actually not sure why the ABI was bumped for 1.84, but now that
it is we have to bump PKGREVISIONs, otherwise pkgin is quite unhappy
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/08/14 05:24:33 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.7
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/09/09 15:21:13 wiz Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.6
log
@graphene: update to 1.10.8.

Changes since 1.10.6

    ray: simplify NaN checking [Érico Nogueira]
    Build fixes [Dor Askayo, q66, Chun-wei Fan, Marc-André Lureau]
    SIMD: Make reciprocal operations 0-safe [Dor Askayo]
    SIMD: Add simplified scalar reciprocal [Dor Askayo]
    ray: Improve intersection [Dor Askayo]
    tests: Fix installed introspection test [Matthias Devlamynck]
    Fix detection of AArch64 [Dor Askayo]
    tests: Add ray intersection unit [Sebastian Keller]
    Fix ARM64 build on Windows [Chun-wei Fan]
    Documentation fixes

Issues fixed since 1.10.4

    Hide GRAPHENE_SIMD_S from the introspection data [#211, Simon McVittie]
    Nudge ray axis when intersecting a box [#214, Jonas Ådahl]

Changes since 1.10.2:

    Add ARM NEON support when building with Visual Studio [Chun-wei Fan]
    Build fix on ARM64 Windows [Chun-wei Fan]
    Drop deprecated "python3" Meson module
    Fix detection of non-intersecting boxes [Daniel van Vugt, #201]
    Only enable SSE2 on x86_64 [Xi Ruoyao]
    Use the compiler-appropriate alignment attributes
    Change introspection option to a yielding feature [Xavier Claessens]
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/05/14 15:31:50 jperkin Exp $
d4 1
@


1.5
log
@graphene: SunOS needs -D__EXTENSIONS__
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/12/08 16:02:09 adam Exp $
d3 1
a3 2
DISTNAME=	graphene-1.10.2
PKGREVISION=	1
d6 1
a6 2
GITHUB_RELEASE=	${PKGVERSION_NOREV}
EXTRACT_SUFX=	.tar.xz
d16 1
a16 1
MESON_ARGS+=	-Dintrospection=true
d26 1
@


1.4
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/04/12 13:23:36 nia Exp $
d22 2
@


1.3
log
@graphene: set PYTHON_FOR_BUILD_ONLY
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/09/06 13:24:40 wiz Exp $
d4 1
@


1.2
log
@graphene: simplify download URL
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/09/04 11:21:41 prlw1 Exp $
d21 2
@


1.1
log
@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.
@
text
@d1 1
a1 1
# $NetBSD$
d5 2
a6 1
MASTER_SITES=	${MASTER_SITE_GITHUB:=ebassi/graphene/releases/download/${PKGVERSION_NOREV:R}/}
@

