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@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-05-01 18:57:24 +02:00
parent 58d737f8ac
commit b2e7834a5d
3 changed files with 39 additions and 0 deletions
+1
View File
@@ -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
@@ -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)
@@ -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" )