From nobody Mon Apr 22 18:20:33 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VNYTF5hCVz5Hc75; Mon, 22 Apr 2024 18:20:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNYTF23bfz4X9p; Mon, 22 Apr 2024 18:20:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713810033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/IZ5rk0zRArIgGPyo4Q02V4FwgzkpSJOFNFdtjrOn/M=; b=hQ7Bzj8OEDqoPUPeulFzQqxtf2vtReTdWPh6xDzssZntFK1ksrbdxxOvz/1Uv4iQq7Zkoz 3YoBAAI7pdy2yoecuyhv62y25vi6hesyK58WtL/pDWtkwnXkNdlp2LJK1DNsZRgJ3GZmww hBD1cLJnQOoodKoXp9zeJL2PCHS46OyEUrW991L2Hbr8V8NjMD54AYG4V1ev/yt5EEI2yO HEDlnRG0gHUIi5AFnEHxmi0xpVd7jmDjWWHdSe+JCDiFgvfiYNAzOKaQm194Kf8FUuF3G1 mkwMm86oQXVh8MmcTfrKLkdlKHC7ZtPrDBwQPFJ7UAPen1Q4Wy/FpOEnbcC/FA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713810033; a=rsa-sha256; cv=none; b=wVORxyuIDOpUQNSEEBom0A1vyW37Di75CE4eJq8G1THbn2OQHLgzFIOQmhVi7bbK1/qLlk k+81skH1CKok3kuzTuDK5l5XFTACPNQcwSOp9s+GjXHCGsIr6dy/kbYaaZkisQ1SGAZYBz RKYsOMJpOZ9C6/oQ3t0Pt56+PGj0o+qxAj6iX7Xs0tBUAtRcf9YnYNoy5Jmec4FUaymq0e zCOKLoeF2WuDWAAqaG8OLkFNhRaMwAh8jy+cCU32u9rfvTMVrrKkHsiDsIfvQaTEg/Pdp6 PDWusT2k90e1DIfUXSXMPqt4t37oBnXvs32Erij8PCMJA92vS3NgMtQEw/1R5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713810033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/IZ5rk0zRArIgGPyo4Q02V4FwgzkpSJOFNFdtjrOn/M=; b=wQqbYRYoraZUCLEKGUVhk7jC3DquiawDu9e4hqdl3OGKPqCtxdQ0NBJ9CHXzrFTo9cm/IR 4O+vKreQ2HnKtyFb4smeNewjE2JBMwy1fjIFy/RAy3/Qpe/U9jEFbLl+tRk/1U6tMUfI+2 FN+ZQrMO5hQp25/B2hWvghEPfC4F3hkoXv0R89GjsX5fxlV7VzzwEore7PNP7QHDd67OCg TPtmDrmJnwhDyf6zbDLq/gT5/DxoWNBB786Wjg//omRPVW/LwkGT1Z1nRz0f/Z6cj/sLrE MKilXP4/SPEICqTX8ObmqA1hMjQ2eCweHY8VldK/CzHUdYTDNIao9xn6Hcm0Zw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VNYTF1fy0zy9Q; Mon, 22 Apr 2024 18:20:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43MIKXor088987; Mon, 22 Apr 2024 18:20:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43MIKXCl088984; Mon, 22 Apr 2024 18:20:33 GMT (envelope-from git) Date: Mon, 22 Apr 2024 18:20:33 GMT Message-Id: <202404221820.43MIKXCl088984@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 521bde8f34c2 - main - graphics/sdl2_image: sort options for readability List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 521bde8f34c2c413aa8bbae759fb73f523e180bb Auto-Submitted: auto-generated The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=521bde8f34c2c413aa8bbae759fb73f523e180bb commit 521bde8f34c2c413aa8bbae759fb73f523e180bb Author: Dmitry Marakasov AuthorDate: 2024-04-22 16:47:18 +0000 Commit: Dmitry Marakasov CommitDate: 2024-04-22 18:20:02 +0000 graphics/sdl2_image: sort options for readability PR: 278501 Submitted by: diizzy --- graphics/sdl2_image/Makefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/graphics/sdl2_image/Makefile b/graphics/sdl2_image/Makefile index 1e8d8d9f1706..dff4be56482b 100644 --- a/graphics/sdl2_image/Makefile +++ b/graphics/sdl2_image/Makefile @@ -24,18 +24,21 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= AVIF JPEG JXL PNG TIFF WEBP TEST 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 @@ -43,6 +46,9 @@ TEST_TEST_TARGET= test TEST_IMPLIES= PNG JPEG # does not build otherwise TEST_BROKEN= does not build # XXX: probably devel/sdl20 problem +WEBP_LIB_DEPENDS= libwebp.so:graphics/webp +WEBP_CMAKE_BOOL= SDL2IMAGE_WEBP + post-extract: @${RM} -rf ${WRKSRC}/external