[gentoo-commits] repo/proj/guru:dev commit in: app-misc/clipboard/files/, app-misc/clipboard/

2023-10-02 Thread Quincy Fleming
commit: 3c61783003a71993daf9d907dbc9ca5b433ff0c0
Author: Quincy Fleming  protonmail  com>
AuthorDate: Tue Oct  3 01:04:14 2023 +
Commit: Quincy Fleming  protonmail  com>
CommitDate: Tue Oct  3 01:04:14 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c617830

app-misc/clipboard: add 0.8.2 and modify ebuilds

Signed-off-by: Quincy Fleming  protonmail.com>

 app-misc/clipboard/Manifest|  1 +
 app-misc/clipboard/clipboard-0.8.0.ebuild  | 26 +++
 app-misc/clipboard/clipboard-0.8.1.ebuild  | 27 +++-
 ...ipboard-0.8.0.ebuild => clipboard-0.8.2.ebuild} | 27 +++-
 app-misc/clipboard/files/disable-debug-info.patch  | 19 --
 app-misc/clipboard/files/disable-git-and-lto.patch | 79 --
 app-misc/clipboard/metadata.xml|  3 -
 7 files changed, 27 insertions(+), 155 deletions(-)

diff --git a/app-misc/clipboard/Manifest b/app-misc/clipboard/Manifest
index e5bc79b7b5..0d44b01e72 100644
--- a/app-misc/clipboard/Manifest
+++ b/app-misc/clipboard/Manifest
@@ -1,2 +1,3 @@
 DIST clipboard-0.8.0.tar.gz 29340849 BLAKE2B 
91635f16eee4c7fec588f3ceae34571e815680a34553ecf352f67b77c0749ad4c4ee848713d1b65d7e0a4dee0a2a597b29f59abab9082400dc02acba00ab7326
 SHA512 
b600e8425e48625ed2ad068500e381b1a0d40eacce92e05d45af21c1f5517dcac516287fbcdc1c03fe87cd5bdd5933258ffccf31460a03dfd7e306dc22442c63
 DIST clipboard-0.8.1.tar.gz 31510477 BLAKE2B 
25243b59af15ef692f466fcb2b6c35cdd05e2ebaee95ddf2b1c6a555c2225d2273c4d0cc7785fb2da8cfdf8a5afeac968a48cc191c45e1df6966a8dfcfccff0b
 SHA512 
b4c2c857cc734c6470990348c67f31b706cb61b116794135d5e60073d8e5389d4c93ee410e47a9c07998bd3a6578013879ee5f997eda9613c864ea312b54da2e
+DIST clipboard-0.8.2.tar.gz 31616470 BLAKE2B 
7b4a58836928d95f5d92a446651e0daa33eebc585cfcb7556bcb887eef413ecbc89e200902db1cee61cdb72e55f2b1cd3c7f35529d399c9094e67b186db42b2f
 SHA512 
a83174ed66ba8fe06abf002136f64e39940e07883af6de2245a45915ee14840b95f1009efa549d87f8adb768535a77f19c859951a1868207689175a3761ed34b

diff --git a/app-misc/clipboard/clipboard-0.8.0.ebuild 
b/app-misc/clipboard/clipboard-0.8.0.ebuild
index 57d5d1c0aa..f14f813c46 100644
--- a/app-misc/clipboard/clipboard-0.8.0.ebuild
+++ b/app-misc/clipboard/clipboard-0.8.0.ebuild
@@ -14,9 +14,12 @@ 
SRC_URI="https://github.com/Slackadays/${MY_PN}/archive/refs/tags/${PV}.tar.gz -
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="X wayland lto debug"
+IUSE="X wayland debug"
 
-RDEPEND="X? ( x11-libs/libX11 )
+RDEPEND="X? (
+   x11-libs/libX11
+   x11-libs/libXext
+   )
wayland? (
dev-libs/wayland-protocols
dev-libs/wayland
@@ -24,26 +27,13 @@ RDEPEND="X? ( x11-libs/libX11 )
 "
 S="${WORKDIR}/${MY_P}"
 
-PATCHES=(
-   "${FILESDIR}/disable-git-and-lto.patch"
-)
-
-src_prepare() {
-   if ! use wayland; then
-   sed -i '/pkg_check_modules(WAYLAND_CLIENT wayland-client 
wayland-protocols)/d' CMakeLists.txt || die
-   fi
-
-   if ! use debug; then
-   eapply "${FILESDIR}/disable-debug-info.patch"
-   fi
-   cmake_src_prepare
-}
-
 src_configure() {
local mycmakeargs=(
"-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
-   "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=$(usex lto TRUE FALSE)"
+   "-DCMAKE_C_FLAGS=$(usex debug "${CFLAGS}" "${CFLAGS} -DNDEBUG")"
+   "-DCMAKE_CXX_FLAGS=$(usex debug "${CXXFLAGS}" "${CXXFLAGS} -DNDEBUG")"
"-DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex X OFF ON)"
+   "-DNO_WAYLAND=$(usex wayland FALSE TRUE)"
)
cmake_src_configure
 }

