From 0e7276c6fa278b1514d90255c5449d37556864c2 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 16 Mar 2024 19:37:10 -0400
Subject: plex-media-server: update to 1.40.1.8227

---
 linhes/plex-media-server/PKGBUILD                | 14 +++++++-------
 linhes/plex-media-server/plexmediaserver.service |  8 ++++++++
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/linhes/plex-media-server/PKGBUILD b/linhes/plex-media-server/PKGBUILD
index e4efd86..375bd4e 100644
--- a/linhes/plex-media-server/PKGBUILD
+++ b/linhes/plex-media-server/PKGBUILD
@@ -10,8 +10,8 @@
 # Contributor: Praekon <praekon@googlemail.com>
 
 pkgname=plex-media-server
-pkgver=1.32.8.7639
-_pkgsum=fb6452ebf
+pkgver=1.40.1.8227
+_pkgsum=c0dd5a73e
 pkgrel=1
 pkgdesc='The back-end media server component of Plex.'
 arch=('x86_64' 'i686' 'armv7h' 'aarch64')
@@ -34,15 +34,15 @@ source_x86_64=("https://downloads.plex.tv/plex-media-server-new/${pkgver}-${_pkg
 source_i686=("https://downloads.plex.tv/plex-media-server-new/${pkgver}-${_pkgsum}/redhat/plexmediaserver-${pkgver}-${_pkgsum}.i686.rpm")
 
 sha256sums=('398ba7958598609453f5289b3d5f2389d2756158b340cf28e83c39d9ed60280b'
-            'ef09d53d410f92ea5ec3e9549ad9d1ac6136a83a5b60a4ea7c67b67435d752d9'
+            '525b4b3b7db69c4abf696116c9f41d7a3cb3b572186200d0720bb96ec155fbd4'
             'a94c798e3a1b5614020e3dd6ec80d378c0401fa08f411769527ad87a6898e80c'
             'c597bee0bcbb59ed791651555a904e5f7e9d2e82f6c6986b6352e5fc38e5b557'
             'b7ff6525a3c7a8be885edc85bb523095f8e25ddb38873127e2a4e97b28f2c7ad'
             'dbfb5a9a7146a975863c0932f1a68c4b040ec5d7e693361f39ddfbf60885e631')
-sha256sums_x86_64=('0b3736e5792ccf072b2d13ce2bf1a4fa4e09fd9a85f73ab2873995a34f31ac12')
-sha256sums_i686=('4038cb21b7b30ecccdd28f44a902d085b9c11926913569d8e1a163d266b04831')
-sha256sums_armv7h=('cb890f158b27c4efe32f581b7c0b62b23ab78dc13a2eac200e8fadc90854ae06')
-sha256sums_aarch64=('bfd15be5d960216a977cbf5ae0691b18313362e7b21ecf0ff11e934b25c32eb7')
+sha256sums_x86_64=('a3c3c0eca19a86acc235bd098eaaad12ff73151e643fb6f7f95e2d2bf3b6f1cc')
+sha256sums_i686=('b6c3e5c1119c3663f220dbbf4a7f66c63a22de92e570615d9bf3f607be18cabf')
+sha256sums_armv7h=('57c54a376a46b74073a8977be7483ecd76b3546fca1edff9230863cc7aef2fc4')
+sha256sums_aarch64=('e8ff9894d00bd1c840a75ce8abdecf2182650f4bba0f2374a2a327b1b843ec99')
 
 prepare() {
   if [[ $CARCH = armv7h ]] || [[ $CARCH = aarch64 ]]; then
diff --git a/linhes/plex-media-server/plexmediaserver.service b/linhes/plex-media-server/plexmediaserver.service
index b4c0105..ba67e17 100644
--- a/linhes/plex-media-server/plexmediaserver.service
+++ b/linhes/plex-media-server/plexmediaserver.service
@@ -1,3 +1,11 @@
+# Be sure to use `systemctl edit plexmediaserver` to modify this service with an override.conf because
+# direct changes will be overwritten by package updates.
+#
+# A user per service w/ shared group setup would have an override like:
+# [Service]
+# Group=sharedgroupname
+# UMask=002
+
 [Unit]
 Description=Plex Media Server
 After=network.target network-online.target
-- 
cgit v0.12

