summaryrefslogtreecommitdiff
path: root/app-misc/ddcui
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
commit908778078736bd36f7a60a2d576d415cb8e000fa (patch)
treec6a4796c48b608c14dc7e9674cdbd38f905e3c15 /app-misc/ddcui
parent185fa19bbf68a4d4dca534d2b46729207a177f16 (diff)
gentoo resync : 22.05.2021
Diffstat (limited to 'app-misc/ddcui')
-rw-r--r--app-misc/ddcui/Manifest3
-rw-r--r--app-misc/ddcui/ddcui-0.1.2.ebuild38
-rw-r--r--app-misc/ddcui/metadata.xml16
3 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/ddcui/Manifest b/app-misc/ddcui/Manifest
new file mode 100644
index 000000000000..f945758bc6b3
--- /dev/null
+++ b/app-misc/ddcui/Manifest
@@ -0,0 +1,3 @@
+DIST ddcui-0.1.2.tar.gz 126766 BLAKE2B 85317b68bbd7e3e5b780ad2ba45888049f9ca70695ccfeb5d0acc2f2c8db11ee97438aa53240671f908caffd45b12a488593cd82b41c8e1acbad38f97d560ab4 SHA512 008033f23cf1dccb69b503b2f8950518e771bd4892b2df912186712859e6e66f724019beb5941d49452ae9a6080ce2730a1e11ec201931a31b3ab4735c03c724
+EBUILD ddcui-0.1.2.ebuild 853 BLAKE2B cb1bc97b03de0b47447d9e21c034f91d4ff7b7f4da9054e3b9bd37718ea40dbad70b1a105996a38ab020d24d7dea619f3fe51cdbe5b90fb526eb81f9598dd3ea SHA512 6e078a7c97b4723b22d2de3c11f2006a572b609295c5e04dd62e7c798fbd65fa8a4112b09854d7735668dd41c6c8dfc698964c11ab3ba3fd1045baf321b597d5
+MISC metadata.xml 506 BLAKE2B d9ba8243b0d919bf2e9c81e3ca6f0ac3af34b7be558837b839701f6743998f8bc9bc92b67358eae9e87c3752513d7eab5e68eec728cb6544aee0f19aadc0f766 SHA512 02009fcbe817a8bcf92067a461d57733937586c0111595e6f6a91709a93556f0d4485f841648519e5aca941bf7d904c12ec4c2a6f68b4187962cdf74fc6dc15c
diff --git a/app-misc/ddcui/ddcui-0.1.2.ebuild b/app-misc/ddcui/ddcui-0.1.2.ebuild
new file mode 100644
index 000000000000..4319b120f3d9
--- /dev/null
+++ b/app-misc/ddcui/ddcui-0.1.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake desktop 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-0.9.9
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qthelp:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+ virtual/freedesktop-icon-theme
+"
+BDEPEND="virtual/pkgconfig"
+
+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_install() {
+ cmake_src_install
+ make_desktop_entry ddcui "Monitor Settings" preferences-desktop-display Settings
+}
diff --git a/app-misc/ddcui/metadata.xml b/app-misc/ddcui/metadata.xml
new file mode 100644
index 000000000000..02bb3dbc970b
--- /dev/null
+++ b/app-misc/ddcui/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rockowitz/ddcui</remote-id>
+ <bugs-to>https://github.com/rockowitz/ddcui/issues</bugs-to>
+ <maintainer>
+ <email>rockowitz@minsoft.com</email>
+ <name>Sanford Rockowitz</name>
+ </maintainer>
+ </upstream>
+</pkgmetadata>