Changeset View
Changeset View
Standalone View
Standalone View
x11-toolkits/gtk40/Makefile
- This file was added.
PORTNAME= gtk | |||||
PORTVERSION= 4.2.0 | |||||
CATEGORIES= x11-toolkits | |||||
MASTER_SITES= GNOME | |||||
PKGNAMESUFFIX= 4 | |||||
DIST_SUBDIR= gnome | |||||
MAINTAINER= desktop@FreeBSD.org | |||||
COMMENT= Gimp Toolkit for X11 GUI (current stable version) | |||||
LICENSE= LGPL20 | |||||
PORTSCOUT= limit:1,even | |||||
BUILD_DEPENDS= sassc>0:textproc/sassc | |||||
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ | |||||
libfribidi.so:converters/fribidi \ | |||||
libfontconfig.so:x11-fonts/fontconfig \ | |||||
libfreetype.so:print/freetype2 \ | |||||
libgraphene-1.0.so:graphics/graphene \ | |||||
libharfbuzz.so:print/harfbuzz | |||||
RUN_DEPENDS+= hicolor-icon-theme>=0:misc/hicolor-icon-theme \ | |||||
adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme | |||||
tcberner: ^ why `+=` | |||||
USE_PERL5= build | |||||
BINARY_ALIAS= python3=${PYTHON_VERSION} | |||||
USE_GNOME= atk cairo gdkpixbuf2 introspection:build pango \ | |||||
Done Inline Actions^ ${PYTHON_CMD} would be better, at least for the reader :) tcberner: ^ `${PYTHON_CMD}` would be better, at least for the reader :) | |||||
librsvg2:run | |||||
USES= compiler:c11 gettext gnome localbase meson ninja \ | |||||
pathfix perl5 python:3.7+ pkgconfig tar:bzip2 | |||||
Done Inline Actionsorder is wrong: USES should come before every USE_FOO -- see the chapter tcberner: order is wrong: `USES` should come before every `USE_FOO` -- see the chapter
https://docs. | |||||
LDFLAGS= -lexecinfo | |||||
Done Inline Actions^ this should be fixed in code and upstreamed tcberner: ^ this should be fixed in code and upstreamed | |||||
LIBVERSION= 0.2404.23 | |||||
PLIST_SUB+= LIBVERSION=${LIBVERSION} | |||||
GLIB_SCHEMAS= org.gtk.Demo4.gschema.xml \ | |||||
org.gtk.gtk4.Settings.ColorChooser.gschema.xml \ | |||||
org.gtk.gtk4.Settings.Debug.gschema.xml \ | |||||
org.gtk.gtk4.Settings.EmojiChooser.gschema.xml \ | |||||
org.gtk.gtk4.Settings.FileChooser.gschema.xml | |||||
OPTIONS_DEFINE= CUPS CLOUDPRINT COLORD DEBUG BROADWAY FFMPEG \ | |||||
GSTREAMER WAYLAND X11 | |||||
OPTIONS_DEFAULT=CUPS COLORD BROADWAY WAYLAND X11 | |||||
OPTIONS_SUB= yes | |||||
BROADWAY_DESC= Enable GDK Broadway backend for showing GTK+ in the webbrowser using HTML5 and web sockets. | |||||
BROADWAY_MESON_TRUE= broadway-backend | |||||
COLORD_DESC= Color profile support | |||||
COLORD_LIB_DEPENDS= libcolord.so:graphics/colord | |||||
COLORD_MESON_ENABLED= colord | |||||
CUPS_LIB_DEPENDS= libcups.so:print/cups | |||||
CUPS_MESON_ENABLED= cups | |||||
CLOUDPRINT_DESC= Cloud printing support | |||||
CLOUDPRINT_MESON_ENABLED= cloudprint | |||||
CLOUDPRINT_USE= gnome=libxml2 | |||||
CLOUDPRINT_LIB_DEPENDS= librest-0.7.so:devel/librest \ | |||||
libsoup-2.4.so:devel/libsoup \ | |||||
libjson-glib-1.0.so:devel/json-glib | |||||
FFMPEG_DESC= FFmpeg multimedia backend | |||||
FFMPEG_MESON_ENABLED= media-ffmpeg | |||||
FFMPEG_RUN_DEPENDS= ffmpeg>0:multimedia/ffmpeg | |||||
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg | |||||
GSTREAMER_DESC= GStreamer multimedia backend | |||||
GSTREAMER_MESON_ENABLED=media-gstreamer | |||||
GSTREAMER_RUN_DEPENDS= gstreamer1>0:multimedia/gstreamer1 | |||||
GSTREAMER_LIB_DEPENDS= libgstreamer-1.0.so:multimedia/gstreamer1 | |||||
WAYLAND_DESC= GDK Wayland backend | |||||
WAYLAND_MESON_TRUE= wayland-backend | |||||
WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols | |||||
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ | |||||
libxkbcommon.so:x11/libxkbcommon | |||||
WAYLAND_RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ | |||||
wayland-protocols>=0:graphics/wayland-protocols | |||||
WAYLAND_USES= gl | |||||
WAYLAND_USE= GL=egl | |||||
X11_DESC= GDK X11 backend | |||||
X11_MESON_TRUE= x11-backend | |||||
X11_USES= xorg | |||||
X11_USE= XORG=x11,xcomposite,xcursor,xdamage,xext,xfixes,xi,xinerama,xrandr,xrender | |||||
pre-build: | |||||
@${RM} -r ${WRKSRC}/docs/gtk.info* | |||||
post-install: | |||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/modules | |||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/engines | |||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/loaders | |||||
.include <bsd.port.mk> |
^ why +=