From 88d8759d35c32aeabf250dca8c19e1aff62b0818 Mon Sep 17 00:00:00 2001 From: marav Date: Thu, 12 Jan 2023 18:52:31 +0000 Subject: multimedia/haruna: Updated for version 0.10.2. Signed-off-by: Willy Sudiarto Raharjo --- multimedia/haruna/haruna.SlackBuild | 11 +-------- multimedia/haruna/haruna.info | 6 ++--- multimedia/haruna/patches/recentfilemodel.patch | 30 ------------------------- 3 files changed, 4 insertions(+), 43 deletions(-) delete mode 100644 multimedia/haruna/patches/recentfilemodel.patch (limited to 'multimedia') diff --git a/multimedia/haruna/haruna.SlackBuild b/multimedia/haruna/haruna.SlackBuild index dd69ba3bf828..837e1f5d59b8 100644 --- a/multimedia/haruna/haruna.SlackBuild +++ b/multimedia/haruna/haruna.SlackBuild @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haruna -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-0.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,15 +77,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -# patches -if [ -d $CWD/patches ]; then - for file in $CWD/patches/* ; do - if [ -f $file ]; then - zcat $file | patch -p1 --verbose || exit 1 - fi - done -fi - mkdir build cd build cmake \ diff --git a/multimedia/haruna/haruna.info b/multimedia/haruna/haruna.info index f8ee120b5f78..afd962060b3f 100644 --- a/multimedia/haruna/haruna.info +++ b/multimedia/haruna/haruna.info @@ -1,8 +1,8 @@ PRGNAM="haruna" -VERSION="0.10.1" +VERSION="0.10.2" HOMEPAGE="https://apps.kde.org/haruna/" -DOWNLOAD="https://download.kde.org/stable/haruna/haruna-0.10.1.tar.xz" -MD5SUM="8326ea077ffeefd03ee26ef837811a56" +DOWNLOAD="https://download.kde.org/stable/haruna/haruna-0.10.2.tar.xz" +MD5SUM="c7072103b562770ac2b986b3d0467367" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mpv yt-dlp" diff --git a/multimedia/haruna/patches/recentfilemodel.patch b/multimedia/haruna/patches/recentfilemodel.patch deleted file mode 100644 index 03399ed7d8b5..000000000000 --- a/multimedia/haruna/patches/recentfilemodel.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 928c81d326ec2b9529e183cc1816484252703357 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?George=20Florea=20B=C4=83nu=C8=99?= -Date: Fri, 6 Jan 2023 13:43:53 +0200 -Subject: [PATCH] recentfilesmodel: don't try to add files if option was - disabled (MaxRecentFiles = 0) - -BUG: 463737 ---- - src/models/recentfilesmodel.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/models/recentfilesmodel.cpp b/src/models/recentfilesmodel.cpp -index 92a94ea..be51e0e 100644 ---- a/src/models/recentfilesmodel.cpp -+++ b/src/models/recentfilesmodel.cpp -@@ -84,6 +84,10 @@ void RecentFilesModel::populate() - - void RecentFilesModel::addUrl(const QString &path, const QString &name) - { -+ if (maxRecentFiles() == 0) { -+ return; -+ } -+ - auto config = KSharedConfig::openConfig(Global::instance()->appConfigFilePath()); - QUrl url(path); - if (!url.isLocalFile() && url.scheme().isEmpty()) { --- -GitLab - - -- cgit v1.2.3