summaryrefslogtreecommitdiff
path: root/x11-misc/qlipper
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/qlipper')
-rw-r--r--x11-misc/qlipper/Manifest5
-rw-r--r--x11-misc/qlipper/files/qlipper-5.1.2_p20241029-cmake4.patch11
-rw-r--r--x11-misc/qlipper/qlipper-5.1.2.ebuild33
-rw-r--r--x11-misc/qlipper/qlipper-5.1.2_p20241029.ebuild27
4 files changed, 41 insertions, 35 deletions
diff --git a/x11-misc/qlipper/Manifest b/x11-misc/qlipper/Manifest
index 9090c16df48a..d849a9901e0b 100644
--- a/x11-misc/qlipper/Manifest
+++ b/x11-misc/qlipper/Manifest
@@ -1,3 +1,4 @@
-DIST qlipper-5.1.2.tar.gz 104652 BLAKE2B 841b984d4720dfe7d69424a79beee8d84f5d66109ac1afb75c39cf16ff27da309d929f91eab2222e43a547d4d010809f31d59adb321c9f9f0ae19fb580cff0a2 SHA512 1ad49424855abf5f446026856178291b6ed8c1152338013f2228bbe5a923bc2e989754fe41e8b03f069f815c3850073eb1063842b5f40462005693a9029b187b
-EBUILD qlipper-5.1.2.ebuild 699 BLAKE2B 21dd0fbe14945bdb8be631508c3208a457854ec49c408ff7f312fd81507daa6735db376135f6e30f4ec13285a023b217bd7c6e2f634bcbdb17dcbfcb970ac789 SHA512 972917a352f4d86b15f2ee6b9f9bb0c038970558f74b5e8685b1bad563f4b665b79252d6881be579642d810e91701679266df85c5d551c99605805d5ed396d64
+AUX qlipper-5.1.2_p20241029-cmake4.patch 363 BLAKE2B 4c008ac652e4be5ca2ee2f9570345c6de703a6553c148c2a420557702299fee15eea0c60d95b71611fdf3dfc7e965f367f78e4d4447000dc27100b5e86467a69 SHA512 5138afb846c583ee5e2ee37dd1ca89dd41a98e20b7ee80cda082a1be7f2823de026c6a22eace0de53680fe61d6ccdb71289b4eaa3ced5832ad71961d1f443945
+DIST qlipper-5.1.2_p20241029-4f89ae6e.tar.gz 130470 BLAKE2B a3979be18d49dc9ad11fa6cb13c16cbf03690d7ca225301e2a90774ff768f19f43a3f2121d29cdcfa1957e06f623fde32efc0edfaebce48b19f8d4363f8312cb SHA512 5043bbbc9bdaf518605bd06d03082c6f7819f6536873294d7898eeac69fe5d0b934b384e5639daf64fbd32c5808bc809e42e068de5e5b57bd3122114b5195e6b
+EBUILD qlipper-5.1.2_p20241029.ebuild 733 BLAKE2B bf32730f3b767ba8f0c75ea6b113f8886d1ffbb3f0fdcaec685516e8db163354eafaf264ff5dd4d172dee05c42ffd2b796992705c5b260e40626723c69aad7b0 SHA512 b2fe40e4dfd804f8c5ca097da96ebc63efaac4dabf8fd9f5ea362eb4678f696daf1408568b6c0b21858db29b001a75ab8456e1cf2d1e70db03bfb78f82476ac4
MISC metadata.xml 247 BLAKE2B 671b86fd8854b53f05ed20729bf2a351ed09ffe06e9875806ae52fe44d5beb12330b9e72115c7c0972e0290960b83b52f913ebb7171c63fcddd59a5057b7bf88 SHA512 595db07900e7dd2565965295bb34912071334dff9b13704cca463147936efab28f8020c5063250274285fdb02ee4ca603684cfc282f7db89a82a0ba9860cddca
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.ebuild b/x11-misc/qlipper/qlipper-5.1.2.ebuild
deleted file mode 100644
index c8baf97ee0dc..000000000000
--- a/x11-misc/qlipper/qlipper-5.1.2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg-utils
-
-DESCRIPTION="Lightweight and cross-platform clipboard history applet"
-HOMEPAGE="https://github.com/pvanek/qlipper"
-SRC_URI="https://github.com/pvanek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-# TODO: still accurate? bundles x11-libs/libqxt but no qt5 system version is available yet
-RDEPEND="
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- x11-libs/libX11
-"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-qt/linguist-tools:5"
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
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" )