mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
multimedia/jellyfin-media-player: upgrade to 1.12.0
This commit is contained in:
parent
fcb30de9db
commit
a66218ca99
8 changed files with 79 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
|||
PORTNAME= jellyfin-media-player
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.11.1
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.12.0
|
||||
CATEGORIES= multimedia
|
||||
|
||||
MAINTAINER= bapt@FreeBSD.org
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1727784693
|
||||
SHA256 (jellyfin-jellyfin-media-player-v1.11.1_GH0.tar.gz) = 75499ed2721b77ea0f757da20615aff8e5e9d8e9ff9d4b2572e71067be17ea29
|
||||
SIZE (jellyfin-jellyfin-media-player-v1.11.1_GH0.tar.gz) = 514141
|
||||
TIMESTAMP = 1743024383
|
||||
SHA256 (jellyfin-jellyfin-media-player-v1.12.0_GH0.tar.gz) = a90c8ced214f7f66f440bb690c64ac333e18bdfb5bc54d845ea5fc2d04f31ed5
|
||||
SIZE (jellyfin-jellyfin-media-player-v1.12.0_GH0.tar.gz) = 595183
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
--- CMakeModules/CompilerFlags.cmake.orig 2025-03-18 16:40:48 UTC
|
||||
+++ CMakeModules/CompilerFlags.cmake
|
||||
@@ -14,8 +14,8 @@ enable_if_supported(COMPILER_FLAGS_THIRD_PARTY "/wd426
|
||||
enable_if_supported(COMPILER_FLAGS_THIRD_PARTY "/wd4244")
|
||||
enable_if_supported(COMPILER_FLAGS_THIRD_PARTY "/wd4267")
|
||||
|
||||
-enable_if_links(LINK_FLAGS_RELEASE "-flto")
|
||||
-enable_if_links(LINK_FLAGS "-fuse-ld=gold")
|
||||
+#enable_if_links(LINK_FLAGS_RELEASE "-flto")
|
||||
+#enable_if_links(LINK_FLAGS "-fuse-ld=gold")
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILER_FLAGS}")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMPILER_FLAGS}")
|
11
multimedia/jellyfin-media-player/files/patch-src_main.cpp
Normal file
11
multimedia/jellyfin-media-player/files/patch-src_main.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/main.cpp.orig 2025-03-18 16:40:48 UTC
|
||||
+++ src/main.cpp
|
||||
@@ -83,7 +83,7 @@ QStringList g_qtFlags = {
|
||||
QStringList g_qtFlags = {
|
||||
"--disable-web-security",
|
||||
"--enable-gpu-rasterization",
|
||||
-#ifdef Q_OS_LINUX
|
||||
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
"--disable-gpu"
|
||||
#endif
|
||||
};
|
|
@ -0,0 +1,11 @@
|
|||
--- src/player/CodecsComponent.cpp.orig 2025-03-18 16:40:48 UTC
|
||||
+++ src/player/CodecsComponent.cpp
|
||||
@@ -116,6 +116,8 @@ static QString getEAEBuildType()
|
||||
return "linux-raspi2-arm7";
|
||||
#elif defined(Q_OS_LINUX)
|
||||
return sizeof(void *) > 4 ? "linux-ubuntu-x86_64" : "linux-ubuntu-i686";
|
||||
+#elif defined(Q_OS_FREEBSD)
|
||||
+ return sizeof(void *) > 4 ? "FreeBSD-amd64" : "FreeBSD-i386";
|
||||
#else
|
||||
return "unknown";
|
||||
#endif
|
|
@ -0,0 +1,19 @@
|
|||
--- src/system/SystemComponent.cpp.orig 2025-03-26 21:47:29 UTC
|
||||
+++ src/system/SystemComponent.cpp
|
||||
@@ -33,6 +33,7 @@ QMap<SystemComponent::PlatformType, QString> g_platfor
|
||||
{ SystemComponent::platformTypeWindows, "windows" },
|
||||
{ SystemComponent::platformTypeLinux, "linux" },
|
||||
{ SystemComponent::platformTypeOpenELEC, "openelec" },
|
||||
+ { SystemComponent::platformTypeFreeBSD, "freebsd" },
|
||||
{ SystemComponent::platformTypeUnknown, "unknown" },
|
||||
};
|
||||
|
||||
@@ -61,6 +62,8 @@ SystemComponent::SystemComponent(QObject* parent) : Co
|
||||
m_platformType = platformTypeOpenELEC;
|
||||
#elif defined(Q_OS_LINUX)
|
||||
m_platformType = platformTypeLinux;
|
||||
+#elif defined(Q_OS_FREEBSD)
|
||||
+ m_platformType = platformTypeFreeBSD;
|
||||
#endif
|
||||
|
||||
// define target type
|
|
@ -0,0 +1,20 @@
|
|||
--- src/system/SystemComponent.h.orig 2025-03-18 16:40:48 UTC
|
||||
+++ src/system/SystemComponent.h
|
||||
@@ -65,7 +65,8 @@ class SystemComponent : public ComponentBase (public)
|
||||
platformTypeOsx,
|
||||
platformTypeWindows,
|
||||
platformTypeLinux,
|
||||
- platformTypeOpenELEC
|
||||
+ platformTypeOpenELEC,
|
||||
+ platformTypeFreeBSD
|
||||
};
|
||||
|
||||
// possible values for target types
|
||||
@@ -108,6 +109,7 @@ signals: (private)
|
||||
bool platformIsWindows() const { return m_platformType == platformTypeWindows; }
|
||||
bool platformIsMac() const { return m_platformType == platformTypeOsx; }
|
||||
bool platformIsLinux() const { return m_platformType == platformTypeLinux; }
|
||||
+ bool platformIsFreeBSD() const { return m_platformType == platformTypeFreeBSD; }
|
||||
|
||||
QTimer* m_mouseOutTimer;
|
||||
PlatformType m_platformType;
|
|
@ -7,9 +7,8 @@ share/jellyfinmediaplayer/web-client/extension/find-webclient.js
|
|||
share/jellyfinmediaplayer/web-client/extension/find-webclient.lang.js
|
||||
share/jellyfinmediaplayer/web-client/extension/jmpInputPlugin.js
|
||||
share/jellyfinmediaplayer/web-client/extension/jmpUpdatePlugin.js
|
||||
share/jellyfinmediaplayer/web-client/extension/logo.svg
|
||||
share/jellyfinmediaplayer/web-client/extension/logo.png
|
||||
share/jellyfinmediaplayer/web-client/extension/mpvAudioPlayer.js
|
||||
share/jellyfinmediaplayer/web-client/extension/mpvVideoPlayer.js
|
||||
share/jellyfinmediaplayer/web-client/extension/nativeshell.js
|
||||
share/jellyfinmediaplayer/web-client/extension/skipIntroPlugin.js
|
||||
share/metainfo/com.github.iwalton3.jellyfin-media-player.appdata.xml
|
||||
|
|
Loading…
Add table
Reference in a new issue