diff --git a/app-misc/clipboard/clipboard-0.8.1.ebuild 
b/app-misc/clipboard/clipboard-0.8.1.ebuild
index 57d5d1c0aa..a21cd5e9cd 100644
--- a/app-misc/clipboard/clipboard-0.8.1.ebuild
+++ b/app-misc/clipboard/clipboard-0.8.1.ebuild
@@ -14,36 +14,27 @@ 
SRC_URI="https://github.com/Slackadays/${MY_PN}/archive/refs/tags/${PV}.tar.gz -
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="X wayland lto debug"
+IUSE="X wayland debug"
 
-RDEPEND="X? ( x11-libs/libX11 )
+RDEPEND="X? (
+   x11-libs/libX11
+   x11-libs/libXext
+   )
wayland? (
dev-libs/wayland-protocols
dev-libs/wayland
)
+   media-libs/alsa-lib
 "
 S="${WORKDIR}/${MY_P}"
 
-PATCHES=(
-   "${FILESDIR}/disable-git-and-lto.patch"
-)
-
-src_prepare() {
-   if ! use wayland; then
-   sed -i '/pkg_check_modules(WAYLAND_CLIENT wayland-client 
wayland-protocols)/d' CMakeLists.txt || die
-   fi
-
-   if ! use debug; then
-   eapply "${FILESDIR}/disable-debug-info.patch"
-   fi
-   cmake_src_prepare
-}
-
 src_configure() {
local mycmakeargs=(
"-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
-   "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=$(usex lto TRUE FALSE)"

[gentoo-commits] repo/proj/guru:dev commit in: app-misc/Clipboard/files/, app-misc/Clipboard/

2023-05-13 Thread Quincy Fleming
commit: 5e7044fa47e3bbd8d30f8e30ab10bc90734dae5f
Author: Quincy Fleming  protonmail  com>
AuthorDate: Sun May 14 02:23:47 2023 +
Commit: Quincy Fleming  protonmail  com>
CommitDate: Sun May 14 02:23:47 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e7044fa

app-misc/Clipboard: add 0.7.1, drop 0.7.0

Signed-off-by: Quincy Fleming  protonmail.com>

 ...ipboard-0.7.0.ebuild => Clipboard-0.7.1.ebuild} |  4 ++--
 app-misc/Clipboard/Manifest|  2 +-
 ...isable-debug.patch => disable-debug-info.patch} |  7 +++---
 ...git-and-lto.patch => disable-git-and-lto.patch} | 23 +-
 app-misc/Clipboard/metadata.xml| 27 --
 5 files changed, 18 insertions(+), 45 deletions(-)

