diff options
author | nia <nia@pkgsrc.org> | 2020-03-05 13:21:53 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-03-05 13:21:53 +0000 |
commit | 45607980a51332369a7a406d33a16532f59e8f4f (patch) | |
tree | de3a2a5ec87c0855f0576fe6769fb79b7262a007 | |
parent | 8fbb23edffd3ef7dd8fc68efaf81017cd21f6f74 (diff) | |
download | pkgsrc-45607980a51332369a7a406d33a16532f59e8f4f.tar.gz |
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.
-rw-r--r-- | graphics/Makefile | 3 | ||||
-rw-r--r-- | graphics/SDL2_gfx/DESCR | 3 | ||||
-rw-r--r-- | graphics/SDL2_gfx/Makefile | 26 | ||||
-rw-r--r-- | graphics/SDL2_gfx/PLIST | 7 | ||||
-rw-r--r-- | graphics/SDL2_gfx/buildlink3.mk | 14 | ||||
-rw-r--r-- | graphics/SDL2_gfx/distinfo | 6 |
6 files changed, 58 insertions, 1 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 73313f8e4aa..ede2cf4d3c6 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -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 diff --git a/graphics/SDL2_gfx/DESCR b/graphics/SDL2_gfx/DESCR new file mode 100644 index 00000000000..26d73315e55 --- /dev/null +++ b/graphics/SDL2_gfx/DESCR @@ -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. diff --git a/graphics/SDL2_gfx/Makefile b/graphics/SDL2_gfx/Makefile new file mode 100644 index 00000000000..674f779b309 --- /dev/null +++ b/graphics/SDL2_gfx/Makefile @@ -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" diff --git a/graphics/SDL2_gfx/PLIST b/graphics/SDL2_gfx/PLIST new file mode 100644 index 00000000000..0ee833d0e26 --- /dev/null +++ b/graphics/SDL2_gfx/PLIST @@ -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 diff --git a/graphics/SDL2_gfx/buildlink3.mk b/graphics/SDL2_gfx/buildlink3.mk new file mode 100644 index 00000000000..e6ddb19bcc7 --- /dev/null +++ b/graphics/SDL2_gfx/buildlink3.mk @@ -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 diff --git a/graphics/SDL2_gfx/distinfo b/graphics/SDL2_gfx/distinfo new file mode 100644 index 00000000000..4ce4def3f07 --- /dev/null +++ b/graphics/SDL2_gfx/distinfo @@ -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 |