Date: Tue, 15 Nov 2022 13:13:35 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 267784] devel/evdev-proto: provide pkg-config support Message-ID: <bug-267784-7141-oqCCtYboUZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267784-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-267784-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody) <x11@FreeBSD.org> for maintainer-feedback: Bug 267784: devel/evdev-proto: provide pkg-config support https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267784 --- Description --- Projects outside of ports/ would like to support FreeBSD evdev (mainly via Wayland) without hardcoding -I/usr/local/include in build glue or CI config. pkg-config would cover Meson + autotools and maybe CMake. Currently, this is worked around via USES=3Dlocalbase in ports/. Example: $ cat foo.c #include <linux/input-event-codes.h> #include <stdio.h> int main() { printf("<F1> evdev code: %d\n", KEY_F1); return 0; } $ cat meson.build project('foo', 'c') evdev_proto =3D dependency('evdev-proto', required: false) # DragonFly, Fre= eBSD executable('foo', files('foo.c'), dependencies: evdev_proto)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267784-7141-oqCCtYboUZ>