summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/ddcui/Manifest1
-rw-r--r--app-misc/ddcui/ddcui-0.1.2.ebuild38
-rw-r--r--app-misc/ddcui/metadata.xml16
3 files changed, 55 insertions, 0 deletions
diff --git a/app-misc/ddcui/Manifest b/app-misc/ddcui/Manifest
new file mode 100644
index 000000000000..9a43a2edadef
--- /dev/null
+++ b/app-misc/ddcui/Manifest
@@ -0,0 +1 @@
+DIST ddcui-0.1.2.tar.gz 126766 BLAKE2B 85317b68bbd7e3e5b780ad2ba45888049f9ca70695ccfeb5d0acc2f2c8db11ee97438aa53240671f908caffd45b12a488593cd82b41c8e1acbad38f97d560ab4 SHA512 008033f23cf1dccb69b503b2f8950518e771bd4892b2df912186712859e6e66f724019beb5941d49452ae9a6080ce2730a1e11ec201931a31b3ab4735c03c724
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>