Annotation of pkgsrc/x11/gtk4/Makefile, revision 1.33

1.33    ! gdt         1: # $NetBSD: Makefile,v 1.32 2023/10/06 11:50:35 adam Exp $
1.1       ryoon       2: 
1.32      adam        3: DISTNAME=      gtk-4.12.3
1.1       ryoon       4: PKGNAME=       ${DISTNAME:S/gtk/gtk4/}
1.33    ! gdt         5: PKGREVISION=   1
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.18      nros       31: # ffmpeg backend is disabled by default
                     32: MESON_ARGS+=           -Dmedia-ffmpeg=enabled
1.13      wiz        33: 
                     34: PKGCONFIG_OVERRIDE+=   output/meson-private/gtk4.pc
                     35: PKGCONFIG_OVERRIDE+=   output/meson-private/gtk4-x11.pc
                     36: PKGCONFIG_OVERRIDE+=   output/meson-private/gtk4-unix-print.pc
1.1       ryoon      37: 
1.13      wiz        38: PKGCONFIG_OVERRIDE_STAGE=      post-configure
1.1       ryoon      39: 
1.21      jperkin    40: BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--export-dynamic
                     41: 
1.1       ryoon      42: PLIST_VARS+=           dylib no-dylib
                     43: .if ${SHLIB_TYPE} == "dylib"
                     44: PLIST.dylib=           yes
                     45: SOEXT=                 dylib
                     46: .else
                     47: PLIST.no-dylib=                yes
                     48: SOEXT=                 so
                     49: .endif
                     50: PLIST_SUBST+=          SOEXT=${SOEXT}
                     51: PRINT_PLIST_AWK+=      { gsub(/\.${SOEXT}/, ".$${SOEXT}") }
                     52: 
                     53: .include "../../devel/glib2/buildlink3.mk"
1.14      wiz        54: .include "../../devel/glib2/schemas.mk"
1.1       ryoon      55: .include "../../devel/gobject-introspection/buildlink3.mk"
                     56: .include "../../devel/libexecinfo/buildlink3.mk"
1.8       wiz        57: BUILDLINK_API_DEPENDS.pango+=  pango>=1.47.0
1.1       ryoon      58: .include "../../devel/pango/buildlink3.mk"
                     59: .include "../../graphics/cairo/buildlink3.mk"
                     60: .include "../../graphics/cairo-gobject/buildlink3.mk"
                     61: .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
                     62: .include "../../graphics/graphene/buildlink3.mk"
                     63: .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
                     64: .include "../../graphics/libepoxy/buildlink3.mk"
                     65: # librsvg is required by a demo only.
                     66: #.include "../../graphics/librsvg/buildlink3.mk"
1.13      wiz        67: .include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
1.27      wiz        68: # does not support ffmpeg6 yet
                     69: # https://gitlab.gnome.org/GNOME/gtk/-/issues/5581
1.18      nros       70: .include "../../multimedia/ffmpeg5/buildlink3.mk"
1.1       ryoon      71: .include "../../textproc/iso-codes/buildlink3.mk"
                     72: .include "../../devel/meson/build.mk"
                     73: .include "../../lang/python/tool.mk"
                     74: .include "../../mk/bsd.pkg.mk"

CVSweb <[email protected]>