Gentoo Archives: gentoo-commits

From: Ian Whyman <thev00d00@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/
Date: Tue, 01 Jan 2019 14:14:26
Message-Id: 1546352054.4ac8983205ccf00034344b0e253cd799d329f27a.thev00d00@gentoo
1 commit: 4ac8983205ccf00034344b0e253cd799d329f27a
2 Author: Ian Whyman <thev00d00 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 1 14:14:14 2019 +0000
4 Commit: Ian Whyman <thev00d00 <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 1 14:14:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac89832
7
8 dev-libs/libcec: Tidy old
9
10 Package-Manager: Portage-2.3.53, Repoman-2.3.12
11 Signed-off-by: Ian Whyman <thev00d00 <AT> gentoo.org>
12
13 dev-libs/libcec/Manifest | 1 -
14 dev-libs/libcec/libcec-3.1.0-r1.ebuild | 78 --------------------------------
15 dev-libs/libcec/libcec-4.0.2-r1.ebuild | 83 ----------------------------------
16 dev-libs/libcec/libcec-4.0.2.ebuild | 81 ---------------------------------
17 4 files changed, 243 deletions(-)
18
19 diff --git a/dev-libs/libcec/Manifest b/dev-libs/libcec/Manifest
20 index 046b38aebd6..afc82f2aa41 100644
21 --- a/dev-libs/libcec/Manifest
22 +++ b/dev-libs/libcec/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST libcec-3.1.0.tar.gz 1097121 BLAKE2B f216c03c26fd51366282d649d18ca969f362438a2803a7a15dc2aa1ec7caeb4e2a9f02b74e569da4d4c6aa24427ec5bd1870a230dc9c0bc575938c3929a7772b SHA512 e06f65d85ee268ec23380186d11e53f3e477bf25b955c9314cc13555eedeffee902dc8a0f3005248250c584760ab68c461b087b305dc4ef463da628ee1ab433b
25 DIST libcec-4.0.2.tar.gz 334995 BLAKE2B bdbebeb339ce39f2f740805c4c627cc5190cc0dd57d0d87e3d3aa4ba8feeba103336d035fb8b282358f2e08fa470111be43df4df48870be0e9aa93f35434d0ef SHA512 7bb80965cd1bef713f59bff136dc4a7f1172c4a9bdb8e2f59c6bcc5b74110848c0b2912263280ea68177908a688127e8d7208fc43ce6e65d589343b85395a0bb
26 DIST libcec-4.0.4.tar.gz 344976 BLAKE2B ce88730ee6e9f57a3f874dd47343e8bb12bd9d3644b58703f0b797bfe656fa25461e6847db4023fec92d9e9740f0e58b59a203258d39d8883b8ae9cde147f455 SHA512 8991ba96fe9a87e5e1f63ff87f77fc0fc3b735c537e2ee6cb004fdc264d75cecd043e39b49cf9e64aeadd24bb1fb57911d9c4bd6c494d9ba4035d7320c268116
27
28 diff --git a/dev-libs/libcec/libcec-3.1.0-r1.ebuild b/dev-libs/libcec/libcec-3.1.0-r1.ebuild
29 deleted file mode 100644
30 index 46b752cba09..00000000000
31 --- a/dev-libs/libcec/libcec-3.1.0-r1.ebuild
32 +++ /dev/null
33 @@ -1,78 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
40 -
41 -inherit cmake-utils linux-info python-single-r1 toolchain-funcs
42 -
43 -DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
44 -HOMEPAGE="http://libcec.pulse-eight.com"
45 -SRC_URI="https://github.com/Pulse-Eight/${PN}/archive/${P}.tar.gz"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~arm x86"
50 -IUSE="cubox exynos python raspberry-pi +xrandr"
51 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
52 -
53 -RDEPEND="virtual/udev
54 - >=dev-libs/libplatform-2.0.0
55 - raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 )
56 - xrandr? ( x11-libs/libXrandr )
57 - python? ( ${PYTHON_DEPS} )"
58 -DEPEND="${RDEPEND}
59 - python? ( dev-lang/swig )
60 - virtual/pkgconfig"
61 -
62 -CONFIG_CHECK="~USB_ACM"
63 -
64 -S="${WORKDIR}/${PN}-${P}"
65 -
66 -pkg_pretend() {
67 - linux-info_pkg_setup
68 -}
69 -
70 -pkg_setup() {
71 - linux-info_pkg_setup
72 - use python && python-single-r1_pkg_setup
73 -}
74 -
75 -src_prepare() {
76 - cmake-utils_src_prepare
77 -
78 - # Do not hardcode the python libpath #577612
79 - sed -i \
80 - -e '/DESTINATION/s:lib/python${PYTHON_VERSION}/dist-packages:${PYTHON_SITEDIR}:' \
81 - src/libcec/cmake/CheckPlatformSupport.cmake || die
82 -
83 - use python || cmake_comment_add_subdirectory "src/pyCecClient"
84 -}
85 -
86 -src_configure() {
87 - local mycmakeargs=(
88 - -DSKIP_PYTHON_WRAPPER=$(usex python)
89 - -DHAVE_EXYNOS_API=$(usex exynos)
90 - -DHAVE_TDA955X_API=$(usex cubox)
91 - -DHAVE_RPI_API=$(usex raspberry-pi)
92 - )
93 - use python && mycmakeargs+=(
94 - -DPYTHON_SITEDIR="$(python_get_sitedir)"
95 - )
96 -
97 - # raspberrypi-userland itself does not provide .pc file so using
98 - # bcm_host.pc instead
99 - use raspberry-pi && mycmakeargs+=(
100 - -DRPI_INCLUDE_DIR=$( $(tc-getPKG_CONFIG) --variable=includedir bcm_host) \
101 - -DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host)
102 - )
103 -
104 - cmake-utils_src_configure
105 -}
106 -
107 -pkg_postinst() {
108 - elog "You will need to ensure the user running your CEC client has"
109 - elog "read/write access to the device. You can ensure this by adding"
110 - elog "them to the uucp group"
111 -}
112
113 diff --git a/dev-libs/libcec/libcec-4.0.2-r1.ebuild b/dev-libs/libcec/libcec-4.0.2-r1.ebuild
114 deleted file mode 100644
115 index f52629d1672..00000000000
116 --- a/dev-libs/libcec/libcec-4.0.2-r1.ebuild
117 +++ /dev/null
118 @@ -1,83 +0,0 @@
119 -# Copyright 1999-2018 Gentoo Foundation
120 -# Distributed under the terms of the GNU General Public License v2
121 -
122 -EAPI=6
123 -
124 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
125 -MY_PV=${PV/_p/-}
126 -MY_P=${PN}-${MY_PV}
127 -
128 -inherit cmake-utils linux-info python-single-r1 toolchain-funcs
129 -
130 -DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
131 -HOMEPAGE="http://libcec.pulse-eight.com"
132 -SRC_URI="https://github.com/Pulse-Eight/${PN}/archive/${MY_P}.tar.gz"
133 -
134 -LICENSE="GPL-2"
135 -SLOT="0"
136 -KEYWORDS="~amd64 ~arm ~x86"
137 -IUSE="cubox exynos python raspberry-pi +xrandr"
138 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
139 -
140 -RDEPEND="virtual/udev
141 - >=dev-libs/libplatform-2.0.0
142 - sys-libs/ncurses:=
143 - raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 )
144 - xrandr? ( x11-libs/libXrandr )
145 - python? ( ${PYTHON_DEPS} )"
146 -DEPEND="${RDEPEND}
147 - python? ( dev-lang/swig )
148 - virtual/pkgconfig"
149 -
150 -CONFIG_CHECK="~USB_ACM"
151 -
152 -S="${WORKDIR}/${PN}-${MY_P}"
153 -
154 -PATCHES=( "${FILESDIR}/${P}-no-tinfo.patch" )
155 -
156 -pkg_pretend() {
157 - linux-info_pkg_setup
158 -}
159 -
160 -pkg_setup() {
161 - linux-info_pkg_setup
162 - use python && python-single-r1_pkg_setup
163 -}
164 -
165 -src_prepare() {
166 - cmake-utils_src_prepare
167 -
168 - # Do not hardcode the python libpath #577612
169 - sed -i \
170 - -e '/DESTINATION/s:lib/python${PYTHON_VERSION}/dist-packages:${PYTHON_SITEDIR}:' \
171 - src/libcec/cmake/CheckPlatformSupport.cmake || die
172 -
173 - use python || cmake_comment_add_subdirectory "src/pyCecClient"
174 -}
175 -
176 -src_configure() {
177 - local mycmakeargs=(
178 - -DSKIP_PYTHON_WRAPPER=$(usex !python)
179 - -DHAVE_EXYNOS_API=$(usex exynos)
180 - -DHAVE_TDA995X_API=$(usex cubox)
181 - -DHAVE_RPI_API=$(usex raspberry-pi)
182 - )
183 - use python && mycmakeargs+=(
184 - -DPYTHON_SITEDIR="$(python_get_sitedir)"
185 - )
186 -
187 - # raspberrypi-userland itself does not provide .pc file so using
188 - # bcm_host.pc instead
189 - use raspberry-pi && mycmakeargs+=(
190 - -DRPI_INCLUDE_DIR=$( $(tc-getPKG_CONFIG) --variable=includedir bcm_host) \
191 - -DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host)
192 - )
193 -
194 - cmake-utils_src_configure
195 -}
196 -
197 -pkg_postinst() {
198 - elog "You will need to ensure the user running your CEC client has"
199 - elog "read/write access to the device. You can ensure this by adding"
200 - elog "them to the uucp group"
201 -}
202
203 diff --git a/dev-libs/libcec/libcec-4.0.2.ebuild b/dev-libs/libcec/libcec-4.0.2.ebuild
204 deleted file mode 100644
205 index 6c8fc121c6a..00000000000
206 --- a/dev-libs/libcec/libcec-4.0.2.ebuild
207 +++ /dev/null
208 @@ -1,81 +0,0 @@
209 -# Copyright 1999-2017 Gentoo Foundation
210 -# Distributed under the terms of the GNU General Public License v2
211 -
212 -EAPI=6
213 -
214 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
215 -MY_PV=${PV/_p/-}
216 -MY_P=${PN}-${MY_PV}
217 -
218 -inherit cmake-utils linux-info python-single-r1 toolchain-funcs
219 -
220 -DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
221 -HOMEPAGE="http://libcec.pulse-eight.com"
222 -SRC_URI="https://github.com/Pulse-Eight/${PN}/archive/${MY_P}.tar.gz"
223 -
224 -LICENSE="GPL-2"
225 -SLOT="0"
226 -KEYWORDS="amd64 ~arm x86"
227 -IUSE="cubox exynos python raspberry-pi +xrandr"
228 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
229 -
230 -RDEPEND="virtual/udev
231 - >=dev-libs/libplatform-2.0.0
232 - sys-libs/ncurses:=
233 - raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 )
234 - xrandr? ( x11-libs/libXrandr )
235 - python? ( ${PYTHON_DEPS} )"
236 -DEPEND="${RDEPEND}
237 - python? ( dev-lang/swig )
238 - virtual/pkgconfig"
239 -
240 -CONFIG_CHECK="~USB_ACM"
241 -
242 -S="${WORKDIR}/${PN}-${MY_P}"
243 -
244 -pkg_pretend() {
245 - linux-info_pkg_setup
246 -}
247 -
248 -pkg_setup() {
249 - linux-info_pkg_setup
250 - use python && python-single-r1_pkg_setup
251 -}
252 -
253 -src_prepare() {
254 - cmake-utils_src_prepare
255 -
256 - # Do not hardcode the python libpath #577612
257 - sed -i \
258 - -e '/DESTINATION/s:lib/python${PYTHON_VERSION}/dist-packages:${PYTHON_SITEDIR}:' \
259 - src/libcec/cmake/CheckPlatformSupport.cmake || die
260 -
261 - use python || cmake_comment_add_subdirectory "src/pyCecClient"
262 -}
263 -
264 -src_configure() {
265 - local mycmakeargs=(
266 - -DSKIP_PYTHON_WRAPPER=$(usex !python)
267 - -DHAVE_EXYNOS_API=$(usex exynos)
268 - -DHAVE_TDA995X_API=$(usex cubox)
269 - -DHAVE_RPI_API=$(usex raspberry-pi)
270 - )
271 - use python && mycmakeargs+=(
272 - -DPYTHON_SITEDIR="$(python_get_sitedir)"
273 - )
274 -
275 - # raspberrypi-userland itself does not provide .pc file so using
276 - # bcm_host.pc instead
277 - use raspberry-pi && mycmakeargs+=(
278 - -DRPI_INCLUDE_DIR=$( $(tc-getPKG_CONFIG) --variable=includedir bcm_host) \
279 - -DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host)
280 - )
281 -
282 - cmake-utils_src_configure
283 -}
284 -
285 -pkg_postinst() {
286 - elog "You will need to ensure the user running your CEC client has"
287 - elog "read/write access to the device. You can ensure this by adding"
288 - elog "them to the uucp group"
289 -}