commit: e7d7b2be77895d38ff91521c719077d1f3f23edc Author: Johannes Huber <johu <AT> gmx <DOT> de> AuthorDate: Tue May 27 14:10:17 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 27 14:20:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d7b2be
x11-misc/xcalib: add 0.11 Signed-off-by: Johannes Huber <johu <AT> gmx.de> Part-of: https://github.com/gentoo/gentoo/pull/42281 Closes: https://github.com/gentoo/gentoo/pull/42281 Signed-off-by: Sam James <sam <AT> gentoo.org> x11-misc/xcalib/Manifest | 1 + x11-misc/xcalib/files/xcalib-0.11-cmake4.patch | 10 ++++++++ x11-misc/xcalib/xcalib-0.11.ebuild | 35 ++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/x11-misc/xcalib/Manifest b/x11-misc/xcalib/Manifest index 407c72f7b3fd..54694fba7da0 100644 --- a/x11-misc/xcalib/Manifest +++ b/x11-misc/xcalib/Manifest @@ -1 +1,2 @@ DIST xcalib-0.10.tar.gz 36769 BLAKE2B 419bcbe4c87bd8af5869537d334ec08e1e1d262d8a3ef550a5e99451ccfebce37025b95e7044ca782faac6f933e5a0a5b65c8ced10ea1f5aab8f3bc93290d959 SHA512 c52252c903125bf95592d35a75c818be196dd92a86ceab39e0a933162e04e160f2303d20e5892e72a23a7e8067c1e8d785381b4c327980a6fab22ed093c28f41 +DIST xcalib-0.11.tar.gz 114254 BLAKE2B 60a450fb9e708096cca2173676ba26f8bce345dd8fa9b20df9288af5d7c70b076ab11c90222efee267754c975f072bb627532df95877601091510b1dfec8ad55 SHA512 9e0ce7cc0750d52ff95cf0584222d70f69559498ad1678fa17fc26b9a041d287cee28c2e8ee5f2cfc112ba1c98e4989fbbf07cb730057b6e8e9b6815e98e80a6 diff --git a/x11-misc/xcalib/files/xcalib-0.11-cmake4.patch b/x11-misc/xcalib/files/xcalib-0.11-cmake4.patch new file mode 100644 index 000000000000..a577dec01caf --- /dev/null +++ b/x11-misc/xcalib/files/xcalib-0.11-cmake4.patch @@ -0,0 +1,10 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6a48c13..0f883dd 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED (VERSION 2.8.12) ++CMAKE_MINIMUM_REQUIRED (VERSION 3.10) + + PROJECT (xcalib C) + diff --git a/x11-misc/xcalib/xcalib-0.11.ebuild b/x11-misc/xcalib/xcalib-0.11.ebuild new file mode 100644 index 000000000000..663ff1c3c517 --- /dev/null +++ b/x11-misc/xcalib/xcalib-0.11.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Tiny monitor calibration loader for X.org" +HOMEPAGE="https://codeberg.org/OpenICC/xcalib" +SRC_URI="https://codeberg.org/OpenICC/xcalib/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXrandr + x11-libs/libXxf86vm +" +DEPEND="${RDEPEND} + x11-base/xorg-proto + x11-libs/libXext +" + +PATCHES=( "$FILESDIR"/${P}-cmake4.patch ) + +src_configure() { + local mycmakeargs=( + # not packaged yet + -DCMAKE_DISABLE_FIND_PACKAGE_Oyjl=ON + ) + cmake_src_configure +}
