Annotation of pkgsrc/x11/gtk4/Makefile, revision 1.47
1.47 ! adam 1: # $NetBSD: Makefile,v 1.46 2024/05/16 06:15:45 wiz Exp $
1.1 ryoon 2:
1.45 adam 3: DISTNAME= gtk-4.14.4
1.1 ryoon 4: PKGNAME= ${DISTNAME:S/gtk/gtk4/}
1.47 ! adam 5: PKGREVISION= 2
1.1 ryoon 6: CATEGORIES= x11
1.8 wiz 7: MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk/${PKGVERSION_NOREV:R}/}
1.1 ryoon 8: EXTRACT_SUFX= .tar.xz
9:
10: MAINTAINER= [email protected]
11: HOMEPAGE= https://www.gtk.org/
1.2 nia 12: COMMENT= Multi-platform toolkit for creating GUIs, version 4
1.1 ryoon 13: LICENSE= gnu-lgpl-v2.1
14:
1.13 wiz 15: # TEST_DEPENDS, but meson fails if it's not found
16: TOOL_DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
17: # TODO: add more python dependencies?
18: # gi-docgen| subprojects/gi-docgen/meson.build:10:0: Exception: python3 is missing modules: jinja2, markdown, markupsafe, pygments, toml, typogrify
19:
1.1 ryoon 20: PYTHON_VERSIONS_INCOMPATIBLE= 27
21:
22: .include "options.mk"
23:
1.19 adam 24: USE_TOOLS+= gdbus-codegen msgfmt msgmerge pkg-config xgettext
25: USE_LANGUAGES= c c++
1.1 ryoon 26:
1.22 adam 27: MESON_REQD+= 0.60.0
1.28 adam 28: MESON_ARGS+= -Dintrospection=enabled
1.13 wiz 29: # needs gstreamer-gl
30: MESON_ARGS+= -Dmedia-gstreamer=disabled
1.43 adam 31: MESON_ARGS+= -Dvulkan=disabled
1.13 wiz 32:
33: PKGCONFIG_OVERRIDE+= output/meson-private/gtk4.pc
34: PKGCONFIG_OVERRIDE+= output/meson-private/gtk4-x11.pc
35: PKGCONFIG_OVERRIDE+= output/meson-private/gtk4-unix-print.pc
1.1 ryoon 36:
1.13 wiz 37: PKGCONFIG_OVERRIDE_STAGE= post-configure
1.1 ryoon 38:
1.21 jperkin 39: BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
40:
1.1 ryoon 41: .include "../../devel/glib2/buildlink3.mk"
1.14 wiz 42: .include "../../devel/glib2/schemas.mk"
1.1 ryoon 43: .include "../../devel/gobject-introspection/buildlink3.mk"
44: .include "../../devel/libexecinfo/buildlink3.mk"
1.43 adam 45: .include "../../devel/meson/build.mk"
1.8 wiz 46: BUILDLINK_API_DEPENDS.pango+= pango>=1.47.0
1.1 ryoon 47: .include "../../devel/pango/buildlink3.mk"
1.37 wiz 48: BUILDLINK_API_DEPENDS.cairo+= cairo>=1.18
1.1 ryoon 49: .include "../../graphics/cairo/buildlink3.mk"
50: .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
51: .include "../../graphics/graphene/buildlink3.mk"
52: .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
53: .include "../../graphics/libepoxy/buildlink3.mk"
54: # librsvg is required by a demo only.
55: #.include "../../graphics/librsvg/buildlink3.mk"
1.13 wiz 56: .include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
1.1 ryoon 57: .include "../../textproc/iso-codes/buildlink3.mk"
58: .include "../../lang/python/tool.mk"
59: .include "../../mk/bsd.pkg.mk"
CVSweb <[email protected]>