graphics: Add SDL2_gfx

Graphics drawing primitives and other support functions wrapped up in an
add-on, C-based library for the Simple Direct Media (SDL) cross-platform
API layer.
This commit is contained in:
nia 2020-03-05 13:21:53 +00:00
parent d0b36d8a96
commit d5d8bc22b2
6 changed files with 58 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.881 2020/02/20 06:21:02 gutteridge Exp $
# $NetBSD: Makefile,v 1.882 2020/03/05 13:21:53 nia Exp $
#
COMMENT= Graphics tools and libraries
@ -34,6 +34,7 @@ SUBDIR+= R-munsell
SUBDIR+= R-scales
SUBDIR+= R-viridis
SUBDIR+= R-viridisLite
SUBDIR+= SDL2_gfx
SUBDIR+= SDL2_image
SUBDIR+= SDL_image
SUBDIR+= aalib

3
graphics/SDL2_gfx/DESCR Normal file
View file

@ -0,0 +1,3 @@
Graphics drawing primitives and other support functions wrapped up in an
add-on, C-based library for the Simple Direct Media (SDL) cross-platform
API layer.

View file

@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.1 2020/03/05 13:21:53 nia Exp $
DISTNAME= SDL2_gfx-1.0.4
CATEGORIES= graphics
MASTER_SITES= https://www.ferzkopp.net/Software/SDL2_gfx/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
COMMENT= Graphics drawing primitives library for SDL2
LICENSE= zlib
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --disable-sdltest
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
CONFIGURE_ARGS+= --disable-mmx
.endif
PKGCONFIG_OVERRIDE+= SDL2_gfx.pc.in
.include "../../devel/SDL2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

7
graphics/SDL2_gfx/PLIST Normal file
View file

@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.1 2020/03/05 13:21:53 nia Exp $
include/SDL2/SDL2_framerate.h
include/SDL2/SDL2_gfxPrimitives.h
include/SDL2/SDL2_imageFilter.h
include/SDL2/SDL2_rotozoom.h
lib/libSDL2_gfx.la
lib/pkgconfig/SDL2_gfx.pc

View file

@ -0,0 +1,14 @@
# $NetBSD: buildlink3.mk,v 1.1 2020/03/05 13:21:53 nia Exp $
BUILDLINK_TREE+= SDL2_gfx
.if !defined(SDL2_GFX_BUILDLINK3_MK)
SDL2_GFX_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.SDL2_gfx+= SDL2_gfx>=1.0.4
BUILDLINK_PKGSRCDIR.SDL2_gfx?= ../../graphics/SDL2_gfx
.include "../../devel/SDL2/buildlink3.mk"
.endif # SDL2_GFX_BUILDLINK3_MK
BUILDLINK_TREE+= -SDL2_gfx

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/03/05 13:21:53 nia Exp $
SHA1 (SDL2_gfx-1.0.4.tar.gz) = 7f3c8c1d7550014849d524fe215f0bf6dd172e01
RMD160 (SDL2_gfx-1.0.4.tar.gz) = 7f22e57a4e6ec7b57dade9d7b07a2e094dbd6c23
SHA512 (SDL2_gfx-1.0.4.tar.gz) = 81a100d3c8c3a7c6bd37a23f1290ff10685f8e62fbecd83b0086aae4edc721483e2153cd4219fbd9168f115eea0ea6b25f9be375faf5761f0babdfb1b52fe482
Size (SDL2_gfx-1.0.4.tar.gz) = 1230588 bytes