diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile index 728d6c2479b2..e962d0bdebac 100644 --- a/x11-wm/hyprland/Makefile +++ b/x11-wm/hyprland/Makefile @@ -1,95 +1,95 @@ PORTNAME= hyprland DISTVERSIONPREFIX= v DISTVERSION= 0.51.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm wayland MASTER_SITES= https://github.com/hyprwm/Hyprland/releases/download/${DISTVERSIONFULL}/ DISTNAME= source-${DISTVERSIONFULL} DIST_SUBDIR= ${PORTNAME} MAINTAINER= tagattie@FreeBSD.org COMMENT= Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #' WWW= https://hypr.land/ 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.45: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++23-lang gl gnome pkgconfig xorg USE_GL= egl gbm opengl USE_GNOME= cairo glib20 pango USE_XORG= pixman xcursor CMAKE_ON= NO_SYSTEMD CMAKE_OFF= CMAKE_CXX_SCAN_FOR_MODULES # avoid devel/llvm* LDFLAGS+= -Wl,--as-needed # GL, pango deps WRKSRC= ${WRKDIR}/${PORTNAME}-source # 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_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-icccm.so:x11/xcb-util-wm X11_USE= XORG=xcb X11_CMAKE_BOOL_OFF= NO_XWAYLAND .include post-patch: # Respect consolekit2 as XDG_RUNTIME_DIR fallback @${REINPLACE_CMD} 's|/run/user|/var&|' \ ${WRKSRC}/hyprctl/main.cpp \ ${WRKSRC}/hyprpm/src/core/HyprlandSocket.cpp \ ${WRKSRC}/hyprtester/src/hyprctlCompat.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/debug/HyprCtl.cpp \ ${WRKSRC}/src/debug/CrashReporter.cpp \ ${WRKSRC}/src/helpers/MiscFunctions.cpp \ ${WRKSRC}/src/plugins/HookSystem.cpp \ ${WRKSRC}/src/plugins/PluginAPI.cpp post-install: @${RM} ${STAGEDIR}${PREFIX}/bin/hyprland @${RLN} ${STAGEDIR}${PREFIX}/bin/Hyprland ${STAGEDIR}${PREFIX}/bin/hyprland .include # XXX COMPILER_TYPE is defined after USES was already parsed .if ${CHOSEN_COMPILER_TYPE} == clang && ${_CCVERSION:M+assertions} llvm_ARGS= build .include "${USESDIR}/llvm.mk" .endif diff --git a/x11/hyprlock/Makefile b/x11/hyprlock/Makefile index 8e2ee31d168d..8de5070af7e4 100644 --- a/x11/hyprlock/Makefile +++ b/x11/hyprlock/Makefile @@ -1,52 +1,52 @@ PORTNAME= hyprlock DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 wayland MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland's GPU-accelerated screen locking utility #' WWW= https://github.com/hyprwm/hyprlock LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ hyprwayland-scanner>=0.4.4:devel/hyprwayland-scanner \ wayland-protocols>=1.35:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libsdbus-c++.so:devel/sdbus-cpp \ libhyprgraphics.so:graphics/hyprgraphics \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper USES= cmake compiler:c++11-lib gl gnome jpeg pkgconfig USE_GITHUB= yes GH_ACCOUNT= hyprwm USE_GL= egl gbm USE_GNOME= cairo pango LDFLAGS+= -Wl,--as-needed # pango deps PLIST_FILES= bin/${PORTNAME} \ etc/pam.d/${PORTNAME} \ share/hypr/${PORTNAME}.conf # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282377 .if exists(/usr/lib/libc++.so) LIB_DEPENDS+= libdate-tz.so:devel/date USES+= localbase:ldflags post-patch: libcxx-post-patch libcxx-post-patch: @${REINPLACE_CMD} '/_LIBCPP_VERSION/s/$$/ || defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE)/' \ ${WRKSRC}/src/renderer/widgets/IWidget.cpp .endif .include diff --git a/x11/hyprpaper/Makefile b/x11/hyprpaper/Makefile index f825fb810343..9e3806eb6b1d 100644 --- a/x11/hyprpaper/Makefile +++ b/x11/hyprpaper/Makefile @@ -1,47 +1,47 @@ PORTNAME= hyprpaper DISTVERSIONPREFIX= v DISTVERSION= 0.7.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 wayland MAINTAINER= tagattie@FreeBSD.org COMMENT= Blazing fast Wayland wallpaper utility with IPC controls WWW= https://github.com/hyprwm/hyprpaper LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libhyprgraphics.so:graphics/hyprgraphics \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp USES= compiler:c++11-lib cmake gnome jpeg localbase:ldflags pkgconfig USE_GNOME= cairo USE_GITHUB= yes GH_ACCOUNT= hyprwm PLIST_FILES= bin/${PORTNAME} post-patch: # Extract (snapshot) version from the port instead of Git @${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^include/{//p;d;}' \ -e 's/$${GIT_BRANCH}/main/' \ -e 's/$${GIT_COMMIT_HASH}/${GH_TAGNAME}/' \ -e 's/$${GIT_COMMIT_MESSAGE}/?/' \ -e 's/$${GIT_DIRTY}/portbld/' \ ${WRKSRC}/CMakeLists.txt # Drop unused dependencies @${REINPLACE_CMD} -e '/pango/d' \ -e '/OpenGL/d; /GLESv2/d' \ -e '/ rt)/d' \ -e '/install.*systemd/d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} '/GLES3/d' ${WRKSRC}/src/includes.hpp # Respect consolekit2 as XDG_RUNTIME_DIR fallback @${REINPLACE_CMD} 's,/run/user,/var&,' \ ${WRKSRC}/src/ipc/Socket.cpp .include