git: 44b15dd0b851 - main - x11/clip: update 1.9 → 1.10

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 15 Jun 2025 07:26:37 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44b15dd0b85138a822072bdcb69320434bb5a61e

commit 44b15dd0b85138a822072bdcb69320434bb5a61e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-06-15 06:26:21 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-06-15 07:26:31 +0000

    x11/clip: update 1.9 → 1.10
    
    Reported by:    portscout
---
 x11/clip/Makefile | 15 +++++++--------
 x11/clip/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/x11/clip/Makefile b/x11/clip/Makefile
index 3321042451c9..8b4924316191 100644
--- a/x11/clip/Makefile
+++ b/x11/clip/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	clip
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.9
+DISTVERSION=	1.10
 CATEGORIES=	x11
 PKGNAMESUFFIX=	-clipboard-library
 
@@ -11,7 +11,10 @@ WWW=		https://github.com/dacap/clip
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		cmake
+LIB_DEPENDS=	libpng16.so:graphics/png
+
+USES=		cmake:testing localbase:ldflags xorg
+USE_XORG=	xcb
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
@@ -19,12 +22,8 @@ GH_ACCOUNT=	dacap
 
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	CLIP_EXAMPLES CLIP_TESTS
+CMAKE_TESTING_ON=	CLIP_TESTS
 
-PLIST_FILES=	include/clip.h \
-		lib/libclip.so
-
-do-install: # workaround for https://github.com/dacap/clip/issues/77
-	${INSTALL_DATA} ${WRKSRC}/clip.h ${STAGEDIR}${PREFIX}/include
-	${INSTALL_LIB} ${BUILD_WRKSRC}/libclip.so ${STAGEDIR}${PREFIX}/lib
+# tests as of 1.10: 0% tests passed, 3 tests failed out of 3, see https://github.com/dacap/clip/issues/87
 
 .include <bsd.port.mk>
diff --git a/x11/clip/distinfo b/x11/clip/distinfo
index ee14bc44753c..ae54bf0e9403 100644
--- a/x11/clip/distinfo
+++ b/x11/clip/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1717556485
-SHA256 (dacap-clip-v1.9_GH0.tar.gz) = e8af414c720784a6005419afb087786c05602e998ec52b2efe9e3112b7535d30
-SIZE (dacap-clip-v1.9_GH0.tar.gz) = 28926
+TIMESTAMP = 1749965807
+SHA256 (dacap-clip-v1.10_GH0.tar.gz) = 6b27976f0d1940697338f374a879964fff8fc02d0263faa76cfab99c9afff86f
+SIZE (dacap-clip-v1.10_GH0.tar.gz) = 31923