[dacap-clip] update to 1.14 (#50163)

This commit is contained in:
toge 2026-02-26 00:27:40 +09:00 committed by GitHub
parent 58435cf27c
commit 3a1c8024ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 11 additions and 15 deletions

View File

@ -1,20 +1,11 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 79f7074..775b565 100644
index d9aa76e..cee1d90 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,7 @@ if(UNIX AND NOT APPLE)
option(CLIP_X11_WITH_PNG "Compile with libpng to support copy/paste image in png format" on)
endif()
-add_library(clip clip.cpp)
+add_library(clip STATIC clip.cpp)
if(CLIP_ENABLE_IMAGE)
target_sources(clip PRIVATE image.cpp)
@@ -109,6 +109,8 @@ endif()
@@ -132,6 +132,8 @@ endif()
if(CLIP_INSTALL)
include(GNUInstallDirs)
+ target_include_directories(clip PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
+
install(

View File

@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO dacap/clip
REF v${VERSION}
SHA512 c372c18081f2a090e88e04b7253e891589aaa821f660aef603e14f3004aaeb5a4f9540bee1105da5b49f97ee027dd50e374a22cb43e5d7501cf7362661ce0c14
SHA512 d245781ae4e290f75195782522190fc4d7645b8718d640fb5e3f6f7a47d1bcbf29fb34407b4368698dfe0039abfc42eac805201a192ab4569a68eca6f6234c76
PATCHES
"fix-install-header-and-force-static-compilation.patch")

View File

@ -1,6 +1,6 @@
{
"name": "dacap-clip",
"version": "1.13",
"version": "1.14",
"description": "Cross-platform C++ library to copy/paste clipboard content.",
"homepage": "https://github.com/dacap/clip",
"license": "MIT",

View File

@ -2345,7 +2345,7 @@
"port-version": 1
},
"dacap-clip": {
"baseline": "1.13",
"baseline": "1.14",
"port-version": 0
},
"dagir": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "caecb666d499ee31770e68de773323a0d872e779",
"version": "1.14",
"port-version": 0
},
{
"git-tree": "2d5a0a4ea4435e3725ba3c1791297c8060613259",
"version": "1.13",