diff --git a/media-video/smplayer/patches/smplayer-21.10.0.patchset b/media-video/smplayer/patches/smplayer-22.7.0.patchset similarity index 94% rename from media-video/smplayer/patches/smplayer-21.10.0.patchset rename to media-video/smplayer/patches/smplayer-22.7.0.patchset index be77e9b69..f6fe0f09b 100644 --- a/media-video/smplayer/patches/smplayer-21.10.0.patchset +++ b/media-video/smplayer/patches/smplayer-22.7.0.patchset @@ -1,7 +1,7 @@ From 3747ce02ab2135c9952d7bca72049c350b92e46d Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Fri, 5 Jun 2015 17:43:34 +0300 -Subject: Disabling QtSingleApplication on Haiku +Subject: Disable QtSingleApplication on Haiku diff --git a/src/qtsingleapplication/qtsingleapplication.cpp b/src/qtsingleapplication/qtsingleapplication.cpp @@ -40,7 +40,7 @@ index d0fb15d..fe60eb8 100644 From f2514f4e89bc488589cfa2188f13e923cdd17c02 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Sun, 31 Oct 2021 17:21:10 +0300 -Subject: Correctly identify Haiku instead of Other OS +Subject: Identify Haiku instead of Other OS diff --git a/src/smplayer.cpp b/src/smplayer.cpp @@ -199,18 +199,11 @@ index 71bb60c..5457f5e 100644 #ifdef Q_OS_OS2 #define WINIDFROMHWND(hwnd) ( ( hwnd ) - 0x80000000UL ) proc->setOption("wid", QString::number( WINIDFROMHWND( (int) mplayerwindow->videoLayer()->winId() ) )); -+ +#elif defined(Q_OS_HAIKU) ++ #elif defined(Q_OS_HAIKU) + proc->setOption("wid", QString::number(0)); #else #ifndef Q_OS_MACX proc->setOption("wid", QString::number( (qint64) mplayerwindow->videoLayer()->winId() ) ); -diff --git a/src/svn_revision.h b/src/svn_revision.h -index c8da1c5..3ffec4b 100644 ---- a/src/svn_revision.h -+++ b/src/svn_revision.h -@@ -1 +1 @@ --#define SVN_REVISION "10001" -+#define SVN_REVISION "0UNKNOWN" -- 2.30.2 diff --git a/media-video/smplayer/smplayer-21.10.0.recipe b/media-video/smplayer/smplayer-22.7.0.recipe similarity index 96% rename from media-video/smplayer/smplayer-21.10.0.recipe rename to media-video/smplayer/smplayer-22.7.0.recipe index 8f7a1dfdb..3dc7a7117 100644 --- a/media-video/smplayer/smplayer-21.10.0.recipe +++ b/media-video/smplayer/smplayer-22.7.0.recipe @@ -5,11 +5,11 @@ audio formats. But apart from providing access for the most common and useful \ options of MPlayer, SMPlayer adds other interesting features like the \ possibility to play Youtube videos or download subtitles." HOMEPAGE="https://www.smplayer.info/" -COPYRIGHT="2006-2021 Ricardo Villalba" +COPYRIGHT="2006-2022 Ricardo Villalba" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://downloads.sf.net/smplayer/smplayer-$portVersion.tar.bz2" -CHECKSUM_SHA256="2c0bf10add4bea2582104281553cda9792b74d41273a98bceaa147c70065db8a" +CHECKSUM_SHA256="f7bd29d20b23dd4f8494948609f0789c8950c9a1a37fcb9f2a20b16bdc5ef92d" PATCHES="smplayer-$portVersion.patchset" ADDITIONAL_FILES="smplayer.rdef" @@ -24,7 +24,6 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then commandBinDir=$prefix/bin fi - PROVIDES=" smplayer$secondaryArchSuffix = $portVersion app:SMPlayer = $portVersion