diff --git a/graphics/sdl2_gpu/Makefile b/graphics/sdl2_gpu/Makefile index 3158ab345d46..1e4b144949fd 100644 --- a/graphics/sdl2_gpu/Makefile +++ b/graphics/sdl2_gpu/Makefile @@ -1,33 +1,36 @@ PORTNAME= sdl2_gpu DISTVERSIONPREFIX= v DISTVERSION= 0.12.0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= fuz@FreeBSD.org COMMENT= Hardware-accelerated 2D graphics library WWW= https://github.com/grimfang4/sdl-gpu LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake gl sdl pkgconfig USE_LDCONFIG= yes USE_GL= gl glew glu USE_SDL= sdl2 USE_GITHUB= yes GH_ACCOUNT= grimfang4 GH_PROJECT= sdl-gpu CMAKE_ON= USE_SYSTEM_GLEW DYNAMIC_GLES_3 CFLAGS+= -Wno-incompatible-function-pointer-types OPTIONS_DEFINE= DOCS +# OOM condition running dot?! +OPTIONS_EXCLUDE= DOCS DOCS_CMAKE_BOOL= BUILD_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_ALL_TARGET= doc do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${BUILD_WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/sdl2_gpu/pkg-descr b/graphics/sdl2_gpu/pkg-descr index f19baa90053b..b9b310565b4a 100644 --- a/graphics/sdl2_gpu/pkg-descr +++ b/graphics/sdl2_gpu/pkg-descr @@ -1,17 +1,17 @@ SDL_gpu, a library for making hardware-accelerated 2D graphics easy. - High performance (it automatically collects and submits batches instead of separate draw commands for each sprite and redundant state changes) - Shader API - Arbitrary geometry rendering (triangles) - Can be integrated with explicit OpenGL calls (mixed 2D and 3D) - Full blend state control - Built-in primitive shapes (points, lines, tris, rects, ellipses, polygons, even arcs) - Uses a style familiar to SDL 1.2 users - Compatible with either SDL 1.2 or 2.0 - Loads BMP, TGA, and PNG files via stb-image - Rotates and scales about the center of images, making reasoning - about the resulting corner coordinates more obvious (adjustable + about the resulting corner coordinates more obvious (adjustable via anchor settings)