blob: 9417270f3965f5880f556a77c5dcd44699fc7030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 2019-2023 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"
KEYWORDS="~amd64"
LICENSE="GPL-2+"
SLOT="0"
DEPEND="
dev-libs/glib
>=app-misc/ddcutil-1.2.0:0/4
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${P}-build.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
}
|