321.2. haruna-1.8.1
Haruna: a Qt 6 and Kirigami video player over libmpv
1.8.1-1 · GPL-3.0-or-later · 3.5 SBU · 6.7 MiB, 22 files · 44_apps, 401 of 422 · ports/core/video-players/haruna
Homepage: https://haruna.kde.org/
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtshadertools, qt6-qt5compat, qt6-qtwayland, mpvqt, mpv, yt-dlp, ffmpeg, kcolorscheme, kconfig, kcoreaddons, kfilemetadata, ki18n, kiconthemes, kio, kirigami, kwindowsystem, kcrash, kdeclarative, kitemmodels, kdsingleapplication, breeze, qqc2-desktop-style.
Required by: no port names it.
Sources: haruna-1.8.1.tar.xz (866.0 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install haruna'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
cat > "$PKG/usr/share/applications/org.kde.haruna.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=Haruna
GenericName=Video Player
Comment=Play video and audio files
Exec=haruna %U
Icon=haruna
Terminal=false
StartupWMClass=org.kde.haruna
Categories=Qt;KDE;AudioVideo;Player;Video;
MimeType=video/mp4;video/x-matroska;video/mpeg;video/ogg;video/quicktime;video/vnd.avi;video/mp2t;video/webm;video/x-ms-wmv;audio/aac;audio/ac3;audio/flac;audio/mp4;audio/mpeg;audio/ogg;audio/vnd.wave;audio/webm;audio/x-matroska;audio/x-mpegurl;
Keywords=video;movie;player;mpv;film;
DESKTOP
chmod 644 "$PKG/usr/share/applications/org.kde.haruna.desktop"
Programs: haruna.
Directories: /usr/share/licenses/haruna.