pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   js
Date:           Sat Apr 19 20:08:23 UTC 2025

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/SDL3_image: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add graphics/SDL3_image


To generate a diff of this commit:
cvs rdiff -u -r1.1078 -r1.1079 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/SDL3_image/DESCR \
    pkgsrc/graphics/SDL3_image/Makefile pkgsrc/graphics/SDL3_image/PLIST \
    pkgsrc/graphics/SDL3_image/buildlink3.mk \
    pkgsrc/graphics/SDL3_image/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.1078 pkgsrc/graphics/Makefile:1.1079
--- pkgsrc/graphics/Makefile:1.1078     Wed Apr  2 13:03:13 2025
+++ pkgsrc/graphics/Makefile    Sat Apr 19 20:08:23 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1078 2025/04/02 13:03:13 nia Exp $
+# $NetBSD: Makefile,v 1.1079 2025/04/19 20:08:23 js Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -49,6 +49,7 @@ SUBDIR+=      R-viridisLite
 SUBDIR+=       SDL2_gfx
 SUBDIR+=       SDL2_image
 SUBDIR+=       SDL2_image-legacy
+SUBDIR+=       SDL3_image
 SUBDIR+=       SDL_image
 SUBDIR+=       aalib
 SUBDIR+=       adaptagrams

Added files:

Index: pkgsrc/graphics/SDL3_image/DESCR
diff -u /dev/null pkgsrc/graphics/SDL3_image/DESCR:1.1
--- /dev/null   Sat Apr 19 20:08:23 2025
+++ pkgsrc/graphics/SDL3_image/DESCR    Sat Apr 19 20:08:23 2025
@@ -0,0 +1,3 @@
+This is a simple library to load images of various formats as SDL surfaces.
+This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG,
+TGA, and TIFF formats.
Index: pkgsrc/graphics/SDL3_image/Makefile
diff -u /dev/null pkgsrc/graphics/SDL3_image/Makefile:1.1
--- /dev/null   Sat Apr 19 20:08:23 2025
+++ pkgsrc/graphics/SDL3_image/Makefile Sat Apr 19 20:08:23 2025
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2025/04/19 20:08:23 js Exp $
+
+DISTNAME=      SDL3_image-3.2.4
+CATEGORIES=    graphics devel
+MASTER_SITES=  http://www.libsdl.org/projects/SDL_image/release/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/libsdl-org/SDL_image
+COMMENT=       Load images as SDL surfaces
+LICENSE=       zlib
+
+USE_TOOLS+=    pkg-config
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/SDL3/buildlink3.mk"
+.include "../../graphics/libavif/buildlink3.mk"
+.include "../../graphics/libjxl/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/SDL3_image/PLIST
diff -u /dev/null pkgsrc/graphics/SDL3_image/PLIST:1.1
--- /dev/null   Sat Apr 19 20:08:23 2025
+++ pkgsrc/graphics/SDL3_image/PLIST    Sat Apr 19 20:08:23 2025
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2025/04/19 20:08:23 js Exp $
+include/SDL3_image/SDL_image.h
+lib/cmake/SDL3_image/SDL3_image-shared-targets-relwithdebinfo.cmake
+lib/cmake/SDL3_image/SDL3_image-shared-targets.cmake
+lib/cmake/SDL3_image/SDL3_imageConfig.cmake
+lib/cmake/SDL3_image/SDL3_imageConfigVersion.cmake
+lib/libSDL3_image.so
+lib/libSDL3_image.so.0
+lib/libSDL3_image.so.0.2.4
+lib/pkgconfig/sdl3-image.pc
+share/licenses/SDL3_image/LICENSE.txt
Index: pkgsrc/graphics/SDL3_image/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/SDL3_image/buildlink3.mk:1.1
--- /dev/null   Sat Apr 19 20:08:23 2025
+++ pkgsrc/graphics/SDL3_image/buildlink3.mk    Sat Apr 19 20:08:23 2025
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/04/19 20:08:23 js Exp $
+
+BUILDLINK_TREE+=       SDL3_image
+
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${MACHINE_PLATFORM:MDarwin-*-powerpc*}
+# This defines SDL3_IMAGE_BUILDLINK3_MK.
+.  include "../../graphics/SDL3_image-legacy/buildlink3.mk"
+.endif
+
+.if !defined(SDL3_IMAGE_BUILDLINK3_MK)
+SDL3_IMAGE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.SDL3_image+=     SDL3_image>=3.2.0
+BUILDLINK_ABI_DEPENDS.SDL3_image?=     SDL3_image>=3.2.0
+BUILDLINK_PKGSRCDIR.SDL3_image?=       ../../graphics/SDL3_image
+BUILDLINK_INCDIRS.SDL3_image?=         include/SDL3
+
+.include "../../devel/SDL3/buildlink3.mk"
+.endif # SDL3_IMAGE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -SDL3_image
Index: pkgsrc/graphics/SDL3_image/distinfo
diff -u /dev/null pkgsrc/graphics/SDL3_image/distinfo:1.1
--- /dev/null   Sat Apr 19 20:08:23 2025
+++ pkgsrc/graphics/SDL3_image/distinfo Sat Apr 19 20:08:23 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/04/19 20:08:23 js Exp $
+
+BLAKE2s (SDL3_image-3.2.4.tar.gz) = a4daa46818f604af2fa12ef73fe41fa410498f5508df2ec865f37ce398fba41b
+SHA512 (SDL3_image-3.2.4.tar.gz) = 3c360434a9fe19a2e827936aeafd416eaea191c84592ad4a054ae8eb17e0993f04198f711173ed6e5ca3323e3e55876c1d04141e7dfcbefa20e78242825df55e
+Size (SDL3_image-3.2.4.tar.gz) = 10674746 bytes



Home | Main Index | Thread Index | Old Index