FreeBSD Bugzilla – Attachment 236151 Details for
Bug 266071
graphics/sdl2_image: update to 2.6.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1 (apply via "git am")
bug266071.diff (text/plain), 3.58 KB, created by
Jan Beich
on 2022-08-27 15:32:07 UTC
(
hide
)
Description:
v1 (apply via "git am")
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2022-08-27 15:32:07 UTC
Size:
3.58 KB
patch
obsolete
>From cb650377438cde452e405808e2c4e0c2c5b5b6be Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Fri, 19 Aug 2022 17:19:16 +0000 >Subject: [PATCH] graphics/sdl2_image: update to 2.6.2 > >Changes: https://discourse.libsdl.org/t/announcing-sdl-image-2-6-0 >PR: 266071 >Approved by: amdmi3 (maintainer) >--- > graphics/sdl2_image/Makefile | 36 +++++++++++++++++++++++++++++------ > graphics/sdl2_image/distinfo | 6 +++--- > graphics/sdl2_image/pkg-plist | 4 +++- > 3 files changed, 36 insertions(+), 10 deletions(-) > >diff --git a/graphics/sdl2_image/Makefile b/graphics/sdl2_image/Makefile >index 5e678c08381b..ff433bdf1d63 100644 >--- a/graphics/sdl2_image/Makefile >+++ b/graphics/sdl2_image/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= sdl2_image >-PORTVERSION= 2.0.5 >+PORTVERSION= 2.6.2 > CATEGORIES= graphics > MASTER_SITES= https://www.libsdl.org/projects/SDL_image/release/ > DISTNAME= SDL2_image-${PORTVERSION} >@@ -8,21 +8,33 @@ MAINTAINER= amdmi3@FreeBSD.org > COMMENT= Simple library to load images of various formats as SDL surfaces > > LICENSE= ZLIB >-LICENSE_FILE= ${WRKSRC}/COPYING.txt >+LICENSE_FILE= ${WRKSRC}/LICENSE.txt >+ >+TEST_DEPENDS= libunwind>0:devel/libunwind > > USES= gmake libtool localbase pkgconfig pathfix sdl > USE_SDL= sdl2 > GNU_CONFIGURE= yes >-CONFIGURE_ARGS= --disable-jpg-shared --disable-png-shared \ >- --disable-tif-shared --disable-webp-shared >+CONFIGURE_ARGS= --disable-avif-shared \ >+ --disable-jpg-shared \ >+ --disable-jxl-shared \ >+ --disable-png-shared \ >+ --disable-tif-shared \ >+ --disable-webp-shared \ >+ --disable-stb-image > INSTALL_TARGET= install-strip >+TEST_TARGET= check > USE_LDCONFIG= yes > >-OPTIONS_DEFINE= JPEG PNG TIFF WEBP >-OPTIONS_DEFAULT=JPEG PNG TIFF WEBP >+OPTIONS_DEFINE= AVIF JPEG JXL PNG TIFF WEBP >+OPTIONS_DEFAULT=AVIF JPEG JXL PNG TIFF WEBP > >+AVIF_LIB_DEPENDS= libavif.so:graphics/libavif >+AVIF_CONFIGURE_ENABLE= avif > JPEG_USES= jpeg > JPEG_CONFIGURE_ENABLE= jpg >+JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl >+JXL_CONFIGURE_ENABLE= jxl > PNG_LIB_DEPENDS= libpng.so:graphics/png > PNG_CONFIGURE_ENABLE= png > TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff >@@ -33,4 +45,16 @@ WEBP_CONFIGURE_ENABLE= webp > post-extract: > @${RM} -rf ${WRKSRC}/external > >+post-patch: >+# -lSDL_test is a static library, so needs private dependencies >+ @${REINPLACE_CMD} 's/-lSDL2_test/& -lunwind/' \ >+ ${WRKSRC}/test/Makefile.in >+ >+pre-test: >+ @if [ ! -e ${WRKDIR}/.autoconf_build_tests ]; then \ >+ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ >+ ${MAKE} -C${.CURDIR} build CONFIGURE_ARGS="${AUTOCONF_ARGS} --enable-tests"; \ >+ ${TOUCH} ${WRKDIR}/.autoconf_build_tests; \ >+ fi >+ > .include <bsd.port.mk> >diff --git a/graphics/sdl2_image/distinfo b/graphics/sdl2_image/distinfo >index 5c8b95f26812..33799c4d8439 100644 >--- a/graphics/sdl2_image/distinfo >+++ b/graphics/sdl2_image/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1562166413 >-SHA256 (SDL2_image-2.0.5.tar.gz) = bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0 >-SIZE (SDL2_image-2.0.5.tar.gz) = 11736518 >+TIMESTAMP = 1660929556 >+SHA256 (SDL2_image-2.6.2.tar.gz) = 48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777 >+SIZE (SDL2_image-2.6.2.tar.gz) = 9814907 >diff --git a/graphics/sdl2_image/pkg-plist b/graphics/sdl2_image/pkg-plist >index 1eb3e059fb50..c30695af6af7 100644 >--- a/graphics/sdl2_image/pkg-plist >+++ b/graphics/sdl2_image/pkg-plist >@@ -1,6 +1,8 @@ > include/SDL2/SDL_image.h >+lib/cmake/SDL2_image/sdl2_image-config-version.cmake >+lib/cmake/SDL2_image/sdl2_image-config.cmake > lib/libSDL2_image-2.0.so.0 >-lib/libSDL2_image-2.0.so.0.2.3 >+lib/libSDL2_image-2.0.so.0.600.2 > lib/libSDL2_image.a > lib/libSDL2_image.so > libdata/pkgconfig/SDL2_image.pc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266071
:
236151
|
236152
|
236153