x11-misc/xflux-gui: New package
authorConrad Kostecki <ck+gentoo@bl4ckb0x.de>
Thu, 29 Mar 2018 12:56:00 +0000 (14:56 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 29 Mar 2018 15:04:27 +0000 (17:04 +0200)
Closes: https://bugs.gentoo.org/606130
Closes: https://github.com/gentoo/gentoo/pull/731

x11-misc/xflux-gui/Manifest [new file with mode: 0644]
x11-misc/xflux-gui/metadata.xml [new file with mode: 0644]
x11-misc/xflux-gui/xflux-gui-1.1.10.ebuild [new file with mode: 0644]

diff --git a/x11-misc/xflux-gui/Manifest b/x11-misc/xflux-gui/Manifest
new file mode 100644 (file)
index 0000000..71d161c
--- /dev/null
@@ -0,0 +1 @@
+DIST xflux-gui-1.1.10.tar.gz 18828 BLAKE2B a249533ace4ff6293ff9b99a455943c1f099628bec97c2730473f8a9550ba38e78e775a10a0f77c160180f5f5d354ac8c8ac924c1a2eb9f48861491583c93285 SHA512 5e8057e47fe2cc8a59758e9ab6b3adc6a8281b42f6b517e3e1327e5470c82a326c853d5d389fd62f6d6c439be4ab70a6c8771ece87e5b8c90a33775f8b7cd54d
diff --git a/x11-misc/xflux-gui/metadata.xml b/x11-misc/xflux-gui/metadata.xml
new file mode 100644 (file)
index 0000000..54d5423
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>ck+gentoo@bl4ckb0x.de</email>
+               <name>Conrad Kostecki</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xflux-gui/xflux-gui-1.1.10.ebuild b/x11-misc/xflux-gui/xflux-gui-1.1.10.ebuild
new file mode 100644 (file)
index 0000000..b83597e
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 gnome2-utils
+
+DESCRIPTION="A GUI for f.lux"
+HOMEPAGE="https://justgetflux.com/"
+SRC_URI="https://github.com/xflux-gui/fluxgui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="dev-libs/libappindicator:2[python,${PYTHON_USEDEP}]
+       dev-python/gconf-python[${PYTHON_USEDEP}]
+       dev-python/pexpect[${PYTHON_USEDEP}]
+       dev-python/pygtk[${PYTHON_USEDEP}]
+       dev-python/pyxdg[${PYTHON_USEDEP}]
+       gnome-base/libglade
+       x11-libs/libXxf86vm
+       x11-misc/xflux"
+
+S="${WORKDIR}/fluxgui-${PV}"
+
+pkg_postinst() {
+       # Update Gnome icon cache on install
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       # Update Gnome icon cache on uninstall
+       gnome2_icon_cache_update
+}