diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-08-17 02:00:14 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-08-17 02:00:41 +0300 |
commit | 6a4b543dbfc67cdff52c25a6a4de9778052726d1 (patch) | |
tree | fb543395610599ca1f4c7f9db2111c351136d688 /dev-libs/libinput | |
parent | dev-libs/tinyxml2: amd64 stable wrt bug #661440 (diff) | |
download | gentoo-6a4b543dbfc67cdff52c25a6a4de9778052726d1.tar.gz gentoo-6a4b543dbfc67cdff52c25a6a4de9778052726d1.tar.bz2 gentoo-6a4b543dbfc67cdff52c25a6a4de9778052726d1.zip |
dev-libs/libinput-1.11.3: fix build with USE=test, other tweaks
New portage allows USE=test independent of FEATURES=test, so handle
that case - for now by just always telling meson to disable the build
as well, as the deps wouldn't be there.
Make use of meson_use function from meson.eclass.
Remove .la and .a file removing, as meson does not use libtool, nor
does it build static libraries without asking.
Closes: https://bugs.gentoo.org/663342
Package-Manager: Portage-2.3.46, Repoman-2.3.10
Diffstat (limited to 'dev-libs/libinput')
-rw-r--r-- | dev-libs/libinput/libinput-1.11.3.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-libs/libinput/libinput-1.11.3.ebuild b/dev-libs/libinput/libinput-1.11.3.ebuild index 0635ed1b8faf..e26ac3c3c0ff 100644 --- a/dev-libs/libinput/libinput-1.11.3.ebuild +++ b/dev-libs/libinput/libinput-1.11.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" LICENSE="MIT" SLOT="0/10" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="doc input_devices_wacom test" +IUSE="doc input_devices_wacom" # Tests require write access to udev rules directory which is a no-no for live system. # Other tests are just about logs, exported symbols and autotest of the test library. RESTRICT="test" @@ -39,9 +39,9 @@ src_configure() { # gui can be built but will not be installed local emesonargs=( -Ddebug-gui=false - -Ddocumentation="$(usex doc true false)" - -Dlibwacom="$(usex input_devices_wacom true false)" - -Dtests="$(usex test true false)" + $(meson_use doc documentation) + $(meson_use input_devices_wacom libwacom) + -Dtests=false # tests are restricted -Dudev-dir="$(get_udevdir)" ) meson_src_configure @@ -53,7 +53,6 @@ src_install() { docinto html dodoc -r "${BUILD_DIR}"/html/. fi - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die } pkg_postinst() { |