Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2020 05:53:27 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522556 - in head/graphics: . blend2d blend2d/files
Message-ID:  <202001100553.00A5rRtR003677@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Jan 10 05:53:27 2020
New Revision: 522556
URL: https://svnweb.freebsd.org/changeset/ports/522556

Log:
  New port: graphics/blend2d: 2D Vector Graphics Engine Powered by a JIT Compiler

Added:
  head/graphics/blend2d/
  head/graphics/blend2d/Makefile   (contents, props changed)
  head/graphics/blend2d/distinfo   (contents, props changed)
  head/graphics/blend2d/files/
  head/graphics/blend2d/files/patch-CMakeLists.txt   (contents, props changed)
  head/graphics/blend2d/pkg-descr   (contents, props changed)
  head/graphics/blend2d/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Fri Jan 10 05:18:40 2020	(r522555)
+++ head/graphics/Makefile	Fri Jan 10 05:53:27 2020	(r522556)
@@ -67,6 +67,7 @@
     SUBDIR += barcode
     SUBDIR += batik
     SUBDIR += bitmap
+    SUBDIR += blend2d
     SUBDIR += blender
     SUBDIR += blender-doc
     SUBDIR += bmeps

Added: head/graphics/blend2d/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/blend2d/Makefile	Fri Jan 10 05:53:27 2020	(r522556)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	blend2d
+DISTVERSION=	g20200108
+CATEGORIES=	graphics
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	2D Vector Graphics Engine Powered by a JIT Compiler
+
+LICENSE=	ZLIB
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libasmjit.so:devel/asmjit
+
+USES=		cmake localbase
+USE_GITHUB=	yes
+GH_TAGNAME=	592d1ba52672bbf6365aba476bfe26b7bd2dfab8
+USE_LDCONFIG=	yes
+
+LDFLAGS+=	${LOCALBASE}/lib/libasmjit.so # see https://github.com/blend2d/blend2d/issues/57
+
+.include <bsd.port.mk>

Added: head/graphics/blend2d/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/blend2d/distinfo	Fri Jan 10 05:53:27 2020	(r522556)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1578632852
+SHA256 (blend2d-blend2d-g20200108-592d1ba52672bbf6365aba476bfe26b7bd2dfab8_GH0.tar.gz) = d46a87c10a81218ee15b36e9689de37a689f79bc867019f2a4a615e7aea4abd9
+SIZE (blend2d-blend2d-g20200108-592d1ba52672bbf6365aba476bfe26b7bd2dfab8_GH0.tar.gz) = 651784

Added: head/graphics/blend2d/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/blend2d/files/patch-CMakeLists.txt	Fri Jan 10 05:53:27 2020	(r522556)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2020-01-10 05:21:39 UTC
++++ CMakeLists.txt
+@@ -299,7 +299,7 @@ if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
+ endif()
+ 
+ # Find asmjit dependency if building with JIT support.
+-if (NOT BLEND2D_BUILD_NO_JIT)
++if (FALSE AND NOT BLEND2D_BUILD_NO_JIT)
+   if (NOT DEFINED ASMJIT_DIR)
+     foreach(dir "${BLEND2D_DIR}/3rdparty/asmjit"
+                 "${CMAKE_CURRENT_LIST_DIR}/../asmjit")

Added: head/graphics/blend2d/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/blend2d/pkg-descr	Fri Jan 10 05:53:27 2020	(r522556)
@@ -0,0 +1,10 @@
+Blend2D is a high performance 2D vector graphics engine written in C++ and
+released under the Zlib license. It has a built-in JIT compiler that generates
+optimized pipelines at runtime. Additionally, the engine features a new
+rasterizer that has been written from scratch. It delivers superior performance
+while quality is comparable to rasterizers used by AGG and FreeType. The
+performance has been optimized by using an innovative approach to index data
+that is built during rasterization and scanned during composition. The
+rasterizer is robust and excels in rendering complex vector art and text.
+
+WWW: https://blend2d.com/

Added: head/graphics/blend2d/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/blend2d/pkg-plist	Fri Jan 10 05:53:27 2020	(r522556)
@@ -0,0 +1,29 @@
+include/blend2d-debug.h
+include/blend2d-impl.h
+include/blend2d.h
+include/blend2d/api-impl.h
+include/blend2d/api.h
+include/blend2d/array.h
+include/blend2d/bitarray.h
+include/blend2d/context.h
+include/blend2d/filesystem.h
+include/blend2d/font.h
+include/blend2d/fontdefs.h
+include/blend2d/fontmanager.h
+include/blend2d/format.h
+include/blend2d/geometry.h
+include/blend2d/glyphbuffer.h
+include/blend2d/gradient.h
+include/blend2d/image.h
+include/blend2d/imagecodec.h
+include/blend2d/matrix.h
+include/blend2d/path.h
+include/blend2d/pattern.h
+include/blend2d/pixelconverter.h
+include/blend2d/random.h
+include/blend2d/region.h
+include/blend2d/rgba.h
+include/blend2d/runtime.h
+include/blend2d/string.h
+include/blend2d/variant.h
+lib/libblend2d.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001100553.00A5rRtR003677>