summaryrefslogtreecommitdiff
path: root/media-tv/plex-media-server
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-20 12:05:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-20 12:05:24 +0100
commitda7ae1dd1fccb6b3c0e4763ab983ad96d57bf463 (patch)
tree0a7a1b7b3ad60c3b21c697e75908b256fc9ed6b1 /media-tv/plex-media-server
parentb6cfc0c19effe2d9f7b8ab303cd00636f16da253 (diff)
gentoo auto-resync : 20:04:2024 - 12:05:23
Diffstat (limited to 'media-tv/plex-media-server')
-rw-r--r--media-tv/plex-media-server/Manifest5
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.40.2.8395.ebuild91
2 files changed, 96 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 7c4b4de29e3b..caa66e3b6b6b 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -15,7 +15,12 @@ DIST plexmediaserver_1.40.1.8227-c0dd5a73e_amd64.deb 81363214 BLAKE2B 85211d663b
DIST plexmediaserver_1.40.1.8227-c0dd5a73e_arm64.deb 73578298 BLAKE2B c4afb9213521fe1a6279d6daeba3de625675477a8fdad302e52437236c09cad1c93136f8ec5101234821fc178af824c554eb2f6059baed9f4f360bb0e94234f4 SHA512 1a83482a79bebffcc02473104ccbbf94330e122a6ee0ba98f4df2902e5816b2a19c30a6242b8d69d92dea10224124db56c644301675d65fe6f2f1d2bf3235881
DIST plexmediaserver_1.40.1.8227-c0dd5a73e_armhf.deb 70707730 BLAKE2B 67420c79609e10362072d382b472ce9bab4aebbf8b889fb7ca85b106264332d3f0b954318343d682623d493680f0c1908062225dec072300194e99f4b9c58828 SHA512 186443100732f2b6080fe674da4949b1e4a97de5c8cd8350cfe451fae28dfac49681014addb5d6406b218c2d925b113f308d2b389cfd5d1ec551a535269b9677
DIST plexmediaserver_1.40.1.8227-c0dd5a73e_i386.deb 74304650 BLAKE2B f826ea8bfb17df3ca2e8767ba2704545a4f71c8d7425387b66aafcee4622b91d35aef1b85b443c5900f51df79e3b6005f4407dd8ca7ad71a2f853b0b78536f1d SHA512 06d5e2978131c06e579f3580534f51c43d04e8bb3a6f51fea52ba8a05d094e4ccc0f1aa162acd2c32ee4c451bfc7de084f14a009262efba0806b6aa883f991e6
+DIST plexmediaserver_1.40.2.8395-c67dce28e_amd64.deb 82029834 BLAKE2B 3f0acd1d8dc554ee4539c0dc36976935c975b2ed54824805835d490d33d4d8319f5c67ec2926ca253fd1dcac97b3daad13e98e2a80f35403cf2d7c58f25786f5 SHA512 6a20b3e9af5097667fed5768262fcb4c5182cbf0db9edf2f8870e41063191c1420ea4a1e9abd39a5168a37b9445088e61d167731c9b5f3914d7c4ff25834ceb5
+DIST plexmediaserver_1.40.2.8395-c67dce28e_arm64.deb 73766282 BLAKE2B d0ddf6718465aeae596c1a8391962b576beceb4cfdb3a23eee1bf18585e8fb42c0409ef3fbc43fd09a8977a1fa9143ea20fa8432accfc6e4bda7622bed59bfaf SHA512 58269cba44aaecb7c7720517bcdc3baee2cf42b265c6c910066459cfb462f9ccd5dd88fe2fa43bc19954782a5a6f4525d7436158a0662b80ce422cc7896f0922
+DIST plexmediaserver_1.40.2.8395-c67dce28e_armhf.deb 70899814 BLAKE2B 87cb5cd21ed08f11609063a1836c51413193bec3a0fe4ba81212fd8383136805c591875ad42d170f08f41e986c50679841db6b4ba7517b9e78a01af7f4a5b8d5 SHA512 744d19fd708ab8e77fbeac15ad52069105ec92b7c391b1452e92417adaf7bfbb6d70d6fcabc556ea5467631433db08bbfea83fe7fa4e0b1462b473f32d6b91d6
+DIST plexmediaserver_1.40.2.8395-c67dce28e_i386.deb 74590626 BLAKE2B fa42e617a02c3403a7fc2d45bb6c7e56a78ebfcf7bc34f45da2cc67a912a163001ef2f87383abde7d5de51e74bbcd439abd12e866f8106d4e7fd5a67e0172755 SHA512 89a6905b662a83e0af9872a1cf801ba1fa9b08976a606ef64fdee61f49709f0c5b4e3d2acd6d9e0e4e7605a16401902f5282ecb1a39f47833591dc054d3dedc2
EBUILD plex-media-server-1.32.8.7639.ebuild 2509 BLAKE2B 8ee49033daa64f56191c963af28366e02740ad0dd0041ae7bdb6f12d0ab93eb12f12c7c45cf3e8ff7767014e8f4a67b9b7ac4d8a8891ffa03b99bbb07119ac0f SHA512 18032cdaf48be242461733c20cc33d21c5df7500a2b8a6939b124a770fa0c774969916ab3f966b82b033f3f7ba6430e13174b938ba6e0b66ce7a87cd37c1e6f5
EBUILD plex-media-server-1.40.0.7998.ebuild 2672 BLAKE2B 664a07e40c7f8f7916d540671b3610d194731fd1214d47d99b47824044d20e6533d5dfaec90119224eb1879d752d9ce69c595770c83d5b4bacdfe77dcf974639 SHA512 dd49941b2e292609a6f996aaceb8d24b045a46d65ba88c857b13ed497b437be0251a29ef833e39d5c86f2badaceba2627f2b0332bfb2edc506f4bbc8f789f100
EBUILD plex-media-server-1.40.1.8227.ebuild 2672 BLAKE2B 89ff19be78e3bcfe465822e4b775832db8ae9790cd4802f3cb0397732a91afa5c9b203a0750978bb8f1202400762c16408c434574b0a823208e93a98d146f6e0 SHA512 5d11a2a188b765f20dd8f7447b7f5cc6ae1fcc66acebd4f22123054f0c565bf54428be9daf29cc4a8a3f7c4123e06873fe458fd714326479a815e8f69807b8c2
+EBUILD plex-media-server-1.40.2.8395.ebuild 2672 BLAKE2B 2709c712bb4c58b75c1e79d457ddfe2e29e4740d5b1e519da17a5b3a21b01e4fa08871b9a16c2d9833d5564a4da61340faa5ae44e7983a6c4dc759f625b9d2ac SHA512 6ea9e59e0775ad72eae543bea0cbcabba61a474b86dc050ea53258662775c212acfd523d95e405716a8f1a042b818e3b3e78d90ab378bf3877259f373dccaf3b
MISC metadata.xml 572 BLAKE2B 43e637c63f2745de898d7312c317a9faf5013832c04d266da364b70fa7b8fd4e18c1a4e8cda0ee3a8ea1a5970214a4444cef31e010db6a7bf7703d919ab70c22 SHA512 eabead0de1cec6174dad9fee3094f928373d0a69ab59bf81fd4fd205f6e49d2767bede834e43ef3a12dbd2c25c993019f4f6bb6ab82da900ade3eb182d260b79
diff --git a/media-tv/plex-media-server/plex-media-server-1.40.2.8395.ebuild b/media-tv/plex-media-server/plex-media-server-1.40.2.8395.ebuild
new file mode 100644
index 000000000000..e2c7874f3f3a
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.40.2.8395.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 systemd unpacker pax-utils
+
+MY_PV="${PV}-c67dce28e"
+MY_URI="https://downloads.plex.tv/plex-media-server-new"
+
+DESCRIPTION="Free media library that is intended for use with a plex client"
+HOMEPAGE="https://www.plex.tv/"
+SRC_URI="
+ amd64? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_amd64.deb )
+ arm? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_armhf.deb )
+ arm64? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_arm64.deb )
+ x86? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_i386.deb )
+"
+S="${WORKDIR}"
+
+LICENSE="Plex"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
+RESTRICT="bindist"
+
+DEPEND="
+ acct-group/plex
+ acct-user/plex"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}.service.patch"
+)
+
+QA_DESKTOP_FILE="usr/share/applications/plexmediamanager.desktop"
+QA_PREBUILT="*"
+QA_MULTILIB_PATHS=(
+ "usr/lib/plexmediaserver/lib/.*"
+ "usr/lib/plexmediaserver/Resources/Python/lib/python2.7/.*"
+ "usr/lib/plexmediaserver/Resources/Python/lib/python2.7/lib-dynload/_hashlib.so"
+)
+
+BINS_TO_PAX_MARK=(
+ "${ED}/usr/lib/plexmediaserver/Plex Script Host"
+ "${ED}/usr/lib/plexmediaserver/Plex Media Scanner"
+)
+
+src_install() {
+ # Remove Debian specific files
+ rm -r "usr/share/doc" || die
+
+ # Copy main files over to image and preserve permissions so it is portable
+ cp -rp usr/ "${ED}" || die
+
+ # Make sure the logging directory is created
+ keepdir /var/log/pms
+ fowners plex:plex /var/log/pms
+
+ keepdir /var/lib/plexmediaserver
+ fowners plex:plex /var/lib/plexmediaserver
+
+ # Install the OpenRC init/conf files
+ newinitd "${FILESDIR}/${PN}.init.d" ${PN}
+ newconfd "${FILESDIR}/${PN}.conf.d" ${PN}
+
+ # Install systemd service file
+ systemd_newunit "${ED}"/usr/lib/plexmediaserver/lib/plexmediaserver.service "${PN}.service"
+
+ # Add pax markings to some binaries so that they work on hardened setup
+ local f
+ for f in "${BINS_TO_PAX_MARK[@]}"; do
+ pax-mark m "${f}"
+ done
+
+ # Adds the precompiled plex libraries to the revdep-rebuild's mask list
+ # so it doesn't try to rebuild libraries that can't be rebuilt.
+ insinto /etc/revdep-rebuild
+ doins "${FILESDIR}"/80plexmediaserver
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+
+ einfo
+ ewarn "IMPORTANT: This version makes changes to the database which will require 1.31.2 or higher to start"
+ ewarn "Please also be patient when updating to this version, initial run may take time as database is upgraded"
+ ewarn "Full release announcement, including instructions for rollback: https://forums.plex.tv/t/plex-media-server/30447/612"
+
+}