1 |
commit: ccfffeca724a30ec3a17fd581b9d9c6ca8ce77b8 |
2 |
Author: Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr> |
3 |
AuthorDate: Mon May 9 13:57:20 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 14:02:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ccfffeca |
7 |
|
8 |
sys-power/gwe: add 0.15.5 |
9 |
|
10 |
Signed-off-by: Duje Mihanović <duje.mihanovic <AT> skole.hr> |
11 |
|
12 |
sys-power/gwe/Manifest | 1 + |
13 |
sys-power/gwe/gwe-0.15.5.ebuild | 56 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/sys-power/gwe/Manifest b/sys-power/gwe/Manifest |
17 |
index 89b1715ff..6c567ee11 100644 |
18 |
--- a/sys-power/gwe/Manifest |
19 |
+++ b/sys-power/gwe/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gwe-0.15.3.tar.gz 365945 BLAKE2B da0ecb0d407b2745452b59dd638b0ca2e41c873b2534f83074662607826c65aa9ff54a2fb06695accd3ca98f67266d13f2cf4d441ff5d7a03af22f32b75a7239 SHA512 f3577ed2afd647167d0d933cb8ccfb4b3308c35cf5bb3858b1a7dd084148c3594c7112523480e433250c8626001e68f9d6f1b21744eba19672b7b55c6eded754 |
22 |
+DIST gwe-0.15.5.tar.gz 366020 BLAKE2B 7a95b4065b5862edee070931417d8fcd848dc02ab6098a95b53e138325840c8b3920f28d6b93a1018562bad8c47f9cc7d2267b26012b33f0cbbd5e1e7777367d SHA512 380b96a664be7a0bdbe36906a8aff29e229445cec23c10cd14b22c31fe06c86163fa45ab1e165f91218f2ed58302eb5ac65ec5f7f7bf4548b06501a6eac9fc5f |
23 |
|
24 |
diff --git a/sys-power/gwe/gwe-0.15.5.ebuild b/sys-power/gwe/gwe-0.15.5.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..8ea60f329 |
27 |
--- /dev/null |
28 |
+++ b/sys-power/gwe/gwe-0.15.5.ebuild |
29 |
@@ -0,0 +1,56 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..9} ) |
36 |
+ |
37 |
+inherit xdg meson python-single-r1 |
38 |
+ |
39 |
+DESCRIPTION="NVIDIA settings alternative with overclocking, fan control, and information" |
40 |
+HOMEPAGE="https://gitlab.com/leinardi/gwe" |
41 |
+SRC_URI="https://gitlab.com/leinardi/gwe/-/archive/${PV}/${P}.tar.gz" |
42 |
+ |
43 |
+KEYWORDS="~amd64" |
44 |
+SLOT="0" |
45 |
+LICENSE="GPL-3" |
46 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ ${PYTHON_DEPS} |
50 |
+ dev-libs/gobject-introspection |
51 |
+ dev-libs/libappindicator:3 |
52 |
+ dev-libs/libdazzle |
53 |
+ |
54 |
+ $(python_gen_cond_dep ' |
55 |
+ dev-python/injector[${PYTHON_USEDEP}] |
56 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
57 |
+ dev-python/peewee[${PYTHON_USEDEP}] |
58 |
+ dev-python/py3nvml[${PYTHON_USEDEP}] |
59 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
60 |
+ dev-python/python-xlib[${PYTHON_USEDEP}] |
61 |
+ dev-python/pyxdg[${PYTHON_USEDEP}] |
62 |
+ dev-python/requests[${PYTHON_USEDEP}] |
63 |
+ dev-python/Rx[${PYTHON_USEDEP}] |
64 |
+ ') |
65 |
+" |
66 |
+DEPEND="${RDEPEND}" |
67 |
+BDEPEND=" |
68 |
+ ${RDEPEND} |
69 |
+ dev-libs/appstream-glib |
70 |
+ virtual/pkgconfig |
71 |
+" |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ # Disable post-inst script – let the ebuild handle it |
75 |
+ sed -i meson.build \ |
76 |
+ -e "s:meson.add_install_script('scripts/meson_post_install.py')::g" \ |
77 |
+ || die |
78 |
+ |
79 |
+ default |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ meson_src_install |
84 |
+ python_optimize |
85 |
+} |