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

Collapse All | Expand All

(-)b/graphics/sdl2_image/Makefile (-6 / +30 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
13
TEST_DEPENDS=	libunwind>0:devel/libunwind
12
14
13
USES=		gmake libtool localbase pkgconfig pathfix sdl
15
USES=		gmake libtool localbase pkgconfig pathfix sdl
14
USE_SDL=	sdl2
16
USE_SDL=	sdl2
15
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
16
CONFIGURE_ARGS=	--disable-jpg-shared --disable-png-shared \
18
CONFIGURE_ARGS=	--disable-avif-shared \
17
		--disable-tif-shared --disable-webp-shared
19
		--disable-jpg-shared \
20
		--disable-jxl-shared \
21
		--disable-png-shared \
22
		--disable-tif-shared \
23
		--disable-webp-shared \
24
		--disable-stb-image
18
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
26
TEST_TARGET=	check
19
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
20
28
21
OPTIONS_DEFINE=	JPEG PNG TIFF WEBP
29
OPTIONS_DEFINE=	AVIF JPEG JXL PNG TIFF WEBP
22
OPTIONS_DEFAULT=JPEG PNG TIFF WEBP
30
OPTIONS_DEFAULT=AVIF JPEG JXL PNG TIFF WEBP
23
31
32
AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
33
AVIF_CONFIGURE_ENABLE=	avif
24
JPEG_USES=		jpeg
34
JPEG_USES=		jpeg
25
JPEG_CONFIGURE_ENABLE=	jpg
35
JPEG_CONFIGURE_ENABLE=	jpg
36
JXL_LIB_DEPENDS=	libjxl.so:graphics/libjxl
37
JXL_CONFIGURE_ENABLE=	jxl
26
PNG_LIB_DEPENDS=	libpng.so:graphics/png
38
PNG_LIB_DEPENDS=	libpng.so:graphics/png
27
PNG_CONFIGURE_ENABLE=	png
39
PNG_CONFIGURE_ENABLE=	png
28
TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
40
TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
Lines 33-36 WEBP_CONFIGURE_ENABLE= webp Link Here
33
post-extract:
45
post-extract:
34
	@${RM} -rf ${WRKSRC}/external
46
	@${RM} -rf ${WRKSRC}/external
35
47
48
post-patch:
49
# -lSDL_test is a static library, so needs private dependencies
50
	@${REINPLACE_CMD} 's/-lSDL2_test/& -lunwind/' \
51
		${WRKSRC}/test/Makefile.in
52
53
pre-test:
54
	@if [ ! -e ${WRKDIR}/.autoconf_build_tests ]; then \
55
		${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \
56
		${MAKE} -C${.CURDIR} build CONFIGURE_ARGS="${CONFIGURE_ARGS} --enable-tests"; \
57
		${TOUCH} ${WRKDIR}/.autoconf_build_tests; \
58
	fi
59
36
.include <bsd.port.mk>
60
.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