master
Andrew Rabert 2021-04-05 22:59:22 -04:00
parent fee0a21744
commit d2077d2588
6 changed files with 11 additions and 105 deletions

View File

@ -1,6 +1,6 @@
pkgbase = jellyfin-media-player pkgbase = jellyfin-media-player
pkgdesc = Jellyfin Desktop Client pkgdesc = Jellyfin Desktop Client
pkgver = 1.1.0 pkgver = 1.2.0
pkgrel = 1 pkgrel = 1
url = https://github.com/iwalton3/jellyfin-media-player url = https://github.com/iwalton3/jellyfin-media-player
arch = i686 arch = i686
@ -16,18 +16,12 @@ pkgbase = jellyfin-media-player
depends = qt5-webengine depends = qt5-webengine
depends = qt5-x11extras depends = qt5-x11extras
depends = qt5-quickcontrols depends = qt5-quickcontrols
source = https://github.com/iwalton3/jellyfin-media-player/archive/refs/tags/v1.1.0.tar.gz source = https://github.com/iwalton3/jellyfin-media-player/archive/refs/tags/v1.2.0.tar.gz
source = https://github.com/iwalton3/jellyfin-web-jmp/releases/download/v1.1.0/dist.zip source = https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-1.7.0-2/dist.zip
source = CMakeLists.txt.patch
source = VersionConfiguration.cmake.patch source = VersionConfiguration.cmake.patch
source = main.cpp.patch sha256sums = 5d6d6d0ffa10ff001cfb1e936c324bac6245b126e97f1c4c45b538bf64548e2e
source = src_CMakeLists.txt.patch sha256sums = d20c47c10247e2d91588b4bead4f7e9c29be1f76803de1924692edb10ee94dc4
sha256sums = 0b26d2c8cccb239bcf85138482f894c1ba6d0c0df8c44e4c38cd86d2fae6ee7c
sha256sums = d2f5e7b3fbe44307dafd99b5212cf11e0c01f780e27211cdf3acb9753d03f0bf
sha256sums = aca0a3ead028ca54c7ffd1eab719809a9bea3b23f5b9a0490c7f3054b47cb2a4
sha256sums = b8d9c283b4574cf791b46625295cfae8709e96e0e243c80d31754be13066ebcd sha256sums = b8d9c283b4574cf791b46625295cfae8709e96e0e243c80d31754be13066ebcd
sha256sums = 90e5f7966c7999b030dc705a9c2b272f2293884a200617f7587ff9d4edc57467
sha256sums = 854dd8df54a0e2922e24d40fae6dc390c347f91a932311c239598382c9f83b3e
pkgname = jellyfin-media-player pkgname = jellyfin-media-player

3
.gitignore vendored
View File

@ -1,8 +1,5 @@
* *
!.SRCINFO !.SRCINFO
!.gitignore !.gitignore
!CMakeLists.txt.patch
!PKGBUILD !PKGBUILD
!VersionConfiguration.cmake.patch !VersionConfiguration.cmake.patch
!main.cpp.patch
!src_CMakeLists.txt.patch

View File

@ -1,11 +0,0 @@
--- a 21:49:41.000000000 -0400
+++ b 2021-04-05 13:43:11.972965381 -0400
@@ -52,8 +52,6 @@
include(NameConfiguration)
include(PlayerConfiguration)
include(InputConfiguration)
-include(FindBreakpad)
-include(BreakpadSymbols)
include(ClangTidy)
add_definitions(-DQS_LOG_LINE_NUMBERS -DQS_LOG_SEPARATE_THREAD)

View File

