From 9324fce86b4a7af380a77ef9cec3fc0508ead78c Mon Sep 17 00:00:00 2001 From: Anton Schubert Date: Wed, 7 Sep 2022 15:27:28 +0200 Subject: [PATCH] x11-misc/yin-yang: bump version Package-Manager: Portage-3.0.30, Repoman-3.0.3 --- x11-misc/yin-yang/Manifest | 3 ++ x11-misc/yin-yang/files/Yin-Yang.desktop | 23 +++++++++++++ x11-misc/yin-yang/metadata.xml | 7 ++++ .../yin-yang/yin-yang-1.1_pre020220825.ebuild | 33 +++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 x11-misc/yin-yang/Manifest create mode 100644 x11-misc/yin-yang/files/Yin-Yang.desktop create mode 100644 x11-misc/yin-yang/metadata.xml create mode 100644 x11-misc/yin-yang/yin-yang-1.1_pre020220825.ebuild diff --git a/x11-misc/yin-yang/Manifest b/x11-misc/yin-yang/Manifest new file mode 100644 index 0000000..da13f2b --- /dev/null +++ b/x11-misc/yin-yang/Manifest @@ -0,0 +1,3 @@ +AUX Yin-Yang.desktop 1001 BLAKE2B 7d241b09d08f111398a1cf80880f8bbc7a589a7956d6139770d3c15e62b2bd9b75ef2e0b9dad7a27d85daacd402eef7b14987c9436639515ef24427cc2751532 SHA512 95cf98380c27197436310153c096336249b396a5827331c03b651bbdb2aa50d45613f40455a77011100f5d00c760f2106d6ce3912908d114c992efdf89d18e5a +EBUILD yin-yang-1.1_pre020220825.ebuild 751 BLAKE2B 3beda54c76777b4c421b41cb0d6a97f38c6e0a9c4b5c20e8996096e5dd22210298bd6aab08422c5edf1b1bea0b64b4ecf10d5efdbec621cb3e24d01d52030400 SHA512 ca5292038b9d8952cc415f62421d2e63ce4c53fdc937d46a22a9346bbb72968bd28129b1de9fd033c0b557bdb94d99ade4ac8ea605a2488a235c6db34cfa24cb +MISC metadata.xml 216 BLAKE2B 98b55d77f4255ca20a41fef0a66299cf6baec1df788810e210ecad6a6352c642ca652c2d404e24ff181f3c34cee7ef750d7985d7826e9c6ee7765dd657dc765c SHA512 6eacf7815e19e9e770cad73069181bdd082df3996c1cba2c1eead43fff8d001390152049f0f50d8bab7b3554873918f2ffeb972bbd2698243e5a0ffd33a6af1b diff --git a/x11-misc/yin-yang/files/Yin-Yang.desktop b/x11-misc/yin-yang/files/Yin-Yang.desktop new file mode 100644 index 0000000..10df842 --- /dev/null +++ b/x11-misc/yin-yang/files/Yin-Yang.desktop @@ -0,0 +1,23 @@ +[Desktop Entry] +# The type as listed above +Type=Application +# The version of the desktop entry specification to which this file complies +Version=1.4 +# The name of the application +Name=Yin & Yang +# Generic name of the application, for example "Web Browser" +GenericName=Theme Switcher +# A comment which can/will be used as a tooltip +Comment=Auto Nightmode for KDE and VSCode +# The path to the folder in which the executable is run +Path=/opt/yin-yang +# The executable of the application, possibly with arguments. +Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=1 sh /usr/bin/yin-yang +# The name of the icon that will be used to display this entry +Icon=/opt/yin-yang/src/ui/assets/yin-yang.svg +# Describes whether this application needs to be run in a terminal or not +Terminal=false +# Describes the categories in which this entry should be shown +Categories=Utility;Settings;System; +# A list of strings which may be used in addition to other metadata to describe this entry +Keywords=night;dark;day;bright;color;theme; \ No newline at end of file diff --git a/x11-misc/yin-yang/metadata.xml b/x11-misc/yin-yang/metadata.xml new file mode 100644 index 0000000..5277f6f --- /dev/null +++ b/x11-misc/yin-yang/metadata.xml @@ -0,0 +1,7 @@ + + + + +ischluff@mailbox.org + + diff --git a/x11-misc/yin-yang/yin-yang-1.1_pre020220825.ebuild b/x11-misc/yin-yang/yin-yang-1.1_pre020220825.ebuild new file mode 100644 index 0000000..78f37c2 --- /dev/null +++ b/x11-misc/yin-yang/yin-yang-1.1_pre020220825.ebuild @@ -0,0 +1,33 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop git-r3 + +DESCRIPTION="Auto Nightmode for KDE, Gnome, Budige, VSCode, Atom and more" +HOMEPAGE="https://github.com/oskarsh/Yin-Yang" +EGIT_REPO_URI="https://github.com/oskarsh/Yin-Yang.git" +EGIT_COMMIT="e15663fc1e90e7b96bd104cc889fb2c7861e192b" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + dev-python/QtPy + dev-python/PyQt5 + dev-python/suntime +" +BDEPEND="" + +src_install() { + dodir /opt/ + cp -R "${S}/" "${D}/opt/yin-yang/" || die "Install failed!" + dobin src/yin-yang + domenu "${FILESDIR}/Yin-Yang.desktop" + insinto "$(get_libdir)/mozilla/native-messaging-hosts/" + doins assets/yin_yang.json +}