From nobody Thu Nov 24 12:18:21 2022 X-Original-To: dev-commits-ports-main@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 4NHxq21fjsz4j3jy; Thu, 24 Nov 2022 12:18:22 +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 4NHxq20Xxlz45PL; Thu, 24 Nov 2022 12:18:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669292302; 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=q2rfCpPRktKsuEoJ172e7nSXAE1O/WZkrM+m/2goZ1A=; b=qB5M1k13GaUsu+4VqOSjoP2K97LKfk+hJ8BJFvogFLyNgSk/kmnTwkzfBsdU3AFnIqkMte MLS29JpKy9KACuAn32ZkHGErY0jVMCn1QJ5u9pHfQSlRwJOw6ymykD/ipur0DClMmz5MRL q1ZrcJfJFIDjbrVcL2Dv4cA8cs8J+UlGGLyVcdlOarxcrILfB6AiVxeUtND+vtwM7poEN/ aKTNLdTIU7376zlRabBWRWpoLCqGMKmvE2zEa2w+py7V5KI4+ooMhXtUmJdNwEe0JYFa8n vFJNgkKDd/gVy1YOfBdC/hA3XciFeg7Ln0HdeDuSZ+jCisalhPJEjKOqNptOZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669292302; 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=q2rfCpPRktKsuEoJ172e7nSXAE1O/WZkrM+m/2goZ1A=; b=pCnG7QPA03ux6E+ZbunXrahAEAa+COM2gwbRAEJ7UDhd4QRFF1qd/sK7yRAkwt9fqEZjTk 1DnMnOvxqFY1NKAExeBMilVZ5nnoxLESEADM2ZPHuwryLA6kjXHWW+9tUKEpuRWMtO+FsC +mZZ7hFHvZkuQFpyStM2wjam0lgeLtTwp1Eu/ZwHKMNIA8AuYBhqSBL0Jou5krFP5Z8Du8 bIMNuVhHcT6W7A4oIC1/wJvt9zONWSEUGveAxOli2w1Mtjh6DLJsNA0wP56IR/iSx4pxbT 17SnbhqgHKpu5rDzVziHe9tWRA+/oU27evcDVrW+lk56r+LwVrrM5oiSgu2Mdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669292302; a=rsa-sha256; cv=none; b=mvOSIu6xbnp3Atci2MUkkrj+FdkACX3tJj3V3H8yuCXxeg/HqoB9GrMyaEtqqWIMeHh6IN 9035sMW/mc7LJHA90kmPxoDt7uGLLym3/OFTKkYuny+MU2TyXmn9mh0ED0Jlo/H1R3CtOD 8kTu22xUFXwZ5LgrL3mokuVgKOq2Yc1XnW+dkA2TMdW4q8VPXcyQMffLmKidf5t2sV9hz5 YtWZfyfev1GJvU+0dcNV6r5jqAwJtLlRzigjLAiyNFVIjxA2GVjJIHRTVm+opp/CpDhvzT v5Lxa/y3IkfeiiFhrGlvbcS7WBt4Ci/WECUdUCUlEmCIME/VzlXd9jO3vJqtFw== 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 4NHxq16N93z11wh; Thu, 24 Nov 2022 12:18:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AOCILjn069423; Thu, 24 Nov 2022 12:18:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AOCILRN069422; Thu, 24 Nov 2022 12:18:21 GMT (envelope-from git) Date: Thu, 24 Nov 2022 12:18:21 GMT Message-Id: <202211241218.2AOCILRN069422@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 5c922120a745 - main - x11/libclipboard: cross-platform clipboard library (new port added). List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5c922120a7459c42cc58d10925d96d765cd1cfff Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c922120a7459c42cc58d10925d96d765cd1cfff commit 5c922120a7459c42cc58d10925d96d765cd1cfff Author: Alexey Dokuchaev AuthorDate: 2022-11-24 12:16:44 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-11-24 12:16:44 +0000 x11/libclipboard: cross-platform clipboard library (new port added). --- x11/Makefile | 1 + x11/libclipboard/Makefile | 20 ++++++++++++++++++++ x11/libclipboard/distinfo | 3 +++ x11/libclipboard/pkg-descr | 6 ++++++ x11/libclipboard/pkg-plist | 5 +++++ 5 files changed, 35 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index e92d0a0163b8..b7aa393861c6 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -172,6 +172,7 @@ SUBDIR += libXvMC SUBDIR += libXxf86dga SUBDIR += libXxf86vm + SUBDIR += libclipboard SUBDIR += libdmx SUBDIR += libexo SUBDIR += libfakekey diff --git a/x11/libclipboard/Makefile b/x11/libclipboard/Makefile new file mode 100644 index 000000000000..a734644e98c0 --- /dev/null +++ b/x11/libclipboard/Makefile @@ -0,0 +1,20 @@ +PORTNAME= libclipboard +PORTVERSION= 1.1 +DISTVERSIONPREFIX= v +CATEGORIES= x11 + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Lightweight cross-platform clipboard library +WWW= https://jtanx.github.io/libclipboard/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake pkgconfig xorg +USE_XORG= xcb +USE_GITHUB= yes +GH_ACCOUNT= jtanx + +CMAKE_ON= BUILD_SHARED_LIBS LIBCLIPBOARD_ADD_SOVERSION + +.include diff --git a/x11/libclipboard/distinfo b/x11/libclipboard/distinfo new file mode 100644 index 000000000000..821a6b9a0d0a --- /dev/null +++ b/x11/libclipboard/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1598871086 +SHA256 (jtanx-libclipboard-v1.1_GH0.tar.gz) = 253f34a770be7ad9193be890b395dd2256119c9e3aa66e157bd465960515d47a +SIZE (jtanx-libclipboard-v1.1_GH0.tar.gz) = 47758 diff --git a/x11/libclipboard/pkg-descr b/x11/libclipboard/pkg-descr new file mode 100644 index 000000000000..74f4ddd82ef1 --- /dev/null +++ b/x11/libclipboard/pkg-descr @@ -0,0 +1,6 @@ +libclipboard is a lightweight, cross-platform clipboard library. +Currently supported actions: + + - Checking clipboard data ownership + - Clearing the clipboard + - Retrieving and setting text (UTF-8) diff --git a/x11/libclipboard/pkg-plist b/x11/libclipboard/pkg-plist new file mode 100644 index 000000000000..f5cd61e32737 --- /dev/null +++ b/x11/libclipboard/pkg-plist @@ -0,0 +1,5 @@ +include/libclipboard-config.h +include/libclipboard.h +lib/libclipboard.so +lib/libclipboard.so.1.0 +libdata/pkgconfig/libclipboard.pc