summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-21 19:02:05 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-21 19:03:16 +0200
commit610a8ec544ee938d909e201e9d615b51cf7fdb91 (patch)
tree7a6d64d73c00e21b3e22c39fe280462b00fb5d64 /app-misc/ddcui
parentsys-fs/zfs-kmod: fix dist-kernel postinst hook (diff)
downloadgentoo-610a8ec544ee938d909e201e9d615b51cf7fdb91.tar.gz
gentoo-610a8ec544ee938d909e201e9d615b51cf7fdb91.tar.bz2
gentoo-610a8ec544ee938d909e201e9d615b51cf7fdb91.zip
app-misc/ddcui: import from ::guru
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'app-misc/ddcui')
-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>