# $NetBSD: Makefile,v 1.35 2022/08/11 05:08:12 gutteridge Exp $ DISTNAME= libwnck-3.36.0 PKGNAME= ${DISTNAME:S/libwnck/libwnck3/} PKGREVISION= 2 CATEGORIES= devel x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libwnck/${PKGVERSION_NOREV:R}/} EXTRACT_SUFX= .tar.xz MAINTAINER= prlw1@cam.ac.uk HOMEPAGE= https://www.gnome.org/ COMMENT= Library to write pagers and tasklists LICENSE= gnu-lgpl-v2 USE_TOOLS+= pkg-config xgettext # wnckutils conflict with devel/libwnck, but also probably aren't used MESON_ARGS+= -Dinstall_tools=false # Remove unsupported linker arguments. # Apply removals to post-wrapper transformed arguments. BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,--version-script BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,${WRKSRC}/libwnck/libwnck-3.map BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,${WRKSRC}/libwnck/libwnck-3.map PKGCONFIG_OVERRIDE_STAGE= pre-install PKGCONFIG_OVERRIDE= output/libwnck-3.0.pc PYTHON_FOR_BUILD_ONLY= tool .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/gobject-introspection/buildlink3.mk" .include "../../devel/meson/build.mk" .include "../../x11/startup-notification/buildlink3.mk" BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.22.0 .include "../../x11/gtk3/buildlink3.mk" .include "../../x11/libXres/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk"