1 |
commit: 069a2651e71face888b8de57af7808a04c9095e2 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 09:20:50 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 09:39:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=069a2651 |
7 |
|
8 |
x11-misc/autorandr: drop 1.12.1 |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
|
12 |
x11-misc/autorandr/autorandr-1.12.1.ebuild | 65 ------------------------------ |
13 |
1 file changed, 65 deletions(-) |
14 |
|
15 |
diff --git a/x11-misc/autorandr/autorandr-1.12.1.ebuild b/x11-misc/autorandr/autorandr-1.12.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 2235547cc76e..000000000000 |
18 |
--- a/x11-misc/autorandr/autorandr-1.12.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,65 +0,0 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8..11} ) |
27 |
- |
28 |
-inherit bash-completion-r1 distutils-r1 systemd udev |
29 |
- |
30 |
-if [[ "${PV}" = "9999" ]] ; then |
31 |
- inherit git-r3 |
32 |
- EGIT_REPO_URI="https://github.com/phillipberndt/${PN}.git" |
33 |
-else |
34 |
- SRC_URI="https://github.com/phillipberndt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
35 |
- KEYWORDS="amd64 x86" |
36 |
-fi |
37 |
- |
38 |
-DESCRIPTION="Automatically select a display configuration based on connected devices" |
39 |
-HOMEPAGE="https://github.com/phillipberndt/autorandr" |
40 |
- |
41 |
-LICENSE="GPL-3" |
42 |
-SLOT="0" |
43 |
-IUSE="launcher udev" |
44 |
- |
45 |
-RDEPEND=" |
46 |
- x11-apps/xrandr |
47 |
- launcher? ( x11-libs/libxcb ) |
48 |
- udev? ( virtual/udev ) |
49 |
-" |
50 |
-DEPEND="${RDEPEND}" |
51 |
-BDEPEND="virtual/pkgconfig" |
52 |
- |
53 |
-src_compile() { |
54 |
- distutils-r1_src_compile |
55 |
- |
56 |
- if use launcher; then |
57 |
- emake contrib/autorandr_launcher/autorandr-launcher |
58 |
- fi |
59 |
-} |
60 |
- |
61 |
-src_install() { |
62 |
- distutils-r1_src_install |
63 |
- |
64 |
- doman autorandr.1 |
65 |
- |
66 |
- local targets=( |
67 |
- autostart_config |
68 |
- bash_completion |
69 |
- systemd |
70 |
- $(usev launcher) |
71 |
- $(usev udev) |
72 |
- ) |
73 |
- |
74 |
- emake DESTDIR="${D}" \ |
75 |
- BASH_COMPLETIONS_DIR="$(get_bashcompdir)" \ |
76 |
- SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" \ |
77 |
- UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ |
78 |
- $(printf "install_%s " "${targets[@]}") |
79 |
-} |
80 |
- |
81 |
-pkg_postinst() { |
82 |
- if use udev; then |
83 |
- udev_reload |
84 |
- fi |
85 |
-} |