View | Details | Raw Unified | Return to bug 266071 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/sdl2_image/Makefile (-6 / +29 lines)
Lines 1-5 Link Here
1
PORTNAME=	sdl2_image
1
PORTNAME=	sdl2_image
2
PORTVERSION=	2.0.5
2
PORTVERSION=	2.6.2
3
CATEGORIES=	graphics
3
CATEGORIES=	graphics
4
MASTER_SITES=	https://www.libsdl.org/projects/SDL_image/release/
4
MASTER_SITES=	https://www.libsdl.org/projects/SDL_image/release/
5
DISTNAME=	SDL2_image-${PORTVERSION}
5
DISTNAME=	SDL2_image-${PORTVERSION}
Lines 8-28 MAINTAINER= amdmi3@FreeBSD.org Link Here
8
COMMENT=	Simple library to load images of various formats as SDL surfaces
8
COMMENT=	Simple library to load images of various formats as SDL surfaces
9
9
10
LICENSE=	ZLIB
10
LICENSE=	ZLIB
11
LICENSE_FILE=	${WRKSRC}/COPYING.txt
11
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
12
12
13
USES=		gmake libtool localbase pkgconfig pathfix sdl
13
USES=		gmake libtool localbase pkgconfig pathfix sdl
14
USE_SDL=	sdl2
14
USE_SDL=	sdl2
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
CONFIGURE_ARGS=	--disable-jpg-shared --disable-png-shared \
16
CONFIGURE_ARGS=	--disable-avif-shared \
17
		--disable-tif-shared --disable-webp-shared
17
		--disable-jpg-shared \
18
		--disable-jxl-shared \
19
		--disable-png-shared \
20
		--disable-tif-shared \
21
		--disable-webp-shared \
22
		--disable-stb-image
18
INSTALL_TARGET=	install-strip
23
INSTALL_TARGET=	install-strip
24
TEST_TARGET=	check
19
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
20
26
21
OPTIONS_DEFINE=	JPEG PNG TIFF WEBP
27
OPTIONS_DEFINE=	AVIF JPEG JXL PNG TIFF WEBP
22
OPTIONS_DEFAULT=JPEG PNG TIFF WEBP
28
OPTIONS_DEFAULT=AVIF JPEG JXL PNG TIFF WEBP
23
29
30
AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
31
AVIF_CONFIGURE_ENABLE=	avif
24
JPEG_USES=		jpeg
32
JPEG_USES=		jpeg
25
JPEG_CONFIGURE_ENABLE=	jpg
33
JPEG_CONFIGURE_ENABLE=	jpg
34
JXL_LIB_DEPENDS=	libjxl.so:graphics/libjxl
35
JXL_CONFIGURE_ENABLE=	jxl
26
PNG_LIB_DEPENDS=	libpng.so:graphics/png
36
PNG_LIB_DEPENDS=	libpng.so:graphics/png
27
PNG_CONFIGURE_ENABLE=	png
37
PNG_CONFIGURE_ENABLE=	png
28
TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
38
TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
Lines 33-36 WEBP_CONFIGURE_ENABLE= webp Link Here
33
post-extract:
43
post-extract:
34
	@${RM} -rf ${WRKSRC}/external
44
	@${RM} -rf ${WRKSRC}/external
35
45
46
post-patch:
47
# -lSDL2_test is a static library, so private dependencies leak into consumers
48
# <libunwind.h> is provided by both base and ports, so requires guessing ABI
49
	@${REINPLACE_CMD} -e "s/-lSDL2_test/& `if [ -f ${LOCALBASE}/lib/libunwind.so ]; then echo -lunwind; else echo -lgcc_eh; fi`/" \
50
		${WRKSRC}/test/Makefile.in
51
52
pre-test:
53
	@if [ ! -e ${WRKDIR}/.autoconf_build_tests ]; then \
54
		${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \
55
		${MAKE} -C${.CURDIR} build CONFIGURE_ARGS="${CONFIGURE_ARGS} --enable-tests"; \
56
		${TOUCH} ${WRKDIR}/.autoconf_build_tests; \
57
	fi
58
36
.include <bsd.port.mk>
59
.include <bsd.port.mk>
(-)b/graphics/sdl2_image/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1562166413
1
TIMESTAMP = 1660929556
2
SHA256 (SDL2_image-2.0.5.tar.gz) = bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0
2
SHA256 (SDL2_image-2.6.2.tar.gz) = 48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777
3
SIZE (SDL2_image-2.0.5.tar.gz) = 11736518
3
SIZE (SDL2_image-2.6.2.tar.gz) = 9814907
(-)b/graphics/sdl2_image/pkg-plist (-1 / +3 lines)
Lines 1-6 Link Here
1
include/SDL2/SDL_image.h
1
include/SDL2/SDL_image.h
2
lib/cmake/SDL2_image/sdl2_image-config-version.cmake
3
lib/cmake/SDL2_image/sdl2_image-config.cmake
2
lib/libSDL2_image-2.0.so.0
4
lib/libSDL2_image-2.0.so.0
3
lib/libSDL2_image-2.0.so.0.2.3
5
lib/libSDL2_image-2.0.so.0.600.2
4
lib/libSDL2_image.a
6
lib/libSDL2_image.a
5
lib/libSDL2_image.so
7
lib/libSDL2_image.so
6
libdata/pkgconfig/SDL2_image.pc
8
libdata/pkgconfig/SDL2_image.pc

Return to bug 266071