pkgsrc/devel/libwnck3/Makefile
2021-04-12 13:00:56 +00:00

40 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.33 2021/04/12 13:00:56 nia Exp $
DISTNAME= libwnck-3.36.0
PKGNAME= ${DISTNAME:S/libwnck/libwnck3/}
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"