1 |
commit: d0a15ec739a1ce991d73ba97ad2a45532140babc |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 1 16:23:25 2018 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 1 16:37:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a15ec7 |
7 |
|
8 |
app-misc/lirc: Drop old version |
9 |
|
10 |
Package-Manager: Portage-2.3.44, Repoman-2.3.10 |
11 |
|
12 |
app-misc/lirc/Manifest | 1 - |
13 |
app-misc/lirc/lirc-0.10.0.ebuild | 151 --------------------------------------- |
14 |
2 files changed, 152 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest |
17 |
index 4f51ac9b435..d4b40149b07 100644 |
18 |
--- a/app-misc/lirc/Manifest |
19 |
+++ b/app-misc/lirc/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST lirc-0.10.0.tar.bz2 2523528 BLAKE2B 5c133b40936060fbaa0a9463b1b07d9197d935388e3eb4e46791b1f844b82ea6b6d42ae0c6ce249ca306688fa5d15718f5a3a54b497fc9f168b8b736b06bdd1e SHA512 06ccc1c8c80bfd17a6d180ae39a17779cbba341086f90a03a2e552bfb71e3abcb13f991312fba0e57df79c1882c1e29a2f273dddcd46a9ff53160b556e1547ab |
22 |
DIST lirc-0.10.1.tar.bz2 2523226 BLAKE2B 47b7ee87de8f64f7f829af519c0d296a85cf91790148927e850965177d4984bb994a0ad122cb59c3db508813d0824ffec45126e794abd08174a052361cea53e5 SHA512 31c0b6ee169b302b99994a2a3fa0ebcae0e01cb83c02fe02acf1de5ba8cf77a091a0221c7d8104448c30930adafe654cd08afb7d0df6b5b7ec2d47df26e5df9d |
23 |
DIST lirc-0.9.0.tar.bz2 857286 BLAKE2B 034c7b8492dd42301bb6d40da8c6c95f714b925ee50e7396290231684024dc3fe3bb64987db92d2a4e4d56203436007e68222bbf9a775bb9d29bbefcc4a7c1e4 SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431 |
24 |
|
25 |
diff --git a/app-misc/lirc/lirc-0.10.0.ebuild b/app-misc/lirc/lirc-0.10.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 9b8d2c10c01..00000000000 |
28 |
--- a/app-misc/lirc/lirc-0.10.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,151 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-PYTHON_COMPAT=( python3_4 python3_{5,6} ) |
37 |
- |
38 |
-inherit eutils flag-o-matic linux-info python-single-r1 systemd xdg-utils |
39 |
- |
40 |
-DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
41 |
-HOMEPAGE="http://www.lirc.org/" |
42 |
- |
43 |
-LIRC_DRIVER_DEVICE="/dev/lirc0" |
44 |
- |
45 |
-MY_P=${PN}-${PV/_/-} |
46 |
- |
47 |
-if [[ "${PV/_pre/}" = "${PV}" ]]; then |
48 |
- SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2" |
49 |
-else |
50 |
- SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2" |
51 |
-fi |
52 |
- |
53 |
-LICENSE="GPL-2+" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
56 |
-IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X" |
57 |
- |
58 |
-REQUIRED_USE=" |
59 |
- ${PYTHON_REQUIRED_USE} |
60 |
- gtk? ( X ) |
61 |
-" |
62 |
- |
63 |
-S="${WORKDIR}/${MY_P}" |
64 |
- |
65 |
-COMMON_DEPEND=" |
66 |
- ${PYTHON_DEPS} |
67 |
- audio? ( |
68 |
- >media-libs/portaudio-18 |
69 |
- media-libs/alsa-lib |
70 |
- ) |
71 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
72 |
- ftdi? ( dev-embedded/libftdi:0 ) |
73 |
- systemd? ( sys-apps/systemd ) |
74 |
- usb? ( virtual/libusb:0 ) |
75 |
- X? ( |
76 |
- x11-libs/libICE |
77 |
- x11-libs/libSM |
78 |
- x11-libs/libX11 |
79 |
- ) |
80 |
-" |
81 |
- |
82 |
-DEPEND=" |
83 |
- ${COMMON_DEPEND} |
84 |
- dev-libs/libxslt |
85 |
- doc? ( app-doc/doxygen ) |
86 |
- sys-apps/kmod |
87 |
- sys-kernel/linux-headers |
88 |
-" |
89 |
- |
90 |
-RDEPEND=" |
91 |
- ${COMMON_DEPEND} |
92 |
- gtk? ( |
93 |
- x11-libs/vte[introspection] |
94 |
- dev-python/pygobject[${PYTHON_USEDEP}] |
95 |
- ) |
96 |
- inputlirc? ( app-misc/inputlircd ) |
97 |
-" |
98 |
- |
99 |
-pkg_setup() { |
100 |
- use uinput && CONFIG_CHECK="INPUT_UINPUT" |
101 |
-} |
102 |
- |
103 |
-src_configure() { |
104 |
- xdg_environment_reset |
105 |
- econf \ |
106 |
- --localstatedir="${EPREFIX}/var" \ |
107 |
- $(use_enable static-libs static) \ |
108 |
- $(use_enable devinput) \ |
109 |
- $(use_enable uinput) \ |
110 |
- $(use_with X x) |
111 |
-} |
112 |
- |
113 |
-src_install() { |
114 |
- default |
115 |
- |
116 |
- if use !gtk ; then |
117 |
- # lirc-setup requires gtk |
118 |
- rm "${ED%/}"/usr/bin/lirc-setup || die |
119 |
- fi |
120 |
- |
121 |
- newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd |
122 |
- newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd |
123 |
- newconfd "${FILESDIR}"/lircd.conf.4 lircd |
124 |
- newconfd "${FILESDIR}"/lircmd-0.10.0.conf lircmd |
125 |
- |
126 |
- insinto /etc/modprobe.d/ |
127 |
- newins "${FILESDIR}"/modprobed.lirc lirc.conf |
128 |
- |
129 |
- newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec |
130 |
- newconfd "${FILESDIR}"/irexec-confd irexec |
131 |
- |
132 |
- keepdir /etc/lirc |
133 |
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then |
134 |
- newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example |
135 |
- fi |
136 |
- |
137 |
- find "${ED}" -name '*.la' -delete || die |
138 |
- |
139 |
- # Avoid QA notice |
140 |
- rm -d "${ED%/}"/var/run/lirc || die |
141 |
- rm -d "${ED%/}"/var/run || die |
142 |
-} |
143 |
- |
144 |
-pkg_preinst() { |
145 |
- local dir="${EROOT%/}/etc/modprobe.d" |
146 |
- if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then |
147 |
- elog "Renaming ${dir}/lirc to lirc.conf" |
148 |
- mv -f "${dir}/lirc" "${dir}/lirc.conf" || die |
149 |
- fi |
150 |
- |
151 |
- # copy the first file that can be found |
152 |
- if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then |
153 |
- cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
154 |
- elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then |
155 |
- cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die |
156 |
- MOVE_OLD_LIRCD_CONF=1 |
157 |
- elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then |
158 |
- cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die |
159 |
- fi |
160 |
- |
161 |
- # stop portage from touching the config file |
162 |
- if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then |
163 |
- rm -f "${ED%/}"/etc/lirc/lircd.conf || die |
164 |
- fi |
165 |
-} |
166 |
- |
167 |
-pkg_postinst() { |
168 |
- # copy config file to new location |
169 |
- # without portage knowing about it |
170 |
- # so it will not delete it on unmerge or ever touch it again |
171 |
- if [[ -e "${T}"/lircd.conf ]]; then |
172 |
- cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die |
173 |
- if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then |
174 |
- elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf" |
175 |
- rm -f "${EROOT%/}"/etc/lircd.conf || die |
176 |
- fi |
177 |
- fi |
178 |
- |
179 |
- einfo "The new default location for lircd.conf is inside of" |
180 |
- einfo "${EROOT%/}/etc/lirc/ directory" |
181 |
-} |