Ok aja. 
Thanks!

—
Antoine

> On Jan 14, 2024, at 22:09, Matthieu Herrb <matth...@herrb.eu> wrote:
> 
> On Sun, Jan 14, 2024 at 07:50:28PM +0100, Antoine Jacoutot wrote:
>>> On Sun, Jan 14, 2024 at 06:52:54PM +0100, Matthieu Herrb wrote:
>>> It detects libevdev.pc  and activates the build of eis_demo_server,
>>> which fails because libevdev-openbsd is not a full libevedev
>>> implementation.
>>> 
>>> No REVISION bump as the package doesn't change if it builds.
>>> 
>>> ok ?
>> 
>> Maybe replacing dep_libevdev with:
>> dep_libevdev = []
>> in meson.build is enough?
>> 
> 
> dep_libevdev needs to provide a found() method. So
> that's the best alternative I could come with:
> 
> Index: patches/patch-meson_build
> ===================================================================
> RCS file: patches/patch-meson_build
> diff -N patches/patch-meson_build
> --- /dev/null    1 Jan 1970 00:00:00 -0000
> +++ patches/patch-meson_build    14 Jan 2024 21:07:10 -0000
> @@ -0,0 +1,14 @@
> +Hide libevdev-openbsd from build
> +
> +Index: meson.build
> +--- meson.build.orig
> ++++ meson.build
> +@@ -77,7 +77,7 @@ dep_math = cc.find_library('m', required: false)
> + dep_epoll = dependency('epoll-shim', required: false)
> + dep_libxkbcommon = dependency('xkbcommon', required: false)
> + config_h.set10('HAVE_LIBXKBCOMMON', dep_libxkbcommon.found())
> +-dep_libevdev = dependency('libevdev', required: false)
> ++dep_libevdev = dependency('libevdev-nonexistent', required: false)
> + config_h.set10('HAVE_LIBEVDEV', dep_libevdev.found())
> +
> + if not get_option('liboeffis').disabled()
> 
> --
> Matthieu Herrb
> 

Reply via email to