Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libinput/
Date: Thu, 31 Dec 2020 16:59:19
Message-Id: 1609433934.bd4b79b6c5351196491a89b22ba16b5c800c23fb.mattst88@gentoo
1 commit: bd4b79b6c5351196491a89b22ba16b5c800c23fb
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 16:54:30 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 16:58:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4b79b6
7
8 dev-libs/libinput: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-libs/libinput/Manifest | 2 -
13 dev-libs/libinput/libinput-1.16.1.ebuild | 88 --------------------------------
14 dev-libs/libinput/libinput-1.16.3.ebuild | 88 --------------------------------
15 3 files changed, 178 deletions(-)
16
17 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
18 index 23ead4b17df..e02e4cf1b27 100644
19 --- a/dev-libs/libinput/Manifest
20 +++ b/dev-libs/libinput/Manifest
21 @@ -1,3 +1 @@
22 -DIST libinput-1.16.1.tar.xz 595548 BLAKE2B 497089248c2104ff7784b7d46d8e846047e054f01c6ea192f1c41171b39213fa1f19be8c8253c32f988bfc6f025d2519697256ffaf62884182c511bcd5c5d335 SHA512 86b2d563c2cff2b3d3cae3acdd399030cc785cc9859a06357a99565ef51f95122a8427c8c0883121fb0760613460a29c8cd8c7a7e3ac68115c10330b3b75cbe0
23 -DIST libinput-1.16.3.tar.xz 594948 BLAKE2B 6fad03dc8ab0280435b89a1049ed019d29e795279273277c9cad4676f484856d2677845ddc1c5102f2430645053a77c1cde48bb32530d4290ade576843a51ded SHA512 cdf87988b24dc0a44b7b6ed3e15e70c7702bf65f1cfe257924967677c7a1f1485011a9e30254ba8962c83885de78f824e7955cedb07322676332d42532ec4a39
24 DIST libinput-1.16.4.tar.xz 596028 BLAKE2B ad2160d83bcbdd65383272e0c4b35e35c7b46a6d0c771d7c0188c92b204d57dae73d0820bb93f662f155c1eab19c0195110f5a18a68de890c808925d5c056814 SHA512 a95a3bcf58a9298946d15f4f2fd93dc5807d3042f8797950a1ffd96d3c979b55a764f035a9f7680d0ea400b033698c322eb61a4387dbc280db6110ffd3e137ee
25
26 diff --git a/dev-libs/libinput/libinput-1.16.1.ebuild b/dev-libs/libinput/libinput-1.16.1.ebuild
27 deleted file mode 100644
28 index 3256004954c..00000000000
29 --- a/dev-libs/libinput/libinput-1.16.1.ebuild
30 +++ /dev/null
31 @@ -1,88 +0,0 @@
32 -# Copyright 2014-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -PYTHON_COMPAT=( python3_{6,7,8} )
37 -
38 -inherit meson python-any-r1 udev
39 -
40 -DESCRIPTION="Library to handle input devices in Wayland"
41 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput"
42 -SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0/10"
46 -[[ "$(ver_cut 3)" -gt 900 ]] || \
47 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
48 -IUSE="doc input_devices_wacom test"
49 -RESTRICT="!test? ( test )"
50 -
51 -BDEPEND="
52 - virtual/pkgconfig
53 - doc? (
54 - $(python_gen_any_dep '
55 - dev-python/commonmark[${PYTHON_USEDEP}]
56 - dev-python/recommonmark[${PYTHON_USEDEP}]
57 - dev-python/sphinx[${PYTHON_USEDEP}]
58 - >=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]
59 - ')
60 - >=app-doc/doxygen-1.8.3
61 - >=media-gfx/graphviz-2.38.0
62 - )
63 -"
64 -# test? ( dev-util/valgrind )
65 -RDEPEND="
66 - input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
67 - >=dev-libs/libevdev-1.3
68 - >=sys-libs/mtdev-1.1
69 - virtual/libudev:=
70 - virtual/udev
71 -"
72 -DEPEND="${RDEPEND}
73 - test? ( >=dev-libs/check-0.9.10 )"
74 -
75 -python_check_deps() {
76 - has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
77 - has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \
78 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
79 - has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]"
80 -}
81 -
82 -pkg_setup() {
83 - use doc && python-any-r1_pkg_setup
84 -}
85 -
86 -src_prepare() {
87 - default
88 - sed "s@, '-Werror'@@" -i meson.build || die #744250
89 -}
90 -
91 -src_configure() {
92 - # gui can be built but will not be installed
93 - local emesonargs=(
94 - -Ddebug-gui=false
95 - $(meson_use doc documentation)
96 - $(meson_use input_devices_wacom libwacom)
97 - $(meson_use test tests)
98 - -Dudev-dir="${EPREFIX}$(get_udevdir)"
99 - )
100 - meson_src_configure
101 -}
102 -
103 -src_install() {
104 - meson_src_install
105 - if use doc ; then
106 - docinto html
107 - dodoc -r "${BUILD_DIR}"/Documentation/.
108 - fi
109 -}
110 -
111 -pkg_postinst() {
112 - pkgname="dev-python/python-libevdev"
113 - if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}" ; then
114 - einfo "${pkgname} must be installed to use the"
115 - einfo "libinput measure and libinput replay tools."
116 - fi
117 -
118 - udevadm hwdb --update --root="${ROOT}"
119 -}
120
121 diff --git a/dev-libs/libinput/libinput-1.16.3.ebuild b/dev-libs/libinput/libinput-1.16.3.ebuild
122 deleted file mode 100644
123 index b1b38d10476..00000000000
124 --- a/dev-libs/libinput/libinput-1.16.3.ebuild
125 +++ /dev/null
126 @@ -1,88 +0,0 @@
127 -# Copyright 2014-2020 Gentoo Authors
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=7
131 -PYTHON_COMPAT=( python3_{6,7,8} )
132 -
133 -inherit meson python-any-r1 udev
134 -
135 -DESCRIPTION="Library to handle input devices in Wayland"
136 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput"
137 -SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
138 -
139 -LICENSE="MIT"
140 -SLOT="0/10"
141 -[[ "$(ver_cut 3)" -gt 900 ]] || \
142 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
143 -IUSE="doc input_devices_wacom test"
144 -RESTRICT="!test? ( test )"
145 -
146 -BDEPEND="
147 - virtual/pkgconfig
148 - doc? (
149 - $(python_gen_any_dep '
150 - dev-python/commonmark[${PYTHON_USEDEP}]
151 - dev-python/recommonmark[${PYTHON_USEDEP}]
152 - dev-python/sphinx[${PYTHON_USEDEP}]
153 - >=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]
154 - ')
155 - >=app-doc/doxygen-1.8.3
156 - >=media-gfx/graphviz-2.38.0
157 - )
158 -"
159 -# test? ( dev-util/valgrind )
160 -RDEPEND="
161 - input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
162 - >=dev-libs/libevdev-1.3
163 - >=sys-libs/mtdev-1.1
164 - virtual/libudev:=
165 - virtual/udev
166 -"
167 -DEPEND="${RDEPEND}
168 - test? ( >=dev-libs/check-0.9.10 )"
169 -
170 -python_check_deps() {
171 - has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
172 - has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \
173 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
174 - has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]"
175 -}
176 -
177 -pkg_setup() {
178 - use doc && python-any-r1_pkg_setup
179 -}
180 -
181 -src_prepare() {
182 - default
183 - sed "s@, '-Werror'@@" -i meson.build || die #744250
184 -}
185 -
186 -src_configure() {
187 - # gui can be built but will not be installed
188 - local emesonargs=(
189 - -Ddebug-gui=false
190 - $(meson_use doc documentation)
191 - $(meson_use input_devices_wacom libwacom)
192 - $(meson_use test tests)
193 - -Dudev-dir="${EPREFIX}$(get_udevdir)"
194 - )
195 - meson_src_configure
196 -}
197 -
198 -src_install() {
199 - meson_src_install
200 - if use doc ; then
201 - docinto html
202 - dodoc -r "${BUILD_DIR}"/Documentation/.
203 - fi
204 -}
205 -
206 -pkg_postinst() {
207 - pkgname="dev-python/python-libevdev"
208 - if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}" ; then
209 - einfo "${pkgname} must be installed to use the"
210 - einfo "libinput measure and libinput replay tools."
211 - fi
212 -
213 - udevadm hwdb --update --root="${ROOT}"
214 -}