pkgsrc/wm/swc/Makefile
2021-12-08 16:01:42 +00:00

31 lines
930 B
Makefile

# $NetBSD: Makefile,v 1.13 2021/12/08 16:02:46 adam Exp $
DISTNAME= swc-0.0.0.20200228
PKGREVISION= 2
CATEGORIES= wm
MASTER_SITES= ${MASTER_SITE_GITHUB:=michaelforney/}
GITHUB_PROJECT= swc
GITHUB_TAG= 86b45d5701e509660650facdad4f7bef8f4f5362
MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://github.com/michaelforney/swc
COMMENT= Small Wayland compositor implemented as a library
LICENSE= mit
USE_TOOLS+= gmake pkg-config
# Needs access to input, tty, and DRM devices.
SPECIAL_PERMS+= bin/swc-launch ${SETUID_ROOT_PERMS}
# "ld: -r and -pie may not be used together"
MKPIE_SUPPORTED= no
PKGCONFIG_OVERRIDE+= swc.pc.in
BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.83
.include "../../devel/wayland/buildlink3.mk"
.include "../../devel/wayland-protocols/buildlink3.mk"
.include "../../graphics/wld/buildlink3.mk"
.include "../../x11/libdrm/buildlink3.mk"
.include "../../x11/libxkbcommon/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"