pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics graphics: Add SDL2_gfx



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fbd154b8613
branches:  trunk
changeset: 412367:5fbd154b8613
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Mar 05 13:21:53 2020 +0000

description:
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.

diffstat:

 graphics/Makefile               |   3 ++-
 graphics/SDL2_gfx/DESCR         |   3 +++
 graphics/SDL2_gfx/Makefile      |  26 ++++++++++++++++++++++++++
 graphics/SDL2_gfx/PLIST         |   7 +++++++
 graphics/SDL2_gfx/buildlink3.mk |  14 ++++++++++++++
 graphics/SDL2_gfx/distinfo      |   6 ++++++
 6 files changed, 58 insertions(+), 1 deletions(-)

diffs (93 lines):

diff -r 5162eea1a952 -r 5fbd154b8613 graphics/Makefile
--- a/graphics/Makefile Thu Mar 05 13:19:32 2020 +0000
+++ b/graphics/Makefile Thu Mar 05 13:21:53 2020 +0000
@@ -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-scales
 SUBDIR+=       R-viridis
 SUBDIR+=       R-viridisLite
+SUBDIR+=       SDL2_gfx
 SUBDIR+=       SDL2_image
 SUBDIR+=       SDL_image
 SUBDIR+=       aalib
diff -r 5162eea1a952 -r 5fbd154b8613 graphics/SDL2_gfx/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/SDL2_gfx/DESCR   Thu Mar 05 13:21:53 2020 +0000
@@ -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 -r 5162eea1a952 -r 5fbd154b8613 graphics/SDL2_gfx/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/SDL2_gfx/Makefile        Thu Mar 05 13:21:53 2020 +0000
@@ -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@localhost
+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 -r 5162eea1a952 -r 5fbd154b8613 graphics/SDL2_gfx/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/SDL2_gfx/PLIST   Thu Mar 05 13:21:53 2020 +0000
@@ -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 -r 5162eea1a952 -r 5fbd154b8613 graphics/SDL2_gfx/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/SDL2_gfx/buildlink3.mk   Thu Mar 05 13:21:53 2020 +0000
@@ -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 -r 5162eea1a952 -r 5fbd154b8613 graphics/SDL2_gfx/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/SDL2_gfx/distinfo        Thu Mar 05 13:21:53 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index