x11-misc/xcalib: add 0.11

Signed-off-by: Johannes Huber <johu@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@gentoo.org>
This commit is contained in:
Johannes Huber
2025-05-27 16:10:17 +02:00
committed by Sam James
parent 19529f5fe9
commit e7d7b2be77
3 changed files with 46 additions and 0 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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
}