mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
1b39ee44f9
optimizations are optional, and used only if both Graphene was compiled with support for them and if the system you're running on has them. Currently, Graphene supports the following platform-specific fast paths: Streaming SIMD Extensions (SSE) 2 ARM NEON GCC vector extensions In the remote case in which none of these optimizations are available, Graphene will fall back to a naïve scalar implementation http://ebassi.github.io/graphene/
39 lines
888 B
Makefile
39 lines
888 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= graphene
|
|
PORTVERSION= 1.6.0
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= GNOME
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Optimizations for speeding up vector operations
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= gnome meson pkgconfig python:3 shebangfix tar:xz
|
|
USE_GNOME= glib20 py3gobject3
|
|
|
|
OPTIONS_SUB= yes
|
|
OPTIONS_DEFINE= GTKDOC #INTROSPECTION
|
|
#OPTIONS_DEFAULT=INTROSPECTION
|
|
|
|
SHEBANG_FILES= src/identfilter.py
|
|
|
|
USE_GNOME+= introspection:build
|
|
#INTROSPECTION_DESC= Build Gobject Introspection
|
|
#INTROSPECTION_USE= gnome=introspection:build
|
|
#INTROSPECTION_MESON_OFF= -Denable-introspection=false
|
|
|
|
GTKDOC_MESON_TRUE= enable-gtk-doc
|
|
GTKDOC_DESC= Build documentation
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|=python |=${PYTHON_VERSION} |g' \
|
|
${WRKSRC}/src/meson.build
|
|
|
|
# We don't want install tests
|
|
post-install:
|
|
@${RM} -rf ${STAGEDIR}${PREFIX}/libexec/installed-tests
|
|
|
|
.include <bsd.port.mk>
|