@nia
Trying to build grim
(wayland screenshot tool)
Here's the current Makefile
:
# $NetBSD$
GITHUB_PROJECT= grim
GITHUB_TAG= v1.2.0
DISTNAME= v1.2.0
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=emersion/}
DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= voidpin@protonmail.com
HOMEPAGE= https://github.com/emersion/grim/
COMMENT= Grab images from a Wayland compositor
LICENSE= mit
USE_TOOLS= pkg-config
USE_LANGUAGES= c
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
do-configure:
cd ${WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} \
${PREFIX}/bin/meson --prefix=/usr . build && \
${PREFIX}/bin/ninja -C build PREFIX=${PREFIX}
TOOL_DEPENDS+= meson-[0-9]*:../../devel/meson
.include "../../graphics/cairo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
and here's the error I'm getting,
...
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/pkgsrc/wip/grim/work/.tools/bin/pkg-config (1.6.0)
Run-time dependency cairo found: YES 1.16.0
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libjpeg found: NO (tried pkgconfig and cmake)
Library m found: YES
Library rt found: YES
Run-time dependency wayland-client found: NO (tried pkgconfig)
meson.build:24:0: ERROR: Dependency "wayland-client" not found, tried pkgconfig
A full log can be found at /usr/pkgsrc/wip/grim/work/grim-1.2.0/build/meson-logs/meson-log.txt
...
Do you happen to know where I can find wayland-client
?
I've noticed this line PKGCONFIG_OVERRIDE+= src/wayland-client.pc.in
in your wayland
package 😉
Any hints?!