diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-01-10 05:53:27 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-01-10 05:53:27 +0000 |
commit | d477ab195209ce549036582a6a29897c69fb6d0f (patch) | |
tree | 939c68462d762b258e2bccd224cdd7fc0fdcf696 /graphics/blend2d | |
parent | ceee9a83442cb4bb044e9bfe836031f7e5df50f4 (diff) | |
download | ports-d477ab195209ce549036582a6a29897c69fb6d0f.tar.gz ports-d477ab195209ce549036582a6a29897c69fb6d0f.zip |
New port: graphics/blend2d: 2D Vector Graphics Engine Powered by a JIT Compiler
Notes
Notes:
svn path=/head/; revision=522556
Diffstat (limited to 'graphics/blend2d')
-rw-r--r-- | graphics/blend2d/Makefile | 22 | ||||
-rw-r--r-- | graphics/blend2d/distinfo | 3 | ||||
-rw-r--r-- | graphics/blend2d/files/patch-CMakeLists.txt | 11 | ||||
-rw-r--r-- | graphics/blend2d/pkg-descr | 10 | ||||
-rw-r--r-- | graphics/blend2d/pkg-plist | 29 |
5 files changed, 75 insertions, 0 deletions
diff --git a/graphics/blend2d/Makefile b/graphics/blend2d/Makefile new file mode 100644 index 000000000000..5259bbfc187c --- /dev/null +++ b/graphics/blend2d/Makefile @@ -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> diff --git a/graphics/blend2d/distinfo b/graphics/blend2d/distinfo new file mode 100644 index 000000000000..ec0c47b3c219 --- /dev/null +++ b/graphics/blend2d/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1578632852 +SHA256 (blend2d-blend2d-g20200108-592d1ba52672bbf6365aba476bfe26b7bd2dfab8_GH0.tar.gz) = d46a87c10a81218ee15b36e9689de37a689f79bc867019f2a4a615e7aea4abd9 +SIZE (blend2d-blend2d-g20200108-592d1ba52672bbf6365aba476bfe26b7bd2dfab8_GH0.tar.gz) = 651784 diff --git a/graphics/blend2d/files/patch-CMakeLists.txt b/graphics/blend2d/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..427ba21240d1 --- /dev/null +++ b/graphics/blend2d/files/patch-CMakeLists.txt @@ -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") diff --git a/graphics/blend2d/pkg-descr b/graphics/blend2d/pkg-descr new file mode 100644 index 000000000000..30ead84f2039 --- /dev/null +++ b/graphics/blend2d/pkg-descr @@ -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/ diff --git a/graphics/blend2d/pkg-plist b/graphics/blend2d/pkg-plist new file mode 100644 index 000000000000..ed879666ac0d --- /dev/null +++ b/graphics/blend2d/pkg-plist @@ -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 |