diff --git a/app-misc/Clipboard/Clipboard-0.7.0.ebuild 
b/app-misc/Clipboard/Clipboard-0.7.1.ebuild
similarity index 91%
rename from app-misc/Clipboard/Clipboard-0.7.0.ebuild
rename to app-misc/Clipboard/Clipboard-0.7.1.ebuild
index 6173c91af..6c6de407f 100644
--- a/app-misc/Clipboard/Clipboard-0.7.0.ebuild
+++ b/app-misc/Clipboard/Clipboard-0.7.1.ebuild
@@ -21,7 +21,7 @@ RDEPEND="X? ( x11-libs/libX11 )
)
 "
 PATCHES=(
-   "${FILESDIR}/${P}-disable-git-and-lto.patch"
+   "${FILESDIR}/disable-git-and-lto.patch"
 )
 
 src_prepare() {
@@ -30,7 +30,7 @@ src_prepare() {
fi
 
if ! use debug; then
-   eapply "${FILESDIR}/${P}-disable-debug.patch"
+   eapply "${FILESDIR}/disable-debug-info.patch"
fi
cmake_src_prepare
 }

diff --git a/app-misc/Clipboard/Manifest b/app-misc/Clipboard/Manifest
index 874d9c260..e4b696d5f 100644
--- a/app-misc/Clipboard/Manifest
+++ b/app-misc/Clipboard/Manifest
@@ -1 +1 @@
-DIST Clipboard-0.7.0.tar.gz 19982465 BLAKE2B 
8ad1f03a3ae59d38fd543a45dff84eb307d716564c972b1c2de3c7cd8b07d7c48d1d4800ce5bb17a440c7e9d402804a40f49496869b4955a8acf60dbf6375845
 SHA512 
f5ffdc362854a5a6728914351462286cd2afb39cdf319cf1837045e892baf34896059a4f4415eb4ec118cd6770840978ffdbef7be715648b79bd344c6ecade5f
+DIST Clipboard-0.7.1.tar.gz 29187709 BLAKE2B 
9e33b0aa81ea434936e6c4fb6584e1df82726ebb98e933740f469454095c0810cc3e979a85009d2774d27b8e12d46c7affb82f4345cbf8425179040b0c448c88
 SHA512 
29c50c73d5b6860bc49c41fccbd04a7b8904876a2925916471039b22abb6a964d04dbbdb5fa7a97da346c85c1c47ab5b76a3f9a77ce11446c6fc7a5754c699fe

diff --git a/app-misc/Clipboard/files/Clipboard-0.7.0-disable-debug.patch 
b/app-misc/Clipboard/files/disable-debug-info.patch
similarity index 53%
rename from app-misc/Clipboard/files/Clipboard-0.7.0-disable-debug.patch
rename to app-misc/Clipboard/files/disable-debug-info.patch
index 2720a6ace..c69cfb30b 100644
--- a/app-misc/Clipboard/files/Clipboard-0.7.0-disable-debug.patch
+++ b/app-misc/Clipboard/files/disable-debug-info.patch
@@ -1,6 +1,7 @@
-diff -ur '--color=auto' 
Clipboard-0.7.0/src/gui/include/all/clipboard/logging.hpp 
Clipboard-0.7.0-new/src/gui/include/all/clipboard/logging.hpp
 Clipboard-0.7.0/src/gui/include/all/clipboard/logging.hpp  2023-05-03 
10:43:47.0 -0500
-+++ Clipboard-0.7.0-new/src/gui/include/all/clipboard/logging.hpp  
2023-05-04 09:23:58.640044952 -0500
+#Created by Quincy Fleming.
+#Disables debug info without using flag NDEBUG as unless forced it will be 
ignored in favor of the user's specified compiler flags 
+--- a/src/gui/include/all/clipboard/logging.hpp
 b/src/gui/include/all/clipboard/logging.hpp
 @@ -17,7 +17,6 @@
  #include 
  #include 

diff --git a/app-misc/Clipboard/files/Clipboard-0.7.0-disable-git-and-lto.patch 
b/app-misc/Clipboard/files/disable-git-and-lto.patch
similarity index 61%
rename from app-misc/Clipboard/files/Clipboard-0.7.0-disable-git-and-lto.patch
rename to app-misc/Clipboard/files/disable-git-and-lto.patch
index c4e487c64..42e5c81e1 100644
--- a/app-misc/Clipboard/files/Clipboard-0.7.0-disable-git-and-lto.patch
+++ b/app-misc/Clipboard/files/disable-git-and-lto.patch
@@ -1,6 +1,8 @@
-diff -ur '--color=auto' Clipboard-0.7.0/CMakeLists.txt 
Clipboard-0.7.0-new/CMakeLists.txt
 Clipboard-0.7.0/CMakeLists.txt 2023-05-03 10:43:47.0 -0500
-+++ Clipboard-0.7.0-new/CMakeLists.txt 2023-05-04 09:19:30.508030264 -0500
+#Created by Quincy Fleming
+#Disables git program as it will just result in fatal error during build 
(won't stop the build though. just annoying)
+#Also, this removes enabling of LTO by default and allows the user to choose 
wether or not they want LTO support via USE flag
+--- a/CMakeLists.txt
 b/CMakeLists.txt
 @@ -11,22 +11,6 @@
set(X11WL ON)
  endif()
@@ -42,9 +44,8 @@ diff -ur '--color=auto' Clipboard-0.7.0/CMakeLists.txt 
Clipboard-0.7.0-new/CMake
  add_subdirectory(src/gui)
  
  find_package(X11)
-diff -ur '--color=auto' Clipboard-0.7.0/src/cb/CMakeLists.txt 
Clipboard-0.7.0-new/src/cb/CMakeLists.txt
 Clipboard-0.7.0/src/cb/CMakeLists.txt  2023-05-03 10:43:47.0 
-0500
-+++ 

[gentoo-commits] repo/proj/guru:dev commit in: app-misc/Clipboard/files/, app-misc/Clipboard/

2023-05-04 Thread Quincy Fleming
commit: 019fc7b5d06976fbab715698dc23fc9d07995648
Author: Quincy Fleming  protonmail  com>
AuthorDate: Thu May  4 15:44:30 2023 +
Commit: Quincy Fleming  protonmail  com>
CommitDate: Thu May  4 15:44:30 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=019fc7b5

app-misc/Clipboard: add 0.7.0, drop 0.6.0

Signed-off-by: Quincy Fleming  protonmail.com>

 ...ipboard-0.6.0.ebuild => Clipboard-0.7.0.ebuild} |   6 +-
 app-misc/Clipboard/Manifest|   2 +-
 0-libdestination-and-disable-lto-and-git.patch | 103 -
 ...g.patch => Clipboard-0.7.0-disable-debug.patch} |   6 +-
 .../Clipboard-0.7.0-disable-git-and-lto.patch  |  80 
 5 files changed, 85 insertions(+), 112 deletions(-)

