Date: Wed, 17 Mar 2021 22:29:38 +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: r568693 - in head/graphics: . freetype-gl Message-ID: <202103172229.12HMTcs8089286@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Wed Mar 17 22:29:37 2021 New Revision: 568693 URL: https://svnweb.freebsd.org/changeset/ports/568693 Log: New port: graphics/freetype-gl: C OpenGL Freetype engine library Added: head/graphics/freetype-gl/ head/graphics/freetype-gl/Makefile (contents, props changed) head/graphics/freetype-gl/distinfo (contents, props changed) head/graphics/freetype-gl/pkg-descr (contents, props changed) head/graphics/freetype-gl/pkg-plist (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Wed Mar 17 22:27:32 2021 (r568692) +++ head/graphics/Makefile Wed Mar 17 22:29:37 2021 (r568693) @@ -213,6 +213,7 @@ SUBDIR += fraqtive SUBDIR += freeglut SUBDIR += freeimage + SUBDIR += freetype-gl SUBDIR += frei0r SUBDIR += frei0r-plugins SUBDIR += frei0r-plugins-gavl Added: head/graphics/freetype-gl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/freetype-gl/Makefile Wed Mar 17 22:29:37 2021 (r568693) @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= freetype-gl +DISTVERSION= g20210208 +CATEGORIES= graphics + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= a38359cdcd97bfcf5d02dd65c66f516eac8208ad.patch:-p1 # https://github.com/rougier/freetype-gl/pull/233: Remove the STATIC requirement from the library +PATCHFILES+= 00a13d4c9e31f9c4e68e8ab30e2f7ec5b0e4bf60.patch:-p1 # https://github.com/rougier/freetype-gl/pull/235: Fix Fontconfig dependency name in demos + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C OpenGL Freetype engine library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfreetype.so:print/freetype2 +TEST_DEPENDS= ImageMagick7-nox11>0:graphics/ImageMagick7-nox11 + +USES= cmake:noninja gl +USE_GL= glew +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= rougier +GH_TAGNAME= 647b062 + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= freetype-gl_BUILD_DEMOS freetype-gl_BUILD_APIDOC freetype-gl_BUILD_TESTS # DEMOS depend on graphics/anttweakbar + +# DEMOS depend on glfw3 + +do-test: # build breaks: https://github.com/rougier/freetype-gl/issues/234 + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dfreetype-gl_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include <bsd.port.mk> Added: head/graphics/freetype-gl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/freetype-gl/distinfo Wed Mar 17 22:29:37 2021 (r568693) @@ -0,0 +1,7 @@ +TIMESTAMP = 1616019755 +SHA256 (rougier-freetype-gl-g20210208-647b062_GH0.tar.gz) = 25623958a56e686626e318e8772d133203e1111a73ec0b4efb8785162541d701 +SIZE (rougier-freetype-gl-g20210208-647b062_GH0.tar.gz) = 11947093 +SHA256 (a38359cdcd97bfcf5d02dd65c66f516eac8208ad.patch) = 36f29ad78708579a26e7bddf0d24746a99c70ea11aa4be53f3636934c8e133c9 +SIZE (a38359cdcd97bfcf5d02dd65c66f516eac8208ad.patch) = 1064 +SHA256 (00a13d4c9e31f9c4e68e8ab30e2f7ec5b0e4bf60.patch) = fec0ebf2439dea2dff47421c06fe79d3c88a6c777091a5a5b729f227a939712a +SIZE (00a13d4c9e31f9c4e68e8ab30e2f7ec5b0e4bf60.patch) = 967 Added: head/graphics/freetype-gl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/freetype-gl/pkg-descr Wed Mar 17 22:29:37 2021 (r568693) @@ -0,0 +1,4 @@ +A small library for displaying Unicode in OpenGL using a single texture and a +single vertex buffer. + +WWW: https://github.com/rougier/freetype-gl Added: head/graphics/freetype-gl/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/freetype-gl/pkg-plist Wed Mar 17 22:29:37 2021 (r568693) @@ -0,0 +1,16 @@ +include/freetype-gl/distance-field.h +include/freetype-gl/edtaa3func.h +include/freetype-gl/font-manager.h +include/freetype-gl/freetype-gl.h +include/freetype-gl/markup.h +include/freetype-gl/opengl.h +include/freetype-gl/platform.h +include/freetype-gl/text-buffer.h +include/freetype-gl/texture-atlas.h +include/freetype-gl/texture-font.h +include/freetype-gl/utf8-utils.h +include/freetype-gl/vec234.h +include/freetype-gl/vector.h +include/freetype-gl/vertex-attribute.h +include/freetype-gl/vertex-buffer.h +lib/libfreetype-gl.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103172229.12HMTcs8089286>