1 |
commit: a628fdfd2d70b101cb3a3125398d4f814b9bdfed |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 2 14:22:38 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 2 14:22:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a628fdfd |
7 |
|
8 |
x11-misc/xflux-gui: adjust setuptools deps |
9 |
|
10 |
Closes: https://bugs.gentoo.org/799821 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
x11-misc/xflux-gui/xflux-gui-1.2.0-r2.ebuild | 49 ++++++++++++++++++++++++++++ |
15 |
1 file changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/x11-misc/xflux-gui/xflux-gui-1.2.0-r2.ebuild b/x11-misc/xflux-gui/xflux-gui-1.2.0-r2.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..5f37b1f64e8 |
20 |
--- /dev/null |
21 |
+++ b/x11-misc/xflux-gui/xflux-gui-1.2.0-r2.ebuild |
22 |
@@ -0,0 +1,49 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+DISTUTILS_USE_SETUPTOOLS="no" |
29 |
+PYTHON_COMPAT=( python3_{8..10} ) |
30 |
+ |
31 |
+inherit distutils-r1 gnome2-utils xdg-utils |
32 |
+ |
33 |
+DESCRIPTION="A GUI for f.lux" |
34 |
+HOMEPAGE="https://github.com/xflux-gui/fluxgui/" |
35 |
+SRC_URI="https://github.com/${PN}/fluxgui/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+S="${WORKDIR}/fluxgui-${PV}" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="-* amd64 x86" |
41 |
+ |
42 |
+PATCHES=( "${FILESDIR}/${P}-disable-gschemas-compiled.patch" ) |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-libs/libappindicator:3 |
46 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
47 |
+ dev-python/pygobject[${PYTHON_USEDEP}] |
48 |
+ dev-python/pyxdg[${PYTHON_USEDEP}] |
49 |
+ x11-libs/libXxf86vm |
50 |
+ x11-misc/xflux |
51 |
+" |
52 |
+ |
53 |
+python_install() { |
54 |
+ # Don't let the package compiling the schemas, |
55 |
+ # as this could cause a file collision |
56 |
+ export DISABLE_GSCHEMAS_COMPILED="true" |
57 |
+ |
58 |
+ distutils-r1_python_install |
59 |
+} |
60 |
+ |
61 |
+pkg_postinst() { |
62 |
+ gnome2_schemas_update |
63 |
+ xdg_desktop_database_update |
64 |
+ xdg_icon_cache_update |
65 |
+} |
66 |
+ |
67 |
+pkg_postrm() { |
68 |
+ gnome2_schemas_update |
69 |
+ xdg_desktop_database_update |
70 |
+ xdg_icon_cache_update |
71 |
+} |