components/encumbered/megasync/Makefile | ●●●●● patch | view | raw | blame | history | |
components/encumbered/megasync/patches/08-freeimage.cpp.patch | ●●●●● patch | view | raw | blame | history | |
components/encumbered/megasync/patches/17-NodeSelectorModel.cpp.patch | ●●●●● patch | view | raw | blame | history | |
components/encumbered/megasync/pkg5 | ●●●●● patch | view | raw | blame | history |
components/encumbered/megasync/Makefile
@@ -24,11 +24,10 @@ # Copyright (c) 2022-2023 Niklas Poslovski # USE_OPENSSL11 = yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= MEGAsync COMPONENT_VERSION= 4.9.0.0 COMPONENT_VERSION= 4.9.5.0 _REL=Linux GIT_TAG=v$(COMPONENT_VERSION)_$(_REL) COMPONENT_SUMMARY= Easy automated syncing between your computers and your MEGA cloud drive @@ -38,17 +37,17 @@ COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)_$(_REL) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/refs/tags/$(GIT_TAG).tar.gz COMPONENT_ARCHIVE_HASH= sha256:8c98f68ad09421c84f581de336bf10e61609417f0ec1d75e2951f6f4405bb011 COMPONENT_ARCHIVE_HASH= sha256:33e0d4e26492ef7ffd965a739f1d050b634aef69110d85af693f823e98718976 COMPONENT_FMRI= network/megasync COMPONENT_CLASSIFICATION= Applications/System Utilities COMPONENT_LICENSE= custom:MEGA LIMITED CODE REVIEW LICENCE COMPONENT_LICENSE_FILE= LICENCE.md GIT_BRANCH_1=778f83d7ed3780c536da5f05dc1205cffe5917e7 GIT_BRANCH_1=0f6531827ff7b15d1955f2e5843d44f90efd6f8d COMPONENT_SRC_1= sdk-$(GIT_BRANCH_1) COMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz COMPONENT_ARCHIVE_URL_1= $(COMPONENT_GIT_URL)/sdk/archive/$(GIT_BRANCH_1).tar.gz COMPONENT_ARCHIVE_HASH_1= sha256:16f37ee267fefa8a2d3c07b79bfdaa9b7e5829979a103e84d7d4a97e84eb7f8c COMPONENT_ARCHIVE_HASH_1= sha256:21dd9e2f502f42566419bfc53a2b4214e3adaf052c771eb6d47d6401e2b37491 include $(WS_MAKE_RULES)/encumbered.mk include $(WS_MAKE_RULES)/common.mk @@ -108,6 +107,7 @@ REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) REQUIRED_PACKAGES += database/sqlite-3 REQUIRED_PACKAGES += library/cryptopp REQUIRED_PACKAGES += library/icu REQUIRED_PACKAGES += library/libcares REQUIRED_PACKAGES += library/libfreeimage REQUIRED_PACKAGES += library/libmediainfo components/encumbered/megasync/patches/08-freeimage.cpp.patch
@@ -1,6 +1,6 @@ diff -Nru MEGAsync-4.9.0.0_Linux.orig/src/MEGASync/mega/src/gfx/freeimage.cpp MEGAsync-4.9.0.0_Linux/src/MEGASync/mega/src/gfx/freeimage.cpp --- MEGAsync-4.9.0.0_Linux.orig/src/MEGASync/mega/src/gfx/freeimage.cpp 2023-03-03 23:13:58.000000000 +0100 +++ MEGAsync-4.9.0.0_Linux/src/MEGASync/mega/src/gfx/freeimage.cpp 2023-03-21 20:59:33.164120527 +0100 diff -Nru MEGAsync-4.9.5.0_Linux.orig/src/MEGASync/mega/src/gfx/freeimage.cpp MEGAsync-4.9.5.0_Linux/src/MEGASync/mega/src/gfx/freeimage.cpp --- MEGAsync-4.9.5.0_Linux.orig/src/MEGASync/mega/src/gfx/freeimage.cpp 2023-06-08 09:24:13.000000000 +0200 +++ MEGAsync-4.9.5.0_Linux/src/MEGASync/mega/src/gfx/freeimage.cpp 2023-10-03 09:47:52.023993600 +0200 @@ -209,12 +209,6 @@ #ifdef HAVE_FFMPEG @@ -14,20 +14,10 @@ const char *GfxProviderFreeImage::supportedformatsFfmpeg() { return ".264.265.3g2.3gp.3gpa.3gpp.3gpp2.mp3" @@ -313,7 +307,7 @@ // Find decoder for video stream AVCodecID codecId = codecParm->codec_id; - AVCodec* decoder = avcodec_find_decoder(codecId); + auto decoder = avcodec_find_decoder(codecId); if (!decoder) { LOG_warn << "Codec not found: " << codecId; @@ -330,11 +324,6 @@ @@ -330,10 +324,6 @@ // Force seeking to key frames formatContext->seek2any = false; - videoStream->skip_to_keyframe = true; - if (decoder->capabilities & CAP_TRUNCATED) - { - codecContext->flags |= CAP_TRUNCATED; components/encumbered/megasync/patches/17-NodeSelectorModel.cpp.patch
@@ -2,11 +2,11 @@ --- MEGAsync-4.9.0.0_Linux.orig/src/MEGASync/gui/node_selector/model/NodeSelectorModel.cpp 2023-03-06 09:58:18.000000000 +0100 +++ MEGAsync-4.9.0.0_Linux/src/MEGASync/gui/node_selector/model/NodeSelectorModel.cpp 2023-03-12 19:18:30.183053996 +0100 @@ -964,6 +964,8 @@ const QIcon thisDeviceIcon (QLatin1String("://images/icons/pc/pc-mac_24.png")); const QIcon thisDeviceIcon (QLatin1String("://images/icons/pc/pc-mac_24.png")); #elif defined(Q_OS_LINUX) const QIcon thisDeviceIcon (QLatin1String("://images/icons/pc/pc-linux_24.png")); const QIcon thisDeviceIcon (QLatin1String("://images/icons/pc/pc-linux_24.png")); +#else + const QIcon thisDeviceIcon (QLatin1String("://images/icons/pc/pc_24.png")); + const QIcon thisDeviceIcon (QLatin1String("://images/icons/pc/pc_24.png")); #endif return thisDeviceIcon; } return thisDeviceIcon; } components/encumbered/megasync/pkg5
@@ -2,6 +2,7 @@ "dependencies": [ "database/sqlite-3", "library/cryptopp", "library/icu", "library/libcares", "library/libfreeimage", "library/libmediainfo",