git: d7e5006360ed - main - graphics/plasma6-spectacle: switch to Plasma distribution and update to 6.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Feb 2025 19:41:32 UTC
The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7e5006360edaaed442249206f1fec51018062d0 commit d7e5006360edaaed442249206f1fec51018062d0 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2025-02-20 19:38:23 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2025-02-20 19:38:23 +0000 graphics/plasma6-spectacle: switch to Plasma distribution and update to 6.3.0 While here adjust dependencies, update comment, and rename PIPEWIRE option to WAYLAND to clear its real meaning. --- graphics/plasma6-spectacle/Makefile | 39 +++++++---------- graphics/plasma6-spectacle/distinfo | 6 +-- .../files/extra-patch-pipewire-off | 2 +- graphics/plasma6-spectacle/pkg-descr | 1 - graphics/plasma6-spectacle/pkg-plist | 51 +++++++++++++++++++--- 5 files changed, 66 insertions(+), 33 deletions(-) diff --git a/graphics/plasma6-spectacle/Makefile b/graphics/plasma6-spectacle/Makefile index 712aea6c14e1..a4077862914a 100644 --- a/graphics/plasma6-spectacle/Makefile +++ b/graphics/plasma6-spectacle/Makefile @@ -1,35 +1,28 @@ PORTNAME= spectacle -DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 1 -CATEGORIES= graphics kde kde-applications +DISTVERSION= ${KDE_PLASMA_VERSION} +CATEGORIES= graphics kde kde-plasma MAINTAINER= kde@FreeBSD.org -COMMENT= KDE screen capture program -WWW= https://projects.kde.org/projects/kde/kdegraphics/spectacle +COMMENT= KDE Plasma screen capture program LIB_DEPENDS= libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-image.so:x11/xcb-util-image \ libxcb-util.so:x11/xcb-util \ - libkImageAnnotator-Qt6.so:graphics/kimageannotator@qt6 \ - libZXing.so:textproc/zxing-cpp \ - libopencv_core.so:graphics/opencv + libopencv_core.so:graphics/opencv \ + libwayland-client.so:graphics/wayland -USES= cmake compiler:c++11-lang gettext kde:6 pkgconfig qt:6 tar:xz \ - xorg -USE_KDE= attica auth codecs completion config configwidgets coreaddons \ - dbusaddons globalaccel guiaddons i18n jobwidgets kdeclarative \ - kio layer-shell-qt newstuff notifications package prison \ - purpose service solid statusnotifieritem wayland \ - widgetsaddons windowsystem xmlgui \ +USES= cmake compiler:c++20-lang gettext kde:6 localbase pkgconfig \ + qt:6 tar:xz xorg +USE_KDE= config coreaddons crash dbusaddons globalaccel guiaddons i18n \ + kio kirigami2 kpipewire layer-shell-qt notifications prison \ + purpose statusnotifieritem widgetsaddons windowsystem xmlgui \ doctools:build ecm:build plasma-wayland-protocols:build -USE_QT= base multimedia -USE_XORG= x11 xcb xext xfixes +USE_QT= base declarative multimedia wayland +USE_XORG= x11 xcb xfixes -OPTIONS_DEFINE= DOCS PIPEWIRE -OPTIONS_DEFAULT= PIPEWIRE -PIPEWIRE_DESC= Screen capture via PipeWire (required for Wayland) -PIPEWIRE_USE= KDE=kpipewire -PIPEWIRE_CMAKE_BOOL_OFF= DISABLE_PIPEWIRE -PIPEWIRE_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-pipewire-off +OPTIONS_DEFINE= WAYLAND +OPTIONS_DEFAULT= WAYLAND +WAYLAND_USE= KDE=kpipewire +WAYLAND_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-pipewire-off .include <bsd.port.mk> diff --git a/graphics/plasma6-spectacle/distinfo b/graphics/plasma6-spectacle/distinfo index 6e438a7adc6b..a150f9684e96 100644 --- a/graphics/plasma6-spectacle/distinfo +++ b/graphics/plasma6-spectacle/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738937190 -SHA256 (KDE/release-service/24.12.2/spectacle-24.12.2.tar.xz) = 7c91a5914a37bfc6a4eb34d968a60c8b2f286ba2ef1e3dce217b1295df66cd3f -SIZE (KDE/release-service/24.12.2/spectacle-24.12.2.tar.xz) = 1562304 +TIMESTAMP = 1739484426 +SHA256 (KDE/plasma/6.3.0/spectacle-6.3.0.tar.xz) = be80abbc1e80bc4493711089580a905848499608a2497be3d7eb81cbbf876099 +SIZE (KDE/plasma/6.3.0/spectacle-6.3.0.tar.xz) = 1561288 diff --git a/graphics/plasma6-spectacle/files/extra-patch-pipewire-off b/graphics/plasma6-spectacle/files/extra-patch-pipewire-off index 4858ec011602..7c21c8d198e8 100644 --- a/graphics/plasma6-spectacle/files/extra-patch-pipewire-off +++ b/graphics/plasma6-spectacle/files/extra-patch-pipewire-off @@ -5,7 +5,7 @@ find_package(PlasmaWaylandProtocols REQUIRED) find_package(LayerShellQt REQUIRED) -find_package(KPipeWire) -+option(DISABLE_PIPEWIRE "Disable PipeWire support." OFF) ++option(DISABLE_PIPEWIRE "Disable PipeWire support." ON) +if(NOT DISABLE_PIPEWIRE) + find_package(KPipeWire REQUIRED) + set(PIPEWIRE_FOUND 1) diff --git a/graphics/plasma6-spectacle/pkg-descr b/graphics/plasma6-spectacle/pkg-descr deleted file mode 100644 index b9438708d8db..000000000000 --- a/graphics/plasma6-spectacle/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -The new screenshot capture utility, replaces KSnapshot diff --git a/graphics/plasma6-spectacle/pkg-plist b/graphics/plasma6-spectacle/pkg-plist index c3dd8927c372..8e8052954dca 100644 --- a/graphics/plasma6-spectacle/pkg-plist +++ b/graphics/plasma6-spectacle/pkg-plist @@ -1,14 +1,55 @@ bin/spectacle -lib/kconf_update_bin/spectacle-%%KDE_APPLICATIONS_VERSION_SHORT%%.02.0-change_placeholder_format -lib/kconf_update_bin/spectacle-%%KDE_APPLICATIONS_VERSION_SHORT%%.02.0-keep_old_filename_templates -lib/kconf_update_bin/spectacle-%%KDE_APPLICATIONS_VERSION_SHORT%%.02.0-keep_old_save_location -lib/kconf_update_bin/spectacle-%%KDE_APPLICATIONS_VERSION_SHORT%%.02.0-rename_settings -lib/kconf_update_bin/spectacle-%%KDE_APPLICATIONS_VERSION_SHORT%%.02.0-video_format +lib/kconf_update_bin/spectacle-24.02.0-change_placeholder_format +lib/kconf_update_bin/spectacle-24.02.0-keep_old_filename_templates +lib/kconf_update_bin/spectacle-24.02.0-keep_old_save_location +lib/kconf_update_bin/spectacle-24.02.0-rename_settings +lib/kconf_update_bin/spectacle-24.02.0-video_format lib/systemd/user/app-org.kde.spectacle.service share/applications/org.kde.spectacle.desktop share/dbus-1/interfaces/org.kde.Spectacle.xml share/dbus-1/services/org.kde.Spectacle.service share/dbus-1/services/org.kde.spectacle.service +share/doc/HTML/ca/spectacle/Annotate.png +share/doc/HTML/ca/spectacle/ApplicationPreferences.png +share/doc/HTML/ca/spectacle/MainWindow.png +share/doc/HTML/ca/spectacle/SaveOptions.png +share/doc/HTML/ca/spectacle/index.cache.bz2 +share/doc/HTML/ca/spectacle/index.docbook +share/doc/HTML/de/spectacle/index.cache.bz2 +share/doc/HTML/de/spectacle/index.docbook +share/doc/HTML/en/spectacle/Annotate.png +share/doc/HTML/en/spectacle/ApplicationPreferences.png +share/doc/HTML/en/spectacle/MainWindow.png +share/doc/HTML/en/spectacle/SaveOptions.png +share/doc/HTML/en/spectacle/index.cache.bz2 +share/doc/HTML/en/spectacle/index.docbook +share/doc/HTML/es/spectacle/index.cache.bz2 +share/doc/HTML/es/spectacle/index.docbook +share/doc/HTML/it/spectacle/ApplicationPreferences.png +share/doc/HTML/it/spectacle/MainWindow.png +share/doc/HTML/it/spectacle/SaveOptions.png +share/doc/HTML/it/spectacle/index.cache.bz2 +share/doc/HTML/it/spectacle/index.docbook +share/doc/HTML/nl/spectacle/index.cache.bz2 +share/doc/HTML/nl/spectacle/index.docbook +share/doc/HTML/pt/spectacle/index.cache.bz2 +share/doc/HTML/pt/spectacle/index.docbook +share/doc/HTML/pt_BR/spectacle/index.cache.bz2 +share/doc/HTML/pt_BR/spectacle/index.docbook +share/doc/HTML/ru/spectacle/index.cache.bz2 +share/doc/HTML/ru/spectacle/index.docbook +share/doc/HTML/sl/spectacle/index.cache.bz2 +share/doc/HTML/sl/spectacle/index.docbook +share/doc/HTML/sv/spectacle/index.cache.bz2 +share/doc/HTML/sv/spectacle/index.docbook +share/doc/HTML/tr/spectacle/index.cache.bz2 +share/doc/HTML/tr/spectacle/index.docbook +share/doc/HTML/uk/spectacle/Annotate.png +share/doc/HTML/uk/spectacle/ApplicationPreferences.png +share/doc/HTML/uk/spectacle/MainWindow.png +share/doc/HTML/uk/spectacle/SaveOptions.png +share/doc/HTML/uk/spectacle/index.cache.bz2 +share/doc/HTML/uk/spectacle/index.docbook share/icons/hicolor/scalable/apps/spectacle.svg share/kconf_update/spectacle.upd share/kglobalaccel/org.kde.spectacle.desktop