Bug 101693 - meson: libwacom cannot be disabled
Summary: meson: libwacom cannot be disabled
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-04 12:56 UTC by userwithuid
Modified: 2017-07-05 01:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Allow building without libwacom (305 bytes, patch)
2017-07-04 12:56 UTC, userwithuid
Details | Splinter Review

Description userwithuid 2017-07-04 12:56:32 UTC
Created attachment 132425 [details] [review]
Allow building without libwacom

Using meson -Dlibwacom=false doesn't work because the later referenced dep_libwacom is not defined.

Trivial fix is to just init a dummy in that case, e.g.

dep_libwacom = declare_dependency()

or

dep_libwacom = []
Comment 1 Peter Hutterer 2017-07-05 01:14:04 UTC
fixed, thanks!

commit c6e0c96e74ce5c54b707d6f4a361620fd179f2aa
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Jul 5 09:30:59 2017 +1000

    meson: fix build with --libwacom=false


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.