diff --git a/app-misc/Clipboard/Clipboard-0.6.0.ebuild 
b/app-misc/Clipboard/Clipboard-0.7.0.ebuild
similarity index 83%
rename from app-misc/Clipboard/Clipboard-0.6.0.ebuild
rename to app-misc/Clipboard/Clipboard-0.7.0.ebuild
index 856d2293c..6173c91af 100644
--- a/app-misc/Clipboard/Clipboard-0.6.0.ebuild
+++ b/app-misc/Clipboard/Clipboard-0.7.0.ebuild
@@ -21,7 +21,7 @@ RDEPEND="X? ( x11-libs/libX11 )
)
 "
 PATCHES=(
-   "${FILESDIR}/${P}-libdestination-and-disable-lto-and-git.patch"
+   "${FILESDIR}/${P}-disable-git-and-lto.patch"
 )
 
 src_prepare() {
@@ -43,7 +43,3 @@ src_configure() {
)
cmake_src_configure
 }
-
-pkg_postinst() {
-   elog "The \"clipboard\" command is depreciated.  Use \"cb\" instead.  
\"cb\" is symlinked to \"clipboard\" for now."
-}

diff --git a/app-misc/Clipboard/Manifest b/app-misc/Clipboard/Manifest
index 58b92a5cd..874d9c260 100644
--- a/app-misc/Clipboard/Manifest
+++ b/app-misc/Clipboard/Manifest
@@ -1 +1 @@
-DIST Clipboard-0.6.0.tar.gz 9187112 BLAKE2B 
91f1a4064d7cb539aa4e2cb227703cee6a7f9a4931d7555bf35fa9b4499a641cdd9093cadb713ab4f4d2a985e98616216921b658388b2adc939b4495293a301c
 SHA512 
aaf8a05736ba36b24448ec2df822d633f3532557b8f976447e19342fb6a482be8194d2c4d67c8fb9c4d8ecc04f88db5af14ad9d836b923fedfecce275c420875
+DIST Clipboard-0.7.0.tar.gz 19982465 BLAKE2B 
8ad1f03a3ae59d38fd543a45dff84eb307d716564c972b1c2de3c7cd8b07d7c48d1d4800ce5bb17a440c7e9d402804a40f49496869b4955a8acf60dbf6375845
 SHA512 
f5ffdc362854a5a6728914351462286cd2afb39cdf319cf1837045e892baf34896059a4f4415eb4ec118cd6770840978ffdbef7be715648b79bd344c6ecade5f

diff --git 
a/app-misc/Clipboard/files/Clipboard-0.6.0-libdestination-and-disable-lto-and-git.patch
 
b/app-misc/Clipboard/files/Clipboard-0.6.0-libdestination-and-disable-lto-and-git.patch
deleted file mode 100644
index e717f94ba..0
--- 
a/app-misc/Clipboard/files/Clipboard-0.6.0-libdestination-and-disable-lto-and-git.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-diff -ur '--color=auto' Clipboard-0.6.0/CMakeLists.txt 
Clipboard-0.6.0-new/CMakeLists.txt
 Clipboard-0.6.0/CMakeLists.txt 2023-04-08 12:34:14.0 -0500
