Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2024 00:55:43 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 781ef2e78ad0 - 2024Q3 - x11/swayimg: update to 2.3
Message-ID:  <202407110055.46B0thBJ067065@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q3 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=781ef2e78ad005fa0f21f23291450327aeed91ee

commit 781ef2e78ad005fa0f21f23291450327aeed91ee
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-07-07 10:05:40 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-07-11 00:53:18 +0000

    x11/swayimg: update to 2.3
    
    Changes:        https://github.com/artemsen/swayimg/releases/tag/v2.3
    Reported by:    GitHub (watch releases)
    
    (cherry picked from commit df7654c913b1b7dd02558e048215f86551d06c00)
---
 x11/swayimg/Makefile | 14 ++++++++++++--
 x11/swayimg/distinfo |  8 +++++---
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile
index 636df9c11145..f887103791a1 100644
--- a/x11/swayimg/Makefile
+++ b/x11/swayimg/Makefile
@@ -1,9 +1,11 @@
 PORTNAME=	swayimg
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.2
-PORTREVISION=	1
+DISTVERSION=	2.3
 CATEGORIES=	x11 wayland
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	4100b13c9ee7.patch:-p1 # https://github.com/artemsen/swayimg/pull/152
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Image viewer for Sway/Wayland
 WWW=		https://github.com/artemsen/swayimg
@@ -18,6 +20,7 @@ LIB_DEPENDS=	libjson-c.so:devel/json-c \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libxkbcommon.so:x11/libxkbcommon
+TEST_DEPENDS=	googletest>0:devel/googletest
 
 USES=		meson pkgconfig
 USE_GITHUB=	yes
@@ -90,4 +93,11 @@ post-patch:
 		${WRKSRC}/extra/${PORTNAME}rc.5 \
 		${WRKSRC}/src/config.c
 
+pre-test:
+	@if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \
+		${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \
+		${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=enabled"; \
+		${TOUCH} ${WRKDIR}/.meson_build_tests; \
+	fi
+
 .include <bsd.port.mk>
diff --git a/x11/swayimg/distinfo b/x11/swayimg/distinfo
index 92a4c2088345..42cd43ac8bf6 100644
--- a/x11/swayimg/distinfo
+++ b/x11/swayimg/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1711612600
-SHA256 (artemsen-swayimg-v2.2_GH0.tar.gz) = fc9cf24def4459570d2cd7fcd142e7e2228fc8ca77892c773b2061de778ac5c3
-SIZE (artemsen-swayimg-v2.2_GH0.tar.gz) = 313340
+TIMESTAMP = 1720346740
+SHA256 (artemsen-swayimg-v2.3_GH0.tar.gz) = c5bde4bee699d8379cd666a027db806fdc3dc08639fd53edbc2fcf8cffab038d
+SIZE (artemsen-swayimg-v2.3_GH0.tar.gz) = 323627
+SHA256 (4100b13c9ee7.patch) = b95253a5d379565474e689c98d8c5e2590688c527cb4f90007aa2d2325a93741
+SIZE (4100b13c9ee7.patch) = 1147



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407110055.46B0thBJ067065>