summaryrefslogtreecommitdiff
path: root/app-misc/ddcui
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-24 10:33:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-24 10:33:12 +0000
commit0e7b1da874d923b9f006e0000023f5fa528140a8 (patch)
tree5fe8ce29562fb30bd971efe3ae2fedc7f81fed2f /app-misc/ddcui
parent9f644c082e09048b176cdc65d87a0e6df3f18f2f (diff)
gentoo auto-resync : 24:11:2023 - 10:33:11
Diffstat (limited to 'app-misc/ddcui')
-rw-r--r--app-misc/ddcui/Manifest3
-rw-r--r--app-misc/ddcui/ddcui-0.4.2.ebuild36
-rw-r--r--app-misc/ddcui/files/ddcui-0.4.2-drop-qthelp-dep.patch30
3 files changed, 69 insertions, 0 deletions
diff --git a/app-misc/ddcui/Manifest b/app-misc/ddcui/Manifest
index e24c51998308..f98d87d458c6 100644
--- a/app-misc/ddcui/Manifest
+++ b/app-misc/ddcui/Manifest
@@ -1,7 +1,10 @@
AUX ddcui-0.2.1-build.patch 639 BLAKE2B 0485050d4e57aff2261b210e55b96baaeb3271060ccc05a0f88aed2c678c99c8b4e0485153e924b3dcc0f8a2faabf0991bac4b698f66f6547f925189ff85344a SHA512 cb4d61500c083ed18cb5264e02997fc88416baea7676a92f1aedaa400007aaa7931993ec32a8b1baa7fd9bb552553a4dbc77393c2501fbe1618e4150c9c0d87c
AUX ddcui-0.2.1-drop-qthelp-dep.patch 1398 BLAKE2B 6deb7e574f997f81e13834fa32b4dc435366231592a2a7e13e716252e475ae3d1301fd6678385522cc216f3924eaf7fa834b2ef92ee7d19714c4846e672d8d13 SHA512 a6432ba9d44f58f864a9f0c92770191afead20d28e527cc14056f494525e97f4f1978abc33cf03cdb20bd8a5fec78b4de19d4f46505322c98a7bd861751750c4
+AUX ddcui-0.4.2-drop-qthelp-dep.patch 1531 BLAKE2B e675ca6dfed846a77734f9d2ddb2120ac836d5c2b2d82e7d7d3ad29cae8a01955cee897a8bd5f356bafc1a377e013cd3a8c51de2453e05e10c62bd67b14be3ae SHA512 c626b27a06578d2e41077ac5683fcf742018f9af53b6d23fefbe70efa9ba4a16b9a132656a6c56ebcc0145af809d7e2072b818d42508704b49e61419c46ff375
DIST ddcui-0.2.1.tar.gz 601220 BLAKE2B 18af4ee4db741a612565260ed812f7274695472e9dc6e32c6670efcbdaeafcac9b0b45e44d02188d23e0f379f57b062270ecad58bdcfa8e8c2bf99c2775b1dfe SHA512 0df363dbf17750e3920e0afc5fc29b42271bbf06dcf52cddf46f3660155c0954ee39e8e356e9caebe1a6a679ab0b3a4ebb2e501a9bb9ac2cd47da3f522fb3169
DIST ddcui-0.3.0.tar.gz 601534 BLAKE2B d91d7467879c684cbb8571da48dfd170afa60d63832b44515d6d19187792f6c3c2c178e907ad8693cdba8df44b448eb4393a91e4439dcda13ac096ad6e97a594 SHA512 fab1ea757aad90fa68d2f6f5c128d7917e81f287a0a9e432461c7b2119c3f0d9da0e28a013510d1b0cb300b40c3f4dd745f3e1732c52f671c4d6e39b3ef0c368
+DIST ddcui-0.4.2.tar.gz 613765 BLAKE2B 2479570d9a79c298d8823c8a658c190e230ec83afc1b1deb9e3659e723c30bd0f2c1d55bc0aa5dcdf975adbab5792afd8ef5d350247eef5710cee4c99f4b56a6 SHA512 7f4339d292e42feb5912570be3b5629d61433a51bfdf0197deb10f8c0bc0e568dbc72f8e117c82dade30f01e3f00b5e805c4458e2bf9e6cc5932e33b7e7e51aa
EBUILD ddcui-0.2.1-r1.ebuild 817 BLAKE2B a0100685eea7621ab5b366e76798db8cbbb2ab15a0b665a13c807e755e10922a7a0b042ba1ea5064418d8a2999ce66fa133cbc4e6da201a427e2cee777eb543c SHA512 f6afdfda567341cfe0fd7e87caf9f8534de142f1a584aa36dd5f1a48a4f0a103389bd6ce2b6ecf8d06181995548a450376fc54e274579db01a23f1ec518c7e89
EBUILD ddcui-0.3.0-r1.ebuild 792 BLAKE2B 4063de5d50691a1d39a8a167ed90d8e18e59fcd982438a679b5fa0cac4434883b8e836ee9be0d4f5ae4f5bd006ce2fd942070639edca6b226a68ab18f6ffed16 SHA512 b3e362f287fd8fdf8beef5596f33ceeb9124e8e1ee94d74f70a65ea4ec73f66a083861566deea64b547fe1ae3f67fdbda984ff3266d02717917deeca386ab55a
+EBUILD ddcui-0.4.2.ebuild 792 BLAKE2B 325db53f5ceb0bb14b257c7d0fced20ac5c4c81c3ea9483b771e508e02a37439455b327b7704f1671f2eccca28df52a4d3b9dbc8cea6ddb08d81248ababb91fb SHA512 c0f77bf4d5b6196a4a6082f94dff9a0ffcd4d390db242ef6a9a979a2db165bcc0aff914df570fc6ec84109d4779bf2a86e4e9e7f6452ec5ec800b31b738ba165
MISC metadata.xml 507 BLAKE2B 4f458118ad0f48137ac6b50871d7bc07f3b4416cbb82b264edd00726a6b9655d9ce986618da3c53a8e8855054a1e1e68045353589fdde1541c17e3f4b2e29828 SHA512 6a5c378319fc110e1338f4f6aeb5ce41c76ac521e95311c8b368b5357a2fd362038b21e46ff59dafc2cd8b0baeb55b7530b64c9f4f25513eb3eb66e528fd1e28
diff --git a/app-misc/ddcui/ddcui-0.4.2.ebuild b/app-misc/ddcui/ddcui-0.4.2.ebuild
new file mode 100644
index 000000000000..94f61da45cdd
--- /dev/null
+++ b/app-misc/ddcui/ddcui-0.4.2.ebuild
@@ -0,0 +1,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-2.0.0:0/5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.4.2-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
+}
diff --git a/app-misc/ddcui/files/ddcui-0.4.2-drop-qthelp-dep.patch b/app-misc/ddcui/files/ddcui-0.4.2-drop-qthelp-dep.patch
new file mode 100644
index 000000000000..d7552b323ba1
--- /dev/null
+++ b/app-misc/ddcui/files/ddcui-0.4.2-drop-qthelp-dep.patch
@@ -0,0 +1,30 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index aa68d60..522c9f3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -98,12 +98,11 @@ message( ${VERBOSE} " CMAKE_AUTORCC: ${CMAKE_AUTORCC}")
+
+ set(QT5_LIBRARIES Qt5::Widgets )
+ # Ensures all Qt componenets have same version:
+-find_package(Qt5 ${ddcui_qt_version} COMPONENTS Core Widgets Gui Help REQUIRED)
++find_package(Qt5 ${ddcui_qt_version} COMPONENTS Core Widgets Gui REQUIRED)
+ message( ${VERBOSE} "Qt directories:")
+ message( ${VERBOSE} " Qt5Widgets_INCLUDE_DIRS: ${Qt5Widgets_INCLUDE_DIRS}" )
+ message( ${VERBOSE} " Qt5Core_INCLUDE_DIRS: ${Qt5Core_INCLUDE_DIRS}" )
+ message( ${VERBOSE} " Qt5Gui_INCLUDE_DIRS: ${Qt5Gui_INCLUDE_DIRS}" )
+-message( ${VERBOSE} " Qt5Help_INCLUDE_DIRS: ${Qt5Help_INCLUDE_DIRS}" )
+
+ find_package (PkgConfig REQUIRED )
+ pkg_check_modules(GLIB2 REQUIRED glib-2.0>=${ddcui_glib_version})
+@@ -239,9 +238,9 @@ target_compile_options(ddcui PUBLIC "-fPIC" ${coverity_cflags})
+ # add_compile_options(-Og -H V=1)
+
+ # redundant: ${Qt5Gui_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS}.
+-# ${Qt5Help_INCLUDE_DIRS} is a superset of them all
+ target_include_directories(ddcui SYSTEM PRIVATE
+- ${Qt5Help_INCLUDE_DIRS}
++ ${Qt5Gui_INCLUDE_DIRS}
++ ${Qt5Widgets_INCLUDE_DIRS}
+ ${GLIB2_INCLUDE_DIRS}
+ ${DDCUTIL_INCLUDE_DIRS})
+