-+++ Clipboard-0.6.0-new/CMakeLists.txt 2023-04-24 10:03:45.180861938 -0500
-@@ -11,22 +11,6 @@
-   set(X11WL ON)
- endif()
- 
--execute_process( # save the current branch to GIT_BRANCH
--  COMMAND git rev-parse --abbrev-ref HEAD
--  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
--  OUTPUT_VARIABLE GIT_BRANCH
--  OUTPUT_STRIP_TRAILING_WHITESPACE
--)
--
--execute_process( # save the current commit hash to GIT_COMMIT_HASH
--  COMMAND git log -1 --format=%h
--  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
--  OUTPUT_VARIABLE GIT_COMMIT_HASH
--  OUTPUT_STRIP_TRAILING_WHITESPACE
--)
--
--add_definitions(-DGIT_COMMIT_HASH="${GIT_COMMIT_HASH}")
--add_definitions(-DGIT_BRANCH="${GIT_BRANCH}")
- add_definitions(-DCLIPBOARD_VERSION="${PROJECT_VERSION}")
- 
- if (MSVC)
-@@ -74,17 +58,6 @@
- set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_${CMAKE_BUILD_TYPE} ${LIB_LOCATION})
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_${CMAKE_BUILD_TYPE} ${BIN_LOCATION})
- 
--function(enable_lto this_target)
--include(CheckIPOSupported)
--check_ipo_supported(RESULT lto_supported)
--if(lto_supported AND NOT NO_LTO)
--  set_property(TARGET ${this_target} PROPERTY INTERPROCEDURAL_OPTIMIZATION 
TRUE)
--  if(CMAKE_COMPILER_IS_GNUCXX)
--list(APPEND CMAKE_CXX_COMPILE_OPTIONS_IPO "-flto=auto") # set the thread 
amount to what is available on the CPU
--  endif()
--endif()
--endfunction()
--
- add_subdirectory(src/gui)
- 
- find_package(X11)
-diff -ur '--color=auto' Clipboard-0.6.0/src/clipboard/CMakeLists.txt 
Clipboard-0.6.0-new/src/clipboard/CMakeLists.txt
 Clipboard-0.6.0/src/clipboard/CMakeLists.txt   2023-04-08 
12:34:14.0 -0500
-+++ Clipboard-0.6.0-new/src/clipboard/CMakeLists.txt   2023-04-24 
10:04:39.144864894 -0500
-@@ -5,8 +5,6 @@
-   src/themes.cpp
- )
- 
--enable_lto(clipboard)
--
- target_link_libraries(clipboard gui)
- 
- if(WIN32)
-@@ -45,13 +43,13 @@
- TARGET clipboard
- APPEND
- PROPERTY BUILD_RPATH
--"${CMAKE_INSTALL_PREFIX}/lib"
-+"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
-   )
-   set_property(
- TARGET 

[gentoo-commits] repo/proj/guru:dev commit in: app-misc/Clipboard/files/, app-misc/Clipboard/

2023-04-24 Thread Quincy Fleming
commit: e0705672ec72b999d135801a7d0bb1f61fa3ccbf
Author: Quincy Fleming  protonmail  com>
AuthorDate: Tue Apr 25 03:02:10 2023 +
Commit: Quincy Fleming  protonmail  com>
CommitDate: Tue Apr 25 03:02:10 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0705672

app-misc/Clipboard: new package, add 0.6.0

Signed-off-by: Quincy Fleming  protonmail.com>

 app-misc/Clipboard/Clipboard-0.6.0.ebuild  |  49 ++
 app-misc/Clipboard/Manifest|   1 +
 .../files/Clipboard-0.6.0-disable-debug.patch  |  18 
 0-libdestination-and-disable-lto-and-git.patch | 103 +
 app-misc/Clipboard/metadata.xml|  27 ++
 5 files changed, 198 insertions(+)

diff --git a/app-misc/Clipboard/Clipboard-0.6.0.ebuild 
b/app-misc/Clipboard/Clipboard-0.6.0.ebuild
new file mode 100644
index 0..856d2293c
--- /dev/null
+++ b/app-misc/Clipboard/Clipboard-0.6.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Cut, copy, and paste anything in your terminal"
+HOMEPAGE="https://getclipboard.app/ https://github.com/Slackadays/Clipboard;
+SRC_URI="https://github.com/Slackadays/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X wayland lto debug"
+
+RDEPEND="X? ( x11-libs/libX11 )
+   wayland? (
+   dev-libs/wayland-protocols
+   dev-libs/wayland
+   )
+"
+PATCHES=(
+   "${FILESDIR}/${P}-libdestination-and-disable-lto-and-git.patch"
+)
+
+src_prepare() {
+   if ! use wayland; then
+   sed -i '/pkg_check_modules(WAYLAND_CLIENT wayland-client 
wayland-protocols)/d' CMakeLists.txt || die
+   fi
+
+   if ! use debug; then
+   eapply "${FILESDIR}/${P}-disable-debug.patch"
+   fi
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   "-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
+   "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=$(usex lto TRUE FALSE)"
+   "-DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex X OFF ON)"
+   )
+   cmake_src_configure
+}
+
+pkg_postinst() {
+   elog "The \"clipboard\" command is depreciated.  Use \"cb\" instead.  
\"cb\" is symlinked to \"clipboard\" for now."
+}

