Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: x11-misc/autorandr/
Date: Mon, 28 Jun 2021 10:59:10
Message-Id: 1624873036.7396c409e3ee4452e8813255a38df27f59854993.flow@gentoo
1 commit: 7396c409e3ee4452e8813255a38df27f59854993
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 28 09:10:41 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 28 09:37:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7396c409
7
8 x11-misc/autorandr: treeclean (moved to ::gentoo)
9
10 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
11
12 x11-misc/autorandr/Manifest | 1 -
13 x11-misc/autorandr/autorandr-1.11.ebuild | 66 --------------------------------
14 x11-misc/autorandr/autorandr-9999.ebuild | 66 --------------------------------
15 x11-misc/autorandr/metadata.xml | 11 ------
16 4 files changed, 144 deletions(-)
17
18 diff --git a/x11-misc/autorandr/Manifest b/x11-misc/autorandr/Manifest
19 deleted file mode 100644
20 index 6523b0b03..000000000
21 --- a/x11-misc/autorandr/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST autorandr-1.11.tar.gz 48791 BLAKE2B 57203b15eebdecab943c706745701e8569eb0a66dab69ae4429abfa863da736a5ed8b5333f6d948bcf8cae30f48c68eb1b35f2e84080526c1507ab78dba02efb SHA512 93de0461653aa5145956a8aafdc9fb257491495ca335e4213e7b6f1f313ebfd2332c38615ac648204494026439d77861a7eefd97e80cd49a5fe3d9b75db54ec1
25
26 diff --git a/x11-misc/autorandr/autorandr-1.11.ebuild b/x11-misc/autorandr/autorandr-1.11.ebuild
27 deleted file mode 100644
28 index badd9b87c..000000000
29 --- a/x11-misc/autorandr/autorandr-1.11.ebuild
30 +++ /dev/null
31 @@ -1,66 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7..10} )
38 -
39 -inherit bash-completion-r1 distutils-r1 systemd udev
40 -
41 -if [[ "${PV}" = "9999" ]] ; then
42 - inherit git-r3
43 - EGIT_REPO_URI="https://github.com/phillipberndt/${PN}.git"
44 -else
45 - SRC_URI="https://github.com/phillipberndt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 - KEYWORDS="~amd64 ~x86"
47 -fi
48 -
49 -DESCRIPTION="Automatically select a display configuration based on connected devices"
50 -HOMEPAGE="https://github.com/phillipberndt/autorandr"
51 -
52 -LICENSE="GPL-3"
53 -SLOT="0"
54 -IUSE="bash-completion launcher systemd udev"
55 -
56 -RDEPEND="
57 - launcher? ( x11-libs/libxcb )
58 - udev? ( virtual/udev )
59 -"
60 -DEPEND="
61 - virtual/pkgconfig
62 - ${RDEPEND}
63 -"
64 -
65 -src_compile() {
66 - distutils-r1_src_compile
67 -
68 - if use launcher; then
69 - emake contrib/autorandr_launcher/autorandr-launcher
70 - fi
71 -}
72 -
73 -src_install() {
74 - distutils-r1_src_install
75 -
76 - doman autorandr.1
77 -
78 - local targets=(
79 - autostart_config
80 - $(usex bash-completion bash_completion "")
81 - $(usev launcher)
82 - $(usev systemd)
83 - $(usev udev)
84 - )
85 -
86 - emake DESTDIR="${D}" \
87 - BASH_COMPLETIONS_DIR="$(get_bashcompdir)" \
88 - SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" \
89 - UDEV_RULES_DIR="$(get_udevdir)"/rules.d \
90 - $(printf "install_%s " "${targets[@]}")
91 -}
92 -
93 -pkg_postinst() {
94 - if use udev; then
95 - udev_reload
96 - fi
97 -}
98
99 diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-9999.ebuild
100 deleted file mode 100644
101 index badd9b87c..000000000
102 --- a/x11-misc/autorandr/autorandr-9999.ebuild
103 +++ /dev/null
104 @@ -1,66 +0,0 @@
105 -# Copyright 1999-2021 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=7
109 -
110 -PYTHON_COMPAT=( python3_{7..10} )
111 -
112 -inherit bash-completion-r1 distutils-r1 systemd udev
113 -
114 -if [[ "${PV}" = "9999" ]] ; then
115 - inherit git-r3
116 - EGIT_REPO_URI="https://github.com/phillipberndt/${PN}.git"
117 -else
118 - SRC_URI="https://github.com/phillipberndt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
119 - KEYWORDS="~amd64 ~x86"
120 -fi
121 -
122 -DESCRIPTION="Automatically select a display configuration based on connected devices"
123 -HOMEPAGE="https://github.com/phillipberndt/autorandr"
124 -
125 -LICENSE="GPL-3"
126 -SLOT="0"
127 -IUSE="bash-completion launcher systemd udev"
128 -
129 -RDEPEND="
130 - launcher? ( x11-libs/libxcb )
131 - udev? ( virtual/udev )
132 -"
133 -DEPEND="
134 - virtual/pkgconfig
135 - ${RDEPEND}
136 -"
137 -
138 -src_compile() {
139 - distutils-r1_src_compile
140 -
141 - if use launcher; then
142 - emake contrib/autorandr_launcher/autorandr-launcher
143 - fi
144 -}
145 -
146 -src_install() {
147 - distutils-r1_src_install
148 -
149 - doman autorandr.1
150 -
151 - local targets=(
152 - autostart_config
153 - $(usex bash-completion bash_completion "")
154 - $(usev launcher)
155 - $(usev systemd)
156 - $(usev udev)
157 - )
158 -
159 - emake DESTDIR="${D}" \
160 - BASH_COMPLETIONS_DIR="$(get_bashcompdir)" \
161 - SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" \
162 - UDEV_RULES_DIR="$(get_udevdir)"/rules.d \
163 - $(printf "install_%s " "${targets[@]}")
164 -}
165 -
166 -pkg_postinst() {
167 - if use udev; then
168 - udev_reload
169 - fi
170 -}
171
172 diff --git a/x11-misc/autorandr/metadata.xml b/x11-misc/autorandr/metadata.xml
173 deleted file mode 100644
174 index bc2b0d691..000000000
175 --- a/x11-misc/autorandr/metadata.xml
176 +++ /dev/null
177 @@ -1,11 +0,0 @@
178 -<?xml version="1.0" encoding="UTF-8"?>
179 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
180 -<pkgmetadata>
181 -<maintainer type="person">
182 - <email>flow@g.o</email>
183 - <name>Florian Schmaus</name>
184 -</maintainer>
185 -<use>
186 - <flag name="launcher">Install the launcher</flag>
187 -</use>
188 -</pkgmetadata>