diff --git a/x11-toolkits/aquamarine/Makefile b/x11-toolkits/aquamarine/Makefile index 0e079b7f3620..111e5115728c 100644 --- a/x11-toolkits/aquamarine/Makefile +++ b/x11-toolkits/aquamarine/Makefile @@ -1,40 +1,40 @@ PORTNAME= aquamarine DISTVERSIONPREFIX= v DISTVERSION= 0.8.0 PORTREVISION= 2 CATEGORIES= x11-toolkits MAINTAINER= ports@FreeBSD.org COMMENT= Very light linux rendering backend library WWW= https://github.com/hyprwm/aquamarine LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \ wayland-protocols>0:graphics/wayland-protocols \ hwdata>0:misc/hwdata LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ libudev.so:devel/libudev-devd \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri USES= cmake:testing compiler:c++11-lib gl pathfix pkgconfig xorg USE_GITHUB= yes USE_GL= egl gbm glesv2 USE_XORG= pixman GH_ACCOUNT= hyprwm PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} -# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 +# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif .include diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile index 870fcacbcecf..3f137265fb3f 100644 --- a/x11-wm/hyprland/Makefile +++ b/x11-wm/hyprland/Makefile @@ -1,111 +1,111 @@ PORTNAME= hyprland DISTVERSIONPREFIX= v DISTVERSION= 0.48.1 PORTREVISION= 3 CATEGORIES= x11-wm wayland MAINTAINER= ports@FreeBSD.org COMMENT= Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #' WWW= https://hyprland.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ glaze>0:devel/glaze \ hyprwayland-scanner>=0.3.10:devel/hyprwayland-scanner \ wayland-protocols>=1.41:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libinotify.so:devel/libinotify \ libre2.so:devel/re2 \ libtomlplusplus.so:devel/tomlplusplus \ libhyprgraphics.so:graphics/hyprgraphics \ libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libuuid.so:misc/libuuid \ libaquamarine.so:x11-toolkits/aquamarine \ libhyprcursor.so:x11/hyprcursor \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++11-lib gl gnome pkgconfig xorg USE_GITHUB= yes USE_GL= egl gbm opengl USE_GNOME= cairo pango USE_XORG= pixman xcursor GH_ACCOUNT= hyprwm GH_PROJECT= Hyprland GH_TUPLE= hyprwm:hyprland-protocols:v0.6.2:hyprland_protocols/subprojects/hyprland-protocols \ canihavesomecoffee:udis86:1.7.2-186-g5336633:udis86/subprojects/udis86 CMAKE_OFF= CMAKE_CXX_SCAN_FOR_MODULES # avoid devel/llvm* CMAKE_ON= NO_SYSTEMD LDFLAGS+= -Wl,--as-needed # GL, pango deps # Generated by "make update-hash" for commit_pins in hyprpm.toml GH_HASH= 29e2e59fdbab8ed2cc23a20e3c6043d5decb5cdc -# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 +# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif OPTIONS_DEFINE= QT6 X11 OPTIONS_DEFAULT=QT6 X11 QT6_RUN_DEPENDS= hyprland-dialog:x11/hyprland-qtutils X11_USE= XORG=xcb X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-icccm.so:x11/xcb-util-wm X11_CMAKE_BOOL_OFF= NO_XWAYLAND post-patch: # Extract (snapshot) version from the port instead of CMakeLists.txt @${REINPLACE_CMD} -i .nogit \ -e '/^HASH/s/=.*/=${GH_HASH}/' \ -e '/^BRANCH/s/=.*/=main/' \ -e '/^MESSAGE/s/=.*/="?"/' \ -e "/^DATE/s/=.*/=\"$$(date -ur $$(${AWK} \ '/TIMESTAMP/ { print $$3 }' ${DISTINFO_FILE}))\"/" \ -e '/^DIRTY/s/=.*/=portbld/' \ -e '/^TAG/s/=.*/=${DISTVERSIONFULL}/' \ -e '/^COMMITS/s/=.*/="?"/' \ ${WRKSRC}/scripts/generateVersion.sh # Respect consolekit2 as XDG_RUNTIME_DIR fallback @${REINPLACE_CMD} 's,/run/user,/var&,' \ ${WRKSRC}/hyprctl/main.cpp \ ${WRKSRC}/src/Compositor.cpp # Respect PREFIX for wallpapers @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/render/OpenGL.cpp # XXX Replace linprocfs(4) with sysctl(3) @${REINPLACE_CMD} -e 's,/proc,${LINUXBASE}&,g' \ ${WRKSRC}/src/desktop/Window.cpp \ ${WRKSRC}/src/plugins/HookSystem.cpp post-install: # Plugin API installs all headers (no private vs. public) @(cd ${STAGEDIR}${PREFIX} && ${FIND} include/${PORTNAME} ! -type d) >>${TMPPLIST} update-hash: # https://docs.github.com/en/rest/commits/commits#get-a-commit # Pretend to be curl(1) for pretty-printed JSON to help parse with sed(1) @${REINPLACE_CMD} -i '' -e "/^GH_HASH=/s/=.*/= $$(\ ${SETENV} HTTP_USER_AGENT=curl ${FETCH_CMD} -qo- \ https://api.github.com/repos/${GH_ACCOUNT}/${GH_PROJECT}/commits/${GH_TAGNAME} | \ ${SED} -n '/sha/ { s/.*\"\([0-9a-f]\{40\}\).*/\1/p; q; }' \ )/" \ ${.CURDIR}/Makefile .include # XXX COMPILER_TYPE is defined after USES was already parsed .if "${CHOSEN_COMPILER_TYPE}-${_OSRELEASE:C/.*-//}" == "clang-CURRENT" llvm_ARGS= build .include "${USESDIR}/llvm.mk" .endif # XXX Work around !target(makesum) makesum: update-hash diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile index 70f297c194b6..01dc99c137ba 100644 --- a/x11/swayimg/Makefile +++ b/x11/swayimg/Makefile @@ -1,112 +1,112 @@ PORTNAME= swayimg DISTVERSIONPREFIX= v DISTVERSION= 4.3 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Image viewer for Sway/Wayland WWW= https://github.com/artemsen/swayimg LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.35:graphics/wayland-protocols LIB_DEPENDS= libinotify.so:devel/libinotify \ libwayland-client.so:graphics/wayland \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon.so:x11/libxkbcommon TEST_DEPENDS= googletest>0:devel/googletest USES= meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= artemsen MESON_ARGS= -Dversion="${DISTVERSIONFULL}" PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ share/man/man5/${PORTNAME}rc.5.gz \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/64x64/apps/${PORTNAME}.png \ share/icons/hicolor/128x128/apps/${PORTNAME}.png \ share/icons/hicolor/256x256/apps/${PORTNAME}.png \ ${DATADIR}/${PORTNAME}rc \ ${NULL} -# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 +# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif OPTIONS_DEFINE= AVIF BASH GIF HEIF JPEG JSON JXL LIBEXIF LIBRSVG2 \ OPENEXR PNG RAW SIXEL TIFF WEBP ZSH OPTIONS_DEFAULT=AVIF BASH GIF HEIF JPEG JSON JXL LIBEXIF LIBRSVG2 \ OPENEXR PNG RAW SIXEL TIFF WEBP ZSH OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/} AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_MESON_ENABLED= avif BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion BASH_MESON_ENABLED= bash BASH_PLIST_FILES= share/bash-completion/completions/${PORTNAME} GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_MESON_ENABLED= gif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= heif JPEG_USES= jpeg JPEG_MESON_ENABLED= jpeg JSON_LIB_DEPENDS= libjson-c.so:devel/json-c JSON_MESON_ENABLED= compositor JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_ENABLED= jxl LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_MESON_ENABLED= exif LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=cairo,librsvg2 LIBRSVG2_MESON_ENABLED= svg OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_MESON_ENABLED= exr PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= png RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= raw SIXEL_DESC= Sixel graphics support SIXEL_LIB_DEPENDS= libsixel.so:graphics/libsixel SIXEL_MESON_ENABLED= sixel TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= tiff WEBP_LIB_DEPENDS= libwebpdemux.so:graphics/webp WEBP_MESON_ENABLED= webp ZSH_MESON_ENABLED= zsh ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME} post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/extra/${PORTNAME}rc \ ${WRKSRC}/extra/${PORTNAME}rc.5 \ ${WRKSRC}/src/config.c pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=enabled"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/x11/wmenu/Makefile b/x11/wmenu/Makefile index b5981638437f..ae10b0395978 100644 --- a/x11/wmenu/Makefile +++ b/x11/wmenu/Makefile @@ -1,35 +1,35 @@ PORTNAME= wmenu DISTVERSION= 0.1.9 CATEGORIES= x11 wayland MASTER_SITES= https://codeberg.org/adnano/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= o.hushchenkov@gmail.com COMMENT= Efficient dynamic menu for Wayland WWW= https://codeberg.org/adnano/wmenu/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= scdoc:textproc/scdoc \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig USE_GNOME= cairo pango -# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 +# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim CPPFLAGS+= `pkg-config --cflags epoll-shim` LDFLAGS+= `pkg-config --libs epoll-shim` .endif WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/wmenu \ bin/wmenu-run \ share/man/man1/wmenu.1.gz .include diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile index db96e49cef79..0c5e675af706 100644 --- a/x11/xdg-desktop-portal-wlr/Makefile +++ b/x11/xdg-desktop-portal-wlr/Makefile @@ -1,52 +1,52 @@ PORTNAME= xdg-desktop-portal-wlr DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 32b009a12aa5.patch:-p1 # https://github.com/emersion/xdg-desktop-portal-wlr/pull/308 MAINTAINER= jbeich@FreeBSD.org COMMENT= xdg-desktop-portal backend for wlroots WWW= https://github.com/emersion/xdg-desktop-portal-wlr LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.24:graphics/wayland-protocols LIB_DEPENDS= libbasu.so:devel/basu \ libinih.so:devel/inih \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libpipewire-0.3.so:multimedia/pipewire RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ grim:x11/grim \ slurp:x11/slurp USES= compiler:c11 gl meson pkgconfig USE_GITHUB= yes USE_GL= gbm GH_ACCOUNT= emersion MESON_ARGS= -Dsd-bus-provider=basu -Dsystemd=disabled PLIST_FILES= libexec/${PORTNAME} \ share/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service \ share/xdg-desktop-portal/portals/wlr.portal -# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 +# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man5/${PORTNAME}.5.gz post-patch: @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/${PORTNAME}.5.scd .include