diff --git a/app-misc/Clipboard/Manifest b/app-misc/Clipboard/Manifest
new file mode 100644
index 0..58b92a5cd
--- /dev/null
+++ b/app-misc/Clipboard/Manifest
@@ -0,0 +1 @@
+DIST Clipboard-0.6.0.tar.gz 9187112 BLAKE2B 
91f1a4064d7cb539aa4e2cb227703cee6a7f9a4931d7555bf35fa9b4499a641cdd9093cadb713ab4f4d2a985e98616216921b658388b2adc939b4495293a301c
 SHA512 
aaf8a05736ba36b24448ec2df822d633f3532557b8f976447e19342fb6a482be8194d2c4d67c8fb9c4d8ecc04f88db5af14ad9d836b923fedfecce275c420875

diff --git a/app-misc/Clipboard/files/Clipboard-0.6.0-disable-debug.patch 
b/app-misc/Clipboard/files/Clipboard-0.6.0-disable-debug.patch
new file mode 100644
index 0..12c68f3ae
--- /dev/null
+++ b/app-misc/Clipboard/files/Clipboard-0.6.0-disable-debug.patch
@@ -0,0 +1,18 @@
+diff -ur '--color=auto' 
Clipboard-0.6.0/src/gui/include/all/clipboard/logging.hpp 
Clipboard-0.6.0-new/src/gui/include/all/clipboard/logging.hpp
+--- Clipboard-0.6.0/src/gui/include/all/clipboard/logging.hpp  2023-04-08 
12:34:14.0 -0500
 Clipboard-0.6.0-new/src/gui/include/all/clipboard/logging.hpp  
2023-04-19 23:01:23.069641770 -0500
+@@ -17,7 +17,6 @@
+ #include 
+ #include 
+ 
+-#if defined(NDEBUG)
+ class NullBuffer : public std::streambuf {
+ public:
+ int overflow(int c) override { return c; }
+@@ -26,6 +25,3 @@
+ static NullBuffer nullBuffer;
+ static std::ostream nullStream();
+ static std::ostream& debugStream = nullStream;
+-#else
+-static std::ostream& debugStream = std::cerr;
+-#endif

diff --git 
a/app-misc/Clipboard/files/Clipboard-0.6.0-libdestination-and-disable-lto-and-git.patch
 
b/app-misc/Clipboard/files/Clipboard-0.6.0-libdestination-and-disable-lto-and-git.patch
new file mode 100644
index 0..e717f94ba
--- /dev/null
+++ 
b/app-misc/Clipboard/files/Clipboard-0.6.0-libdestination-and-disable-lto-and-git.patch
@@ -0,0 +1,103 @@
+diff -ur '--color=auto' Clipboard-0.6.0/CMakeLists.txt 
Clipboard-0.6.0-new/CMakeLists.txt
+--- Clipboard-0.6.0/CMakeLists.txt 2023-04-08 12:34:14.0 -0500
 Clipboard-0.6.0-new/CMakeLists.txt 2023-04-24 10:03:45.180861938 -0500
+@@ -11,22 +11,6 @@
+   set(X11WL ON)
+ endif()
+ 
+-execute_process( # save the current branch to GIT_BRANCH
+-  COMMAND git rev-parse --abbrev-ref HEAD
+-  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+-  OUTPUT_VARIABLE GIT_BRANCH
+-  OUTPUT_STRIP_TRAILING_WHITESPACE
+-)
+-
+-execute_process( # save the current commit hash to GIT_COMMIT_HASH
+-  COMMAND git log -1 --format=%h
+-  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+-  OUTPUT_VARIABLE