app-misc/ddcui: add 0.6.0

Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
Nowa Ammerlaan
2025-05-19 16:27:51 +02:00
parent 1d9ca3847a
commit 3f986ca14f
2 changed files with 44 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST ddcui-0.5.4.tar.gz 617279 BLAKE2B a8a4fe8ad938efdee4baed1f8d450cc9aa0e8687fbe35bc2f4593a2214413e1b00ad1ee9884f4ef1eaebc3d7173a6aa01b0ace1b0ee99afc7b06f83fffd06da1 SHA512 f6e044f99419e0841663034ee84c1ad038ed64f8287fd48bbe5ba19b1dea3b714e4952cb11e04a04548e7c31e476459554b75748b2c0f844ed7b68fa5bb543e6
DIST ddcui-0.6.0.tar.gz 628786 BLAKE2B 03970ca20d08b4b07ff2896ffb9eb50e22627d0ece216b6647f25ee0265903e4acd6d1aa2869b8dc103635ee1039677af6b446772e62d12eda3bd50be91cd119 SHA512 16b41b4f96ab7d3872f298a201ef3dd62f692f9f47575971fbc66bcb8c2fa2acf3142ba5d36f9d88738babdff334f4e6ded6357a0149c3fbb24de07e4766bea7

View File

@@ -0,0 +1,43 @@
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Check for bumps & cleanup with app-misc/ddcutil
inherit cmake xdg
DESCRIPTION="Graphical user interface for ddcutil - control monitor settings"
HOMEPAGE="https://www.ddcutil.com/ddcui_main/"
SRC_URI="https://github.com/rockowitz/ddcui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/glib
>=app-misc/ddcutil-2.2.0:0/5
>=dev-qt/qtbase-6.1:6[gui,widgets]
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${PN}-0.5.3-drop-qthelp-dep.patch"
)
src_prepare() {
# move docs to correct dir
sed -i -e "s%share/doc/ddcui%share/doc/${PF}%g" CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
# Not quite there yet, so force off
-DUSE_QT6=ON
)
cmake_src_configure
}