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:   adam
Date:           Thu May  7 17:13:48 UTC 2026

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/libsquish: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/graphics/libsquish/patches: patch-lib_CMakeLists.txt

Log Message:
libsquish: added version 1.15.1.3

The squish library (primarily known by libsquish) is an open source DXT/S3TC
compression library written in C++ that is commonly used with OpenGL and
DirectX for the lossy compression of RGBA textures.


To generate a diff of this commit:
cvs rdiff -u -r1.1119 -r1.1120 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/libsquish/DESCR \
    pkgsrc/graphics/libsquish/Makefile pkgsrc/graphics/libsquish/PLIST \
    pkgsrc/graphics/libsquish/buildlink3.mk \
    pkgsrc/graphics/libsquish/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/libsquish/patches/patch-lib_CMakeLists.txt

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.1119 pkgsrc/graphics/Makefile:1.1120
--- pkgsrc/graphics/Makefile:1.1119     Mon Apr 13 15:44:41 2026
+++ pkgsrc/graphics/Makefile    Thu May  7 17:13:47 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1119 2026/04/13 15:44:41 kikadf Exp $
+# $NetBSD: Makefile,v 1.1120 2026/05/07 17:13:47 adam Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -348,6 +348,7 @@ SUBDIR+=    librsvg
 SUBDIR+=       librsvg-c
 SUBDIR+=       libsixel
 SUBDIR+=       libspiro
+SUBDIR+=       libsquish
 SUBDIR+=       libv4l
 SUBDIR+=       libvideogfx
 SUBDIR+=       libvips

Added files:

Index: pkgsrc/graphics/libsquish/DESCR
diff -u /dev/null pkgsrc/graphics/libsquish/DESCR:1.1
--- /dev/null   Thu May  7 17:13:48 2026
+++ pkgsrc/graphics/libsquish/DESCR     Thu May  7 17:13:47 2026
@@ -0,0 +1,3 @@
+The squish library (primarily known by libsquish) is an open source DXT/S3TC
+compression library written in C++ that is commonly used with OpenGL and
+DirectX for the lossy compression of RGBA textures.
Index: pkgsrc/graphics/libsquish/Makefile
diff -u /dev/null pkgsrc/graphics/libsquish/Makefile:1.1
--- /dev/null   Thu May  7 17:13:48 2026
+++ pkgsrc/graphics/libsquish/Makefile  Thu May  7 17:13:47 2026
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2026/05/07 17:13:47 adam Exp $
+
+DISTNAME=      libsquish-1.15.1.3
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=oblivioncth/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+GITHUB_SUBMODULES=     oblivioncth OBCMake v0.3.11 ${CMAKE_BUILD_DIR}/_deps/obcmake-src
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://oblivioncth.github.io/libsquish
+COMMENT=       Open source DXT compression library
+LICENSE=       mit
+
+USE_LANGUAGES= c c++
+
+CMAKE_CONFIGURE_ARGS+= -DBUILD_SHARED_LIBS=ON
+CMAKE_CONFIGURE_ARGS+= -DNO_VERBOSE_VERSION=ON # requires git
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/libsquish/PLIST
diff -u /dev/null pkgsrc/graphics/libsquish/PLIST:1.1
--- /dev/null   Thu May  7 17:13:48 2026
+++ pkgsrc/graphics/libsquish/PLIST     Thu May  7 17:13:47 2026
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2026/05/07 17:13:47 adam Exp $
+LICENSE
+README.md
+cmake/Squish/libsquishSquishConfig.cmake
+cmake/Squish/libsquishSquishTargets-noconfig.cmake
+cmake/Squish/libsquishSquishTargets.cmake
+cmake/libsquishConfig.cmake
+cmake/libsquishConfigVersion.cmake
+include/squish/squish/squish.h
+include/squish/squish/squish_export.h
+lib/libsquish.so
+lib/libsquish.so.1.15.1.3
Index: pkgsrc/graphics/libsquish/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/libsquish/buildlink3.mk:1.1
--- /dev/null   Thu May  7 17:13:48 2026
+++ pkgsrc/graphics/libsquish/buildlink3.mk     Thu May  7 17:13:47 2026
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/05/07 17:13:47 adam Exp $
+
+BUILDLINK_TREE+=       libsquish
+
+.if !defined(LIBSQUISH_BUILDLINK3_MK)
+LIBSQUISH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libsquish+=      libsquish>=1.15.1.3
+BUILDLINK_PKGSRCDIR.libsquish?=                ../../graphics/libsquish
+.endif # LIBSQUISH_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libsquish
Index: pkgsrc/graphics/libsquish/distinfo
diff -u /dev/null pkgsrc/graphics/libsquish/distinfo:1.1
--- /dev/null   Thu May  7 17:13:48 2026
+++ pkgsrc/graphics/libsquish/distinfo  Thu May  7 17:13:47 2026
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2026/05/07 17:13:47 adam Exp $
+
+BLAKE2s (libsquish-1.15.1.3.tar.gz) = 595fd1fffd9e70bbcec80901f3fa33c3ca2a69fb7d5847c8b67e0ec566cd8383
+SHA512 (libsquish-1.15.1.3.tar.gz) = e94ad7fff9a1e35b24ee03721797dd98ebc7ed7e76f5a6add63b61637c2a0f84eed51b983deb8a701ffa5b27cdd7862a017f957a560cef22c885c01cf8be3aad
+Size (libsquish-1.15.1.3.tar.gz) = 51344 bytes
+BLAKE2s (oblivioncth-OBCMake-v0.3.11.tar.gz) = fbbd49dd465b93b904c06348c6b3835d71ad9d997d5582b4fafa2989601e0002
+SHA512 (oblivioncth-OBCMake-v0.3.11.tar.gz) = 9600142da95cd2ac7089a9d75974997f1b0f8300e65a8ad80de5d9f686a5f31ab41c3a6cef5b5be272c84d955508952685a7d457f46b31c10b41eabce81a53d7
+Size (oblivioncth-OBCMake-v0.3.11.tar.gz) = 57594 bytes
+SHA1 (patch-lib_CMakeLists.txt) = 04f981c405283608671c5e00cf3e45e54dc50d5c

Index: pkgsrc/graphics/libsquish/patches/patch-lib_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/libsquish/patches/patch-lib_CMakeLists.txt:1.1
--- /dev/null   Thu May  7 17:13:48 2026
+++ pkgsrc/graphics/libsquish/patches/patch-lib_CMakeLists.txt  Thu May  7 17:13:48 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_CMakeLists.txt,v 1.1 2026/05/07 17:13:48 adam Exp $
+
+Fix build on Darwin.
+
+--- lib/CMakeLists.txt.orig    2026-05-07 04:43:18.605866482 +0000
++++ lib/CMakeLists.txt
+@@ -78,8 +78,3 @@ ob_add_standard_library(${LIB_TARGET_NAM
+     CONFIG STANDARD
+ )
+ 
+-# Extra target modifications
+-set_target_properties(${LIB_TARGET_NAME} PROPERTIES
+-    OSX_ARCHITECTURES "i386;ppc"
+-)
+-



Home | Main Index | Thread Index | Old Index