1 |
commit: 24eb659c86941fb51a7a8ef95946fb833262ab66 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 20:37:27 2022 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 20:37:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24eb659c |
7 |
|
8 |
sys-power/acpilight: Drop old revision |
9 |
|
10 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
11 |
|
12 |
sys-power/acpilight/acpilight-1.2-r1.ebuild | 54 ----------------------------- |
13 |
1 file changed, 54 deletions(-) |
14 |
|
15 |
diff --git a/sys-power/acpilight/acpilight-1.2-r1.ebuild b/sys-power/acpilight/acpilight-1.2-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 71c6d36ea414..000000000000 |
18 |
--- a/sys-power/acpilight/acpilight-1.2-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,54 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_7 python3_8 ) |
27 |
- |
28 |
-inherit python-single-r1 udev |
29 |
- |
30 |
-MY_P="${PN}-v${PV}" |
31 |
- |
32 |
-DESCRIPTION="Replacement for xbacklight that uses the ACPI interface to set brightness" |
33 |
-HOMEPAGE="https://gitlab.com/wavexx/acpilight/" |
34 |
-SRC_URI="https://gitlab.com/wavexx/acpilight/-/archive/v${PV}/${MY_P}.tar.gz" |
35 |
-LICENSE="GPL-3+" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 x86" |
38 |
-IUSE="" |
39 |
- |
40 |
-S="${WORKDIR}/${MY_P}" |
41 |
- |
42 |
-RDEPEND="virtual/udev |
43 |
- acct-group/video |
44 |
- ${PYTHON_DEPS} |
45 |
- !x11-apps/xbacklight" |
46 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
-DOCS=( README.rst NEWS.rst ) |
48 |
- |
49 |
-# Disable Makefile that installs by default |
50 |
-src_compile() { :; } |
51 |
- |
52 |
-src_install() { |
53 |
- python_doscript xbacklight |
54 |
- udev_dorules "${S}"/90-backlight.rules |
55 |
- doman xbacklight.1 |
56 |
- einstalldocs |
57 |
- newinitd "${FILESDIR}"/acpilight.initd acpilight |
58 |
- newconfd "${FILESDIR}"/acpilight.confd acpilight |
59 |
-} |
60 |
- |
61 |
-pkg_postinst() { |
62 |
- udev_reload |
63 |
- einfo |
64 |
- elog "To use the xbacklight binary as a regular user, you must be a part of the video group" |
65 |
- einfo |
66 |
- elog "If this utility does not find any backlights to manipulate," |
67 |
- elog "verify you have kernel support on the device and display driver enabled." |
68 |
- einfo |
69 |
- elog "To take advantage of the OpenRC init script, and automate the process of" |
70 |
- elog "saving and restoring the brightness level you should add acpilight" |
71 |
- elog "to the boot runlevel. You can do this as root like so:" |
72 |
- elog "# rc-update add acpilight boot" |
73 |
- einfo |
74 |
-} |