commit: b2e7834a5d0f144caa058ea93e5247633ce6cb21 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu May 1 16:54:55 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu May 1 16:57:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e7834a
x11-misc/qlipper: add Qt6-based 5.1.2_p20241029, fix build w/ cmake-4 See also: https://github.com/pvanek/qlipper/issues/157 Bug: https://bugs.gentoo.org/953259 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> x11-misc/qlipper/Manifest | 1 + .../files/qlipper-5.1.2_p20241029-cmake4.patch | 11 +++++++++ x11-misc/qlipper/qlipper-5.1.2_p20241029.ebuild | 27 ++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/x11-misc/qlipper/Manifest b/x11-misc/qlipper/Manifest index 1b92b1d7fd0b..1948d435c6fa 100644 --- a/x11-misc/qlipper/Manifest +++ b/x11-misc/qlipper/Manifest @@ -1 +1,2 @@ DIST qlipper-5.1.2.tar.gz 104652 BLAKE2B 841b984d4720dfe7d69424a79beee8d84f5d66109ac1afb75c39cf16ff27da309d929f91eab2222e43a547d4d010809f31d59adb321c9f9f0ae19fb580cff0a2 SHA512 1ad49424855abf5f446026856178291b6ed8c1152338013f2228bbe5a923bc2e989754fe41e8b03f069f815c3850073eb1063842b5f40462005693a9029b187b +DIST qlipper-5.1.2_p20241029-4f89ae6e.tar.gz 130470 BLAKE2B a3979be18d49dc9ad11fa6cb13c16cbf03690d7ca225301e2a90774ff768f19f43a3f2121d29cdcfa1957e06f623fde32efc0edfaebce48b19f8d4363f8312cb SHA512 5043bbbc9bdaf518605bd06d03082c6f7819f6536873294d7898eeac69fe5d0b934b384e5639daf64fbd32c5808bc809e42e068de5e5b57bd3122114b5195e6b diff --git a/x11-misc/qlipper/files/qlipper-5.1.2_p20241029-cmake4.patch b/x11-misc/qlipper/files/qlipper-5.1.2_p20241029-cmake4.patch new file mode 100644 index 000000000000..3252bdb123b8 --- /dev/null +++ b/x11-misc/qlipper/files/qlipper-5.1.2_p20241029-cmake4.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2024-10-29 21:41:08.000000000 +0100 ++++ b/CMakeLists.txt 2025-05-01 18:51:18.770578621 +0200 +@@ -40,7 +40,7 @@ + # It will copy all dependecies (libs/resources) into bundle tree + # ------------------------------------------------------- + +-CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.16.0) + + project(qlipper) + diff --git a/x11-misc/qlipper/qlipper-5.1.2_p20241029.ebuild b/x11-misc/qlipper/qlipper-5.1.2_p20241029.ebuild new file mode 100644 index 000000000000..0c0733c49bd1 --- /dev/null +++ b/x11-misc/qlipper/qlipper-5.1.2_p20241029.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT=4f89ae6e90e3c9bbcc785981e4f522ef87842dfb +inherit cmake xdg + +DESCRIPTION="Lightweight and cross-platform clipboard history applet" +HOMEPAGE="https://github.com/pvanek/qlipper" +SRC_URI="https://github.com/pvanek/${PN}/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# TODO: still accurate? bundles x11-libs/libqxt but no qt6 system version is available yet +RDEPEND=" + dev-qt/qtbase:6[gui,widgets] + x11-libs/libX11 +" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/qttools:6[linguist]" + +PATCHES=( "${FILESDIR}/${P}-cmake4.patch" )
