FreeBSD Bugzilla – Attachment 250129 Details for
Bug 278501
graphics/sdl2_image: Improvements to port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for sdl2_image
sdl2_image-distfile.patch (text/plain), 2.87 KB, created by
Daniel Engberg
on 2024-04-21 09:22:18 UTC
(
hide
)
Description:
Patch for sdl2_image
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-04-21 09:22:18 UTC
Size:
2.87 KB
patch
obsolete
>diff --git a/graphics/sdl2_image/Makefile b/graphics/sdl2_image/Makefile >index 1e8d8d9f1706..4f767a4b01d3 100644 >--- a/graphics/sdl2_image/Makefile >+++ b/graphics/sdl2_image/Makefile >@@ -1,7 +1,8 @@ > PORTNAME= sdl2_image >-DISTVERSIONPREFIX= release- > DISTVERSION= 2.8.2 > CATEGORIES= graphics >+MASTER_SITES= https://github.com/libsdl-org/SDL_image/releases/download/release-${DISTVERSION}/ >+DISTNAME= SDL2_image-${DISTVERSION} > > MAINTAINER= amdmi3@FreeBSD.org > COMMENT= Simple library to load images of various formats as SDL surfaces >@@ -11,39 +12,46 @@ LICENSE= ZLIB > LICENSE_FILE= ${WRKSRC}/LICENSE.txt > > USES= cmake sdl >-USE_GITHUB= yes >-GH_ACCOUNT= libsdl-org >-GH_PROJECT= SDL_image > USE_SDL= sdl2 >+USE_LDCONFIG= yes >+ >+EXTRACT_AFTER_ARGS= --exclude VisualC-WinRT \ >+ --exclude VisualC \ >+ --exclude Xcode \ >+ --exclude external \ >+ --exclude mingw >+ > CMAKE_OFF= SDL2IMAGE_DEPS_SHARED \ > SDL2IMAGE_SAMPLES \ > SDL2IMAGE_BACKEND_STB > CMAKE_ARGS= -DSDL2IMAGE_DEBUG_POSTFIX:STRING= >-USE_LDCONFIG= yes > >-OPTIONS_DEFINE= AVIF JPEG JXL PNG TIFF WEBP TEST >+OPTIONS_DEFINE= AVIF JPEG JXL PNG TEST TIFF WEBP > OPTIONS_DEFAULT=AVIF JPEG JXL PNG WEBP > >+AVIF_LIB_DEPENDS= libavif.so:graphics/libavif >+AVIF_CMAKE_BOOL= SDL2IMAGE_AVIF >+ > JPEG_USES= jpeg > JPEG_CMAKE_BOOL= SDL2IMAGE_JPG >+ >+JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl >+JXL_CMAKE_BOOL= SDL2IMAGE_JXL >+ > PNG_LIB_DEPENDS= libpng.so:graphics/png > PNG_CMAKE_BOOL= SDL2IMAGE_PNG >+ > TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff > TIFF_CMAKE_BOOL= SDL2IMAGE_TIF >-WEBP_LIB_DEPENDS= libwebp.so:graphics/webp >-WEBP_CMAKE_BOOL= SDL2IMAGE_WEBP >-AVIF_LIB_DEPENDS= libavif.so:graphics/libavif >-AVIF_CMAKE_BOOL= SDL2IMAGE_AVIF >-JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl >-JXL_CMAKE_BOOL= SDL2IMAGE_JXL >-TEST_CMAKE_BOOL= SDL2IMAGE_TESTS >-TEST_CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" >+ > TEST_LIB_DEPENDS= libunwind.so:devel/libunwind >-TEST_TEST_TARGET= test >-TEST_IMPLIES= PNG JPEG # does not build otherwise > TEST_BROKEN= does not build # XXX: probably devel/sdl20 problem >+TEST_TEST_TARGET= test >+TEST_CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" >+TEST_CMAKE_BOOL= SDL2IMAGE_TESTS >+TEST_IMPLIES= PNG JPEG # does not build otherwise > >-post-extract: >- @${RM} -rf ${WRKSRC}/external >+WEBP_LIB_DEPENDS= libwebp.so:graphics/webp >+WEBP_CMAKE_BOOL= SDL2IMAGE_WEBP > > .include <bsd.port.mk> >diff --git a/graphics/sdl2_image/distinfo b/graphics/sdl2_image/distinfo >index 0cd3d77ca369..c1613c7354ba 100644 >--- a/graphics/sdl2_image/distinfo >+++ b/graphics/sdl2_image/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1711647016 >-SHA256 (libsdl-org-SDL_image-release-2.8.2_GH0.tar.gz) = 8fd59b2c17772d7ac1192b11c645be8d7874f595c1714f4b200ee70b7cc38f3e >-SIZE (libsdl-org-SDL_image-release-2.8.2_GH0.tar.gz) = 11345908 >+TIMESTAMP = 1713690733 >+SHA256 (SDL2_image-2.8.2.tar.gz) = 8f486bbfbcf8464dd58c9e5d93394ab0255ce68b51c5a966a918244820a76ddc >+SIZE (SDL2_image-2.8.2.tar.gz) = 11362515
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 278501
: 250129