@ -1,7 +1,7 @@
# Maintainer: Andrew Rabert <ar@nullsum.net> # Maintainer: Andrew Rabert <ar@nullsum.net>
pkgname=jellyfin-media-player pkgname=jellyfin-media-player
pkgver=1.1.0 pkgver=1.2.0
pkgrel=1 pkgrel=1
pkgdesc='Jellyfin Desktop Client' pkgdesc='Jellyfin Desktop Client'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -10,26 +10,15 @@ url='https://github.com/iwalton3/jellyfin-media-player'
depends=('mpv' 'libcec' 'sdl2' 'p8-platform' 'protobuf' 'qt5-webengine' 'qt5-x11extras' 'qt5-quickcontrols') depends=('mpv' 'libcec' 'sdl2' 'p8-platform' 'protobuf' 'qt5-webengine' 'qt5-x11extras' 'qt5-quickcontrols')
makedepends=('cmake' 'git') makedepends=('cmake' 'git')
source=("https://github.com/iwalton3/jellyfin-media-player/archive/refs/tags/v${pkgver}.tar.gz" source=("https://github.com/iwalton3/jellyfin-media-player/archive/refs/tags/v${pkgver}.tar.gz"
"https://github.com/iwalton3/jellyfin-web-jmp/releases/download/v${pkgver}/dist.zip" 'https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-1.7.0-2/dist.zip'
'CMakeLists.txt.patch' 'VersionConfiguration.cmake.patch')
'VersionConfiguration.cmake.patch' sha256sums=('5d6d6d0ffa10ff001cfb1e936c324bac6245b126e97f1c4c45b538bf64548e2e'
'main.cpp.patch' 'd20c47c10247e2d91588b4bead4f7e9c29be1f76803de1924692edb10ee94dc4'
'src_CMakeLists.txt.patch') 'b8d9c283b4574cf791b46625295cfae8709e96e0e243c80d31754be13066ebcd')
sha256sums=('0b26d2c8cccb239bcf85138482f894c1ba6d0c0df8c44e4c38cd86d2fae6ee7c'
'd2f5e7b3fbe44307dafd99b5212cf11e0c01f780e27211cdf3acb9753d03f0bf'
'aca0a3ead028ca54c7ffd1eab719809a9bea3b23f5b9a0490c7f3054b47cb2a4'
'b8d9c283b4574cf791b46625295cfae8709e96e0e243c80d31754be13066ebcd'
'90e5f7966c7999b030dc705a9c2b272f2293884a200617f7587ff9d4edc57467'
'854dd8df54a0e2922e24d40fae6dc390c347f91a932311c239598382c9f83b3e')
prepare() { prepare() {
cd "${srcdir}/jellyfin-media-player-${pkgver}" cd "${srcdir}/jellyfin-media-player-${pkgver}"
# disable breakpad crash reporter (now in master branch)
patch -u CMakeLists.txt -i ../CMakeLists.txt.patch
patch -u src/CMakeLists.txt -i ../src_CMakeLists.txt.patch
patch -u src/main.cpp -i ../main.cpp.patch
# fix building without git repo # fix building without git repo
patch -u CMakeModules/VersionConfiguration.cmake -i ../VersionConfiguration.cmake.patch patch -u CMakeModules/VersionConfiguration.cmake -i ../VersionConfiguration.cmake.patch
} }

View File

@ -1,20 +0,0 @@
--- a 21:49:41.000000000 -0400
+++ b 2021-04-05 13:49:14.963759430 -0400
@@ -16,7 +16,6 @@
#include "player/CodecsComponent.h"
#include "player/PlayerComponent.h"
#include "player/OpenGLDetect.h"
-#include "breakpad/CrashDumps.h"
#include "Version.h"
#include "settings/SettingsComponent.h"
#include "settings/SettingsSection.h"
@@ -164,9 +163,6 @@
PFMoveToApplicationsFolderIfNecessary();
#endif
- // init breakpad.
- setupCrashDumper();
-
UniqueApplication* uniqueApp = new UniqueApplication();
if (!uniqueApp->ensureUnique())
return EXIT_SUCCESS;

View File

@ -1,43 +0,0 @@
--- a 21:49:41.000000000 -0400
+++ b 2021-04-05 13:45:37.045106120 -0400
@@ -14,17 +14,6 @@
add_definitions(-DPREFIX="${CMAKE_INSTALL_PREFIX}")
-find_package(Breakpad)
-
-if(BREAKPAD_FOUND)
- include_directories(${BREAKPAD_INCLUDE_DIR})
- set(BREAKPAD_LIBRARIES ${BREAKPAD_LIBRARY})
- if(UNIX)
- # cmake issue: breakpad-client.pc adds this, but cmake discards it
- set(BREAKPAD_LIBRARIES ${BREAKPAD_LIBRARIES} -lpthread)
- endif()
-endif()
-
add_subdirectory(shared)
add_subdirectory(core)
add_subdirectory(display)
@@ -33,7 +22,6 @@
add_subdirectory(ui)
add_subdirectory(input)
add_subdirectory(system)
-add_subdirectory(breakpad)
add_subdirectory(settings)
add_subdirectory(power)
@@ -187,7 +175,6 @@
${EXTRA_LIBS}
${X11_LIBRARIES}
${X11_Xrandr_LIB}
- ${BREAKPAD_LIBRARIES}
${ICU_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
${RPI_LIBS}
@@ -200,6 +187,4 @@
set(LIBPATH ${CMAKE_FIND_ROOT_PATH})
set(SOURCE_ROOT ${CMAKE_SOURCE_DIR})
-dumpsyms(${MAIN_TARGET} ${CMAKE_BINARY_DIR}/${MAIN_TARGET}.symbols)
-
include(CompleteBundle)