1 |
commit: fbb915167cb5d6027c6bc4387ba3354536d92805 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 9 14:14:47 2018 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 14:15:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb91516 |
7 |
|
8 |
app-misc/lirc: Drop old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
app-misc/lirc/Manifest | 4 - |
13 |
app-misc/lirc/lirc-0.10.0_rc2.ebuild | 151 ---------------------------------- |
14 |
app-misc/lirc/lirc-0.9.4a-r2.ebuild | 136 ------------------------------ |
15 |
app-misc/lirc/lirc-0.9.4c.ebuild | 150 --------------------------------- |
16 |
app-misc/lirc/lirc-0.9.4d.ebuild | 155 ----------------------------------- |
17 |
app-misc/lirc/metadata.xml | 2 - |
18 |
6 files changed, 598 deletions(-) |
19 |
|
20 |
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest |
21 |
index 71cb02daed0..4f51ac9b435 100644 |
22 |
--- a/app-misc/lirc/Manifest |
23 |
+++ b/app-misc/lirc/Manifest |
24 |
@@ -1,7 +1,3 @@ |
25 |
-DIST lirc-0.10.0-rc2.tar.bz2 2552982 BLAKE2B d68639198dd7041865f6b7ac79cb94b63d8a85ee70f97628e27887d14f62814388a51521dabe91730570c382c6bb7edb36c15eba0f8ea9f5d4490dfce2bd121a SHA512 ab3426477f017e3a1b9da690189beae5086bbb52f88d302e6c91d7633f74ef781e6747f6b697b3ed6df13497a3e666f11c846104d2f00b975746d24bfd2a6cd5 |
26 |
DIST lirc-0.10.0.tar.bz2 2523528 BLAKE2B 5c133b40936060fbaa0a9463b1b07d9197d935388e3eb4e46791b1f844b82ea6b6d42ae0c6ce249ca306688fa5d15718f5a3a54b497fc9f168b8b736b06bdd1e SHA512 06ccc1c8c80bfd17a6d180ae39a17779cbba341086f90a03a2e552bfb71e3abcb13f991312fba0e57df79c1882c1e29a2f273dddcd46a9ff53160b556e1547ab |
27 |
DIST lirc-0.10.1.tar.bz2 2523226 BLAKE2B 47b7ee87de8f64f7f829af519c0d296a85cf91790148927e850965177d4984bb994a0ad122cb59c3db508813d0824ffec45126e794abd08174a052361cea53e5 SHA512 31c0b6ee169b302b99994a2a3fa0ebcae0e01cb83c02fe02acf1de5ba8cf77a091a0221c7d8104448c30930adafe654cd08afb7d0df6b5b7ec2d47df26e5df9d |
28 |
DIST lirc-0.9.0.tar.bz2 857286 BLAKE2B 034c7b8492dd42301bb6d40da8c6c95f714b925ee50e7396290231684024dc3fe3bb64987db92d2a4e4d56203436007e68222bbf9a775bb9d29bbefcc4a7c1e4 SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431 |
29 |
-DIST lirc-0.9.4a.tar.bz2 2292119 BLAKE2B 6ca7562716fde3327aa3f8f9913da7d349969f1bcac095bf2e9b1e3025d1e39176e2fb386ca08bcf80d458262f9eb96dab363ef3aa2c1d56b914ac8a36fcbacf SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188 |
30 |
-DIST lirc-0.9.4c.tar.bz2 2311300 BLAKE2B f58f3b3a701e0ae787e34ec65c1d29b0faa75958b95aa43663a78dbe04c1c1d5456df5a6c5e41c673db9f589a7c2d41423b5f6a667fac890fb18f29fd797438b SHA512 0a0d0e025b87a55ec919c92824d8288bfaf35cfebae0ee97d86e344109f584baa72a2eff6d24fbc526900671d6092e0eebef8d1566559b0d153e122e3127c0cb |
31 |
-DIST lirc-0.9.4d.tar.bz2 2489704 BLAKE2B 89cf8989aa84905d292fdf72632b7e5854aa2b225a6a6183839fa3e5fbc6624474e2723d3456cf5c5e6216abd134805fba495e89469808cd5ff139c31f86c032 SHA512 fb3892e12fbe5277e04c451694f1ea4ed45cc424d66ea57b11c4ac4760afa7df4b37897f380b4ade464a82523a0cee336f216d2009ea9431333fd7ca74a8336c |
32 |
|
33 |
diff --git a/app-misc/lirc/lirc-0.10.0_rc2.ebuild b/app-misc/lirc/lirc-0.10.0_rc2.ebuild |
34 |
deleted file mode 100644 |
35 |
index 464217b7e0a..00000000000 |
36 |
--- a/app-misc/lirc/lirc-0.10.0_rc2.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,151 +0,0 @@ |
39 |
-# Copyright 1999-2017 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=6 |
43 |
- |
44 |
-PYTHON_COMPAT=( python3_4 python3_5 ) |
45 |
- |
46 |
-inherit eutils flag-o-matic linux-info python-single-r1 systemd xdg-utils |
47 |
- |
48 |
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
49 |
-HOMEPAGE="http://www.lirc.org/" |
50 |
- |
51 |
-LIRC_DRIVER_DEVICE="/dev/lirc0" |
52 |
- |
53 |
-MY_P=${PN}-${PV/_/-} |
54 |
- |
55 |
-if [[ "${PV/_pre/}" = "${PV}" ]]; then |
56 |
- SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2" |
57 |
-else |
58 |
- SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2" |
59 |
-fi |
60 |
- |
61 |
-LICENSE="GPL-2+" |
62 |
-SLOT="0" |
63 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
64 |
-IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X" |
65 |
- |
66 |
-REQUIRED_USE=" |
67 |
- ${PYTHON_REQUIRED_USE} |
68 |
- gtk? ( X ) |
69 |
-" |
70 |
- |
71 |
-S="${WORKDIR}/${MY_P}" |
72 |
- |
73 |
-COMMON_DEPEND=" |
74 |
- ${PYTHON_DEPS} |
75 |
- audio? ( |
76 |
- >media-libs/portaudio-18 |
77 |
- media-libs/alsa-lib |
78 |
- ) |
79 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
80 |
- ftdi? ( dev-embedded/libftdi:0 ) |
81 |
- systemd? ( sys-apps/systemd ) |
82 |
- usb? ( virtual/libusb:0 ) |
83 |
- X? ( |
84 |
- x11-libs/libICE |
85 |
- x11-libs/libSM |
86 |
- x11-libs/libX11 |
87 |
- ) |
88 |
-" |
89 |
- |
90 |
-DEPEND=" |
91 |
- ${COMMON_DEPEND} |
92 |
- dev-libs/libxslt |
93 |
- doc? ( app-doc/doxygen ) |
94 |
- sys-apps/kmod |
95 |
- sys-kernel/linux-headers |
96 |
-" |
97 |
- |
98 |
-RDEPEND=" |
99 |
- ${COMMON_DEPEND} |
100 |
- gtk? ( |
101 |
- x11-libs/vte[introspection] |
102 |
- dev-python/pygobject[${PYTHON_USEDEP}] |
103 |
- ) |
104 |
- inputlirc? ( app-misc/inputlircd ) |
105 |
-" |
106 |
- |
107 |
-pkg_setup() { |
108 |
- use uinput && CONFIG_CHECK="INPUT_UINPUT" |
109 |
-} |
110 |
- |
111 |
-src_configure() { |
112 |
- xdg_environment_reset |
113 |
- econf \ |
114 |
- --localstatedir="${EPREFIX}/var" \ |
115 |
- $(use_enable static-libs static) \ |
116 |
- $(use_enable devinput) \ |
117 |
- $(use_enable uinput) \ |
118 |
- $(use_with X x) |
119 |
-} |
120 |
- |
121 |
-src_install() { |
122 |
- default |
123 |
- |
124 |
- if use !gtk ; then |
125 |
- # lirc-setup requires gtk |
126 |
- rm "${ED%/}"/usr/bin/lirc-setup || die |
127 |
- fi |
128 |
- |
129 |
- newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd |
130 |
- newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd |
131 |
- newconfd "${FILESDIR}"/lircd.conf.4 lircd |
132 |
- newconfd "${FILESDIR}"/lircmd-0.10.0.conf lircmd |
133 |
- |
134 |
- insinto /etc/modprobe.d/ |
135 |
- newins "${FILESDIR}"/modprobed.lirc lirc.conf |
136 |
- |
137 |
- newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec |
138 |
- newconfd "${FILESDIR}"/irexec-confd irexec |
139 |
- |
140 |
- keepdir /etc/lirc |
141 |
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then |
142 |
- newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example |
143 |
- fi |
144 |
- |
145 |
- find "${ED}" -name '*.la' -delete || die |
146 |
- |
147 |
- # Avoid QA notice |
148 |
- rm -d "${ED%/}"/var/run/lirc || die |
149 |
- rm -d "${ED%/}"/var/run || die |
150 |
-} |
151 |
- |
152 |
-pkg_preinst() { |
153 |
- local dir="${EROOT%/}/etc/modprobe.d" |
154 |
- if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then |
155 |
- elog "Renaming ${dir}/lirc to lirc.conf" |
156 |
- mv -f "${dir}/lirc" "${dir}/lirc.conf" || die |
157 |
- fi |
158 |
- |
159 |
- # copy the first file that can be found |
160 |
- if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then |
161 |
- cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
162 |
- elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then |
163 |
- cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die |
164 |
- MOVE_OLD_LIRCD_CONF=1 |
165 |
- elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then |
166 |
- cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
167 |
- fi |
168 |
- |
169 |
- # stop portage from touching the config file |
170 |
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then |
171 |
- rm -f "${ED%/}"/etc/lirc/lircd.conf || die |
172 |
- fi |
173 |
-} |
174 |
- |
175 |
-pkg_postinst() { |
176 |
- # copy config file to new location |
177 |
- # without portage knowing about it |
178 |
- # so it will not delete it on unmerge or ever touch it again |
179 |
- if [[ -e "${T}"/lircd.conf ]]; then |
180 |
- cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die |
181 |
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then |
182 |
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf" |
183 |
- rm -f "${EROOT%/}"/etc/lircd.conf || die |
184 |
- fi |
185 |
- fi |
186 |
- |
187 |
- einfo "The new default location for lircd.conf is inside of" |
188 |
- einfo "${EROOT%/}/etc/lirc/ directory" |
189 |
-} |
190 |
|
191 |
diff --git a/app-misc/lirc/lirc-0.9.4a-r2.ebuild b/app-misc/lirc/lirc-0.9.4a-r2.ebuild |
192 |
deleted file mode 100644 |
193 |
index fa9852918a2..00000000000 |
194 |
--- a/app-misc/lirc/lirc-0.9.4a-r2.ebuild |
195 |
+++ /dev/null |
196 |
@@ -1,136 +0,0 @@ |
197 |
-# Copyright 1999-2017 Gentoo Foundation |
198 |
-# Distributed under the terms of the GNU General Public License v2 |
199 |
- |
200 |
-EAPI=6 |
201 |
- |
202 |
-inherit eutils flag-o-matic systemd |
203 |
- |
204 |
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
205 |
-HOMEPAGE="http://www.lirc.org/" |
206 |
- |
207 |
-LIRC_DRIVER_DEVICE="/dev/lirc0" |
208 |
- |
209 |
-MY_P=${PN}-${PV/_/} |
210 |
- |
211 |
-if [[ "${PV/_pre/}" = "${PV}" ]]; then |
212 |
- SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2" |
213 |
-else |
214 |
- SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2" |
215 |
-fi |
216 |
- |
217 |
-LICENSE="GPL-2+" |
218 |
-SLOT="0" |
219 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
220 |
-IUSE="doc static-libs X audio irman ftdi inputlirc iguanair systemd usb" |
221 |
- |
222 |
-S="${WORKDIR}/${MY_P}" |
223 |
- |
224 |
-REQUIRED_USE=" |
225 |
- iguanair? ( irman ) |
226 |
-" |
227 |
-DEPEND=" |
228 |
- doc? ( app-doc/doxygen ) |
229 |
-" |
230 |
- |
231 |
-RDEPEND=" |
232 |
- X? ( |
233 |
- x11-libs/libX11 |
234 |
- x11-libs/libSM |
235 |
- x11-libs/libICE |
236 |
- ) |
237 |
- systemd? ( sys-apps/systemd ) |
238 |
- audio? ( |
239 |
- >media-libs/portaudio-18 |
240 |
- media-libs/alsa-lib |
241 |
- ) |
242 |
- irman? ( media-libs/libirman ) |
243 |
- iguanair? ( app-misc/iguanaIR ) |
244 |
- ftdi? ( dev-embedded/libftdi:0 ) |
245 |
- inputlirc? ( app-misc/inputlircd ) |
246 |
- usb? ( virtual/libusb:0 ) |
247 |
-" |
248 |
- |
249 |
-PATCHES=( |
250 |
- "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/ |
251 |
-) |
252 |
- |
253 |
-src_configure() { |
254 |
- filter-flags -Wl,-O1 |
255 |
- econf \ |
256 |
- --localstatedir=/var \ |
257 |
- $(use_enable static-libs static) \ |
258 |
- $(use_with X x) |
259 |
-} |
260 |
- |
261 |
-# Defined src_compile as a workaround for a parallel make issue |
262 |
-# See https://bugs.gentoo.org/show_bug.cgi?id=588864 |
263 |
-# and https://sourceforge.net/p/lirc/tickets/210/ |
264 |
-src_compile() { |
265 |
- emake lib |
266 |
- emake |
267 |
-} |
268 |
- |
269 |
-src_install() { |
270 |
- default |
271 |
- |
272 |
- newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd |
273 |
- newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd |
274 |
- newconfd "${FILESDIR}"/lircd.conf.4 lircd |
275 |
- newconfd "${FILESDIR}"/lircmd.conf lircmd |
276 |
- |
277 |
- insinto /etc/modprobe.d/ |
278 |
- newins "${FILESDIR}"/modprobed.lirc lirc.conf |
279 |
- |
280 |
- newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec |
281 |
- newconfd "${FILESDIR}"/irexec-confd irexec |
282 |
- |
283 |
- keepdir /etc/lirc |
284 |
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then |
285 |
- newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example |
286 |
- fi |
287 |
- |
288 |
- find "${D}" -name '*.la' -delete || die |
289 |
- |
290 |
- # Avoid QA notice |
291 |
- rm -d "${D}"/var/run/lirc || die |
292 |
- rm -d "${D}"/var/run || die |
293 |
-} |
294 |
- |
295 |
-pkg_preinst() { |
296 |
- local dir="${EROOT}/etc/modprobe.d" |
297 |
- if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then |
298 |
- elog "Renaming ${dir}/lirc to lirc.conf" |
299 |
- mv -f "${dir}/lirc" "${dir}/lirc.conf" || die |
300 |
- fi |
301 |
- |
302 |
- # copy the first file that can be found |
303 |
- if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then |
304 |
- cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
305 |
- elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then |
306 |
- cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf || die |
307 |
- MOVE_OLD_LIRCD_CONF=1 |
308 |
- elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then |
309 |
- cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
310 |
- fi |
311 |
- |
312 |
- # stop portage from touching the config file |
313 |
- if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then |
314 |
- rm -f "${D}"/etc/lirc/lircd.conf || die |
315 |
- fi |
316 |
-} |
317 |
- |
318 |
-pkg_postinst() { |
319 |
- # copy config file to new location |
320 |
- # without portage knowing about it |
321 |
- # so it will not delete it on unmerge or ever touch it again |
322 |
- if [[ -e "${T}"/lircd.conf ]]; then |
323 |
- cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf || die |
324 |
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then |
325 |
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf" |
326 |
- rm -f "${EROOT}"/etc/lircd.conf || die |
327 |
- fi |
328 |
- fi |
329 |
- |
330 |
- einfo "The new default location for lircd.conf is inside of" |
331 |
- einfo "/etc/lirc/ directory" |
332 |
-} |
333 |
|
334 |
diff --git a/app-misc/lirc/lirc-0.9.4c.ebuild b/app-misc/lirc/lirc-0.9.4c.ebuild |
335 |
deleted file mode 100644 |
336 |
index 25ec10062e3..00000000000 |
337 |
--- a/app-misc/lirc/lirc-0.9.4c.ebuild |
338 |
+++ /dev/null |
339 |
@@ -1,150 +0,0 @@ |
340 |
-# Copyright 1999-2017 Gentoo Foundation |
341 |
-# Distributed under the terms of the GNU General Public License v2 |
342 |
- |
343 |
-EAPI=6 |
344 |
- |
345 |
-PYTHON_COMPAT=( python3_4 python3_5 ) |
346 |
- |
347 |
-inherit eutils flag-o-matic python-single-r1 systemd xdg-utils |
348 |
- |
349 |
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
350 |
-HOMEPAGE="http://www.lirc.org/" |
351 |
- |
352 |
-LIRC_DRIVER_DEVICE="/dev/lirc0" |
353 |
- |
354 |
-MY_P=${PN}-${PV/_/} |
355 |
- |
356 |
-if [[ "${PV/_pre/}" = "${PV}" ]]; then |
357 |
- SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2" |
358 |
-else |
359 |
- SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2" |
360 |
-fi |
361 |
- |
362 |
-LICENSE="GPL-2+" |
363 |
-SLOT="0" |
364 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
365 |
-IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X" |
366 |
- |
367 |
-REQUIRED_USE=" |
368 |
- ${PYTHON_REQUIRED_USE} |
369 |
- gtk? ( X ) |
370 |
-" |
371 |
- |
372 |
-S="${WORKDIR}/${MY_P}" |
373 |
- |
374 |
-COMMON_DEPEND=" |
375 |
- ${PYTHON_DEPS} |
376 |
- audio? ( |
377 |
- >media-libs/portaudio-18 |
378 |
- media-libs/alsa-lib |
379 |
- ) |
380 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
381 |
- ftdi? ( dev-embedded/libftdi:0 ) |
382 |
- systemd? ( sys-apps/systemd ) |
383 |
- usb? ( virtual/libusb:0 ) |
384 |
- X? ( |
385 |
- x11-libs/libICE |
386 |
- x11-libs/libSM |
387 |
- x11-libs/libX11 |
388 |
- ) |
389 |
-" |
390 |
- |
391 |
-DEPEND=" |
392 |
- ${COMMON_DEPEND} |
393 |
- dev-libs/libxslt |
394 |
- doc? ( app-doc/doxygen ) |
395 |
- sys-apps/kmod |
396 |
- sys-kernel/linux-headers |
397 |
-" |
398 |
- |
399 |
-RDEPEND=" |
400 |
- ${COMMON_DEPEND} |
401 |
- gtk? ( |
402 |
- x11-libs/vte[introspection] |
403 |
- dev-python/pygobject[${PYTHON_USEDEP}] |
404 |
- ) |
405 |
- inputlirc? ( app-misc/inputlircd ) |
406 |
-" |
407 |
- |
408 |
-PATCHES=( |
409 |
- # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/ |
410 |
- "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch |
411 |
-) |
412 |
- |
413 |
-src_configure() { |
414 |
- xdg_environment_reset |
415 |
- econf \ |
416 |
- --localstatedir="${EPREFIX}/var" \ |
417 |
- $(use_enable static-libs static) \ |
418 |
- $(use_with X x) |
419 |
-} |
420 |
- |
421 |
-src_install() { |
422 |
- default |
423 |
- |
424 |
- if use !gtk ; then |
425 |
- # lirc-setup requires gtk |
426 |
- rm "${ED%/}"/usr/bin/lirc-setup || die |
427 |
- fi |
428 |
- |
429 |
- newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd |
430 |
- newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd |
431 |
- newconfd "${FILESDIR}"/lircd.conf.4 lircd |
432 |
- newconfd "${FILESDIR}"/lircmd.conf lircmd |
433 |
- |
434 |
- insinto /etc/modprobe.d/ |
435 |
- newins "${FILESDIR}"/modprobed.lirc lirc.conf |
436 |
- |
437 |
- newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec |
438 |
- newconfd "${FILESDIR}"/irexec-confd irexec |
439 |
- |
440 |
- keepdir /etc/lirc |
441 |
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then |
442 |
- newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example |
443 |
- fi |
444 |
- |
445 |
- find "${ED}" -name '*.la' -delete || die |
446 |
- |
447 |
- # Avoid QA notice |
448 |
- rm -d "${ED%/}"/var/run/lirc || die |
449 |
- rm -d "${ED%/}"/var/run || die |
450 |
-} |
451 |
- |
452 |
-pkg_preinst() { |
453 |
- local dir="${EROOT%/}/etc/modprobe.d" |
454 |
- if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then |
455 |
- elog "Renaming ${dir}/lirc to lirc.conf" |
456 |
- mv -f "${dir}/lirc" "${dir}/lirc.conf" || die |
457 |
- fi |
458 |
- |
459 |
- # copy the first file that can be found |
460 |
- if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then |
461 |
- cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
462 |
- elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then |
463 |
- cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die |
464 |
- MOVE_OLD_LIRCD_CONF=1 |
465 |
- elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then |
466 |
- cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
467 |
- fi |
468 |
- |
469 |
- # stop portage from touching the config file |
470 |
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then |
471 |
- rm -f "${ED%/}"/etc/lirc/lircd.conf || die |
472 |
- fi |
473 |
-} |
474 |
- |
475 |
-pkg_postinst() { |
476 |
- # copy config file to new location |
477 |
- # without portage knowing about it |
478 |
- # so it will not delete it on unmerge or ever touch it again |
479 |
- if [[ -e "${T}"/lircd.conf ]]; then |
480 |
- cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die |
481 |
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then |
482 |
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf" |
483 |
- rm -f "${EROOT%/}"/etc/lircd.conf || die |
484 |
- fi |
485 |
- fi |
486 |
- |
487 |
- einfo "The new default location for lircd.conf is inside of" |
488 |
- einfo "${EROOT%/}/etc/lirc/ directory" |
489 |
-} |
490 |
|
491 |
diff --git a/app-misc/lirc/lirc-0.9.4d.ebuild b/app-misc/lirc/lirc-0.9.4d.ebuild |
492 |
deleted file mode 100644 |
493 |
index 57072953cad..00000000000 |
494 |
--- a/app-misc/lirc/lirc-0.9.4d.ebuild |
495 |
+++ /dev/null |
496 |
@@ -1,155 +0,0 @@ |
497 |
-# Copyright 1999-2018 Gentoo Foundation |
498 |
-# Distributed under the terms of the GNU General Public License v2 |
499 |
- |
500 |
-EAPI=6 |
501 |
- |
502 |
-PYTHON_COMPAT=( python3_4 python3_5 ) |
503 |
- |
504 |
-inherit autotools eutils flag-o-matic python-single-r1 systemd xdg-utils |
505 |
- |
506 |
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
507 |
-HOMEPAGE="http://www.lirc.org/" |
508 |
- |
509 |
-LIRC_DRIVER_DEVICE="/dev/lirc0" |
510 |
- |
511 |
-MY_P=${PN}-${PV/_/} |
512 |
- |
513 |
-if [[ "${PV/_pre/}" = "${PV}" ]]; then |
514 |
- SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2" |
515 |
-else |
516 |
- SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2" |
517 |
-fi |
518 |
- |
519 |
-LICENSE="GPL-2+" |
520 |
-SLOT="0" |
521 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
522 |
-IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X" |
523 |
- |
524 |
-REQUIRED_USE=" |
525 |
- ${PYTHON_REQUIRED_USE} |
526 |
- gtk? ( X ) |
527 |
-" |
528 |
- |
529 |
-S="${WORKDIR}/${MY_P}" |
530 |
- |
531 |
-COMMON_DEPEND=" |
532 |
- ${PYTHON_DEPS} |
533 |
- audio? ( |
534 |
- >media-libs/portaudio-18 |
535 |
- media-libs/alsa-lib |
536 |
- ) |
537 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
538 |
- ftdi? ( dev-embedded/libftdi:0 ) |
539 |
- systemd? ( sys-apps/systemd ) |
540 |
- usb? ( virtual/libusb:0 ) |
541 |
- X? ( |
542 |
- x11-libs/libICE |
543 |
- x11-libs/libSM |
544 |
- x11-libs/libX11 |
545 |
- ) |
546 |
-" |
547 |
- |
548 |
-DEPEND=" |
549 |
- ${COMMON_DEPEND} |
550 |
- dev-libs/libxslt |
551 |
- doc? ( app-doc/doxygen ) |
552 |
- sys-apps/kmod |
553 |
- sys-kernel/linux-headers |
554 |
-" |
555 |
- |
556 |
-RDEPEND=" |
557 |
- ${COMMON_DEPEND} |
558 |
- gtk? ( |
559 |
- x11-libs/vte[introspection] |
560 |
- dev-python/pygobject[${PYTHON_USEDEP}] |
561 |
- ) |
562 |
- inputlirc? ( app-misc/inputlircd ) |
563 |
-" |
564 |
- |
565 |
-PATCHES=( |
566 |
- # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/ |
567 |
- "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch |
568 |
-) |
569 |
- |
570 |
-src_prepare() { |
571 |
- default |
572 |
- eautoreconf |
573 |
-} |
574 |
- |
575 |
-src_configure() { |
576 |
- xdg_environment_reset |
577 |
- econf \ |
578 |
- --localstatedir="${EPREFIX}/var" \ |
579 |
- $(use_enable static-libs static) \ |
580 |
- $(use_with X x) |
581 |
-} |
582 |
- |
583 |
-src_install() { |
584 |
- default |
585 |
- |
586 |
- if use !gtk ; then |
587 |
- # lirc-setup requires gtk |
588 |
- rm "${ED%/}"/usr/bin/lirc-setup || die |
589 |
- fi |
590 |
- |
591 |
- newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd |
592 |
- newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd |
593 |
- newconfd "${FILESDIR}"/lircd.conf.4 lircd |
594 |
- newconfd "${FILESDIR}"/lircmd.conf lircmd |
595 |
- |
596 |
- insinto /etc/modprobe.d/ |
597 |
- newins "${FILESDIR}"/modprobed.lirc lirc.conf |
598 |
- |
599 |
- newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec |
600 |
- newconfd "${FILESDIR}"/irexec-confd irexec |
601 |
- |
602 |
- keepdir /etc/lirc |
603 |
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then |
604 |
- newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example |
605 |
- fi |
606 |
- |
607 |
- find "${ED}" -name '*.la' -delete || die |
608 |
- |
609 |
- # Avoid QA notice |
610 |
- rm -d "${ED%/}"/var/run/lirc || die |
611 |
- rm -d "${ED%/}"/var/run || die |
612 |
-} |
613 |
- |
614 |
-pkg_preinst() { |
615 |
- local dir="${EROOT%/}/etc/modprobe.d" |
616 |
- if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then |
617 |
- elog "Renaming ${dir}/lirc to lirc.conf" |
618 |
- mv -f "${dir}/lirc" "${dir}/lirc.conf" || die |
619 |
- fi |
620 |
- |
621 |
- # copy the first file that can be found |
622 |
- if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then |
623 |
- cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
624 |
- elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then |
625 |
- cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die |
626 |
- MOVE_OLD_LIRCD_CONF=1 |
627 |
- elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then |
628 |
- cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
629 |
- fi |
630 |
- |
631 |
- # stop portage from touching the config file |
632 |
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then |
633 |
- rm -f "${ED%/}"/etc/lirc/lircd.conf || die |
634 |
- fi |
635 |
-} |
636 |
- |
637 |
-pkg_postinst() { |
638 |
- # copy config file to new location |
639 |
- # without portage knowing about it |
640 |
- # so it will not delete it on unmerge or ever touch it again |
641 |
- if [[ -e "${T}"/lircd.conf ]]; then |
642 |
- cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die |
643 |
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then |
644 |
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf" |
645 |
- rm -f "${EROOT%/}"/etc/lircd.conf || die |
646 |
- fi |
647 |
- fi |
648 |
- |
649 |
- einfo "The new default location for lircd.conf is inside of" |
650 |
- einfo "${EROOT%/}/etc/lirc/ directory" |
651 |
-} |
652 |
|
653 |
diff --git a/app-misc/lirc/metadata.xml b/app-misc/lirc/metadata.xml |
654 |
index b1e7f0c27f8..3a8d3814118 100644 |
655 |
--- a/app-misc/lirc/metadata.xml |
656 |
+++ b/app-misc/lirc/metadata.xml |
657 |
@@ -11,9 +11,7 @@ |
658 |
<flag name="hardware-carrier">The transmitter device generates its clock signal in hardware</flag> |
659 |
<flag name="transmitter">Add transmitter support to some lirc-drivers (e.g. serial)</flag> |
660 |
<flag name="inputlirc">Add a dependency on app-misc/inputlircd</flag> |
661 |
- <flag name="irman">Add a dependency on media-libs/libirman</flag> |
662 |
<flag name="audio">Support using an audio device connected to an IR receiver</flag> |
663 |
- <flag name="iguanair">Support iguanaIR devices</flag> |
664 |
<flag name="ftdi">Support FTDI devices</flag> |
665 |
<flag name="gtk">Include GTK support which enables the use of lirc-setup</flag> |
666 |
</use> |