Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xflux-gui/
Date: Thu, 29 Mar 2018 15:04:57
Message-Id: 1522335867.133aec6aa2e6b4226479d63e41231ec96f0b315a.mgorny@gentoo
1 commit: 133aec6aa2e6b4226479d63e41231ec96f0b315a
2 Author: Conrad Kostecki <ck+gentoo <AT> bl4ckb0x <DOT> de>
3 AuthorDate: Thu Mar 29 12:56:00 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 29 15:04:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133aec6a
7
8 x11-misc/xflux-gui: New package
9
10 Closes: https://bugs.gentoo.org/606130
11 Closes: https://github.com/gentoo/gentoo/pull/731
12
13 x11-misc/xflux-gui/Manifest | 1 +
14 x11-misc/xflux-gui/metadata.xml | 12 ++++++++++
15 x11-misc/xflux-gui/xflux-gui-1.1.10.ebuild | 37 ++++++++++++++++++++++++++++++
16 3 files changed, 50 insertions(+)
17
18 diff --git a/x11-misc/xflux-gui/Manifest b/x11-misc/xflux-gui/Manifest
19 new file mode 100644
20 index 00000000000..71d161c441f
21 --- /dev/null
22 +++ b/x11-misc/xflux-gui/Manifest
23 @@ -0,0 +1 @@
24 +DIST xflux-gui-1.1.10.tar.gz 18828 BLAKE2B a249533ace4ff6293ff9b99a455943c1f099628bec97c2730473f8a9550ba38e78e775a10a0f77c160180f5f5d354ac8c8ac924c1a2eb9f48861491583c93285 SHA512 5e8057e47fe2cc8a59758e9ab6b3adc6a8281b42f6b517e3e1327e5470c82a326c853d5d389fd62f6d6c439be4ab70a6c8771ece87e5b8c90a33775f8b7cd54d
25
26 diff --git a/x11-misc/xflux-gui/metadata.xml b/x11-misc/xflux-gui/metadata.xml
27 new file mode 100644
28 index 00000000000..54d5423c406
29 --- /dev/null
30 +++ b/x11-misc/xflux-gui/metadata.xml
31 @@ -0,0 +1,12 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>ck+gentoo@××××××××.de</email>
37 + <name>Conrad Kostecki</name>
38 + </maintainer>
39 + <maintainer type="project">
40 + <email>proxy-maint@g.o</email>
41 + <name>Proxy Maintainers</name>
42 + </maintainer>
43 +</pkgmetadata>
44
45 diff --git a/x11-misc/xflux-gui/xflux-gui-1.1.10.ebuild b/x11-misc/xflux-gui/xflux-gui-1.1.10.ebuild
46 new file mode 100644
47 index 00000000000..b83597ea10c
48 --- /dev/null
49 +++ b/x11-misc/xflux-gui/xflux-gui-1.1.10.ebuild
50 @@ -0,0 +1,37 @@
51 +# Copyright 1999-2018 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=6
55 +
56 +PYTHON_COMPAT=( python2_7 )
57 +
58 +inherit distutils-r1 gnome2-utils
59 +
60 +DESCRIPTION="A GUI for f.lux"
61 +HOMEPAGE="https://justgetflux.com/"
62 +SRC_URI="https://github.com/xflux-gui/fluxgui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
63 +
64 +KEYWORDS="-* ~amd64 ~x86"
65 +LICENSE="MIT"
66 +SLOT="0"
67 +
68 +RDEPEND="dev-libs/libappindicator:2[python,${PYTHON_USEDEP}]
69 + dev-python/gconf-python[${PYTHON_USEDEP}]
70 + dev-python/pexpect[${PYTHON_USEDEP}]
71 + dev-python/pygtk[${PYTHON_USEDEP}]
72 + dev-python/pyxdg[${PYTHON_USEDEP}]
73 + gnome-base/libglade
74 + x11-libs/libXxf86vm
75 + x11-misc/xflux"
76 +
77 +S="${WORKDIR}/fluxgui-${PV}"
78 +
79 +pkg_postinst() {
80 + # Update Gnome icon cache on install
81 + gnome2_icon_cache_update
82 +}
83 +
84 +pkg_postrm() {
85 + # Update Gnome icon cache on uninstall
86 + gnome2_icon_cache_update
87 +}