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