From f0f214d15615fb9998b46f33a6cc2cdc524ae895 Mon Sep 17 00:00:00 2001 From: benoit Date: Wed, 7 Jan 2026 14:01:04 +0000 Subject: [PATCH] Update to musikcube-3.0.5. --- audio/musikcube/Makefile | 3 +-- audio/musikcube/distinfo | 4 ++-- audio/musikcube/patches/patch-CMakeLists_txt | 2 +- ...ch-src_plugins_ffmpegdecoder_FfmpegDecoder_cpp | 15 --------------- 4 files changed, 4 insertions(+), 20 deletions(-) delete mode 100644 audio/musikcube/patches/patch-src_plugins_ffmpegdecoder_FfmpegDecoder_cpp diff --git a/audio/musikcube/Makefile b/audio/musikcube/Makefile index 7a72db685ee..ab8fcd6cd27 100644 --- a/audio/musikcube/Makefile +++ b/audio/musikcube/Makefile @@ -2,9 +2,8 @@ COMMENT = terminal-based music player GH_ACCOUNT = clangen GH_PROJECT = musikcube -GH_TAGNAME = 3.0.4 +GH_TAGNAME = 3.0.5 CATEGORIES = audio -REVISION = 0 HOMEPAGE = https://musikcube.com/ diff --git a/audio/musikcube/distinfo b/audio/musikcube/distinfo index 573c288f908..ab622860328 100644 --- a/audio/musikcube/distinfo +++ b/audio/musikcube/distinfo @@ -1,2 +1,2 @@ -SHA256 (musikcube-3.0.4.tar.gz) = JbuVuHBdjHm95EfnxwGTcu6n6u2dAmhRAnjn/NsTeKU= -SIZE (musikcube-3.0.4.tar.gz) = 4827124 +SHA256 (musikcube-3.0.5.tar.gz) = cIKSpYO7UHKo27FOQIwqH2Hem4yXhtTlOz5pvvXa2MU= +SIZE (musikcube-3.0.5.tar.gz) = 4891353 diff --git a/audio/musikcube/patches/patch-CMakeLists_txt b/audio/musikcube/patches/patch-CMakeLists_txt index 642a147462a..9e22a324632 100644 --- a/audio/musikcube/patches/patch-CMakeLists_txt +++ b/audio/musikcube/patches/patch-CMakeLists_txt @@ -1,7 +1,7 @@ Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -127,12 +127,16 @@ add_dependencies(musikcubed musikcore) +@@ -122,12 +122,16 @@ add_dependencies(musikcubed musikcore) # tag readers add_plugin("src/plugins/taglib_plugin" "taglibreader") # outputs diff --git a/audio/musikcube/patches/patch-src_plugins_ffmpegdecoder_FfmpegDecoder_cpp b/audio/musikcube/patches/patch-src_plugins_ffmpegdecoder_FfmpegDecoder_cpp deleted file mode 100644 index 95ba3c86c53..00000000000 --- a/audio/musikcube/patches/patch-src_plugins_ffmpegdecoder_FfmpegDecoder_cpp +++ /dev/null @@ -1,15 +0,0 @@ -Index: src/plugins/ffmpegdecoder/FfmpegDecoder.cpp ---- src/plugins/ffmpegdecoder/FfmpegDecoder.cpp.orig -+++ src/plugins/ffmpegdecoder/FfmpegDecoder.cpp -@@ -267,7 +267,11 @@ void FfmpegDecoder::Reset() { - // avcodec_flush_buffers(this->codecContext); - auto stream = this->formatContext->streams[this->streamId]; - if (stream != nullptr) { -+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(61, 3, 100) - avcodec_close(this->codecContext); -+#else -+ avcodec_free_context(&this->codecContext); -+#endif - } - - this->codecContext = nullptr;