mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Update to musikcube-3.0.5.
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user