summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Kappus <joe@wt.gd>2024-02-13 23:45:52 -0500
committerSam James <sam@gentoo.org>2024-02-18 11:57:22 +0000
commit7d9ba6936c8cd1aaab4660cf8a6875e117638f81 (patch)
tree62ab46bb394c790b58c073b292b66307abef3c69 /media-tv
parentwww-client/chromium: Stabilize 121.0.6167.184 amd64, #924567 (diff)
downloadgentoo-7d9ba6936c8cd1aaab4660cf8a6875e117638f81.tar.gz
gentoo-7d9ba6936c8cd1aaab4660cf8a6875e117638f81.tar.bz2
gentoo-7d9ba6936c8cd1aaab4660cf8a6875e117638f81.zip
media-tv/plex-media-server: add 1.40.0.7998
Closes: https://bugs.gentoo.org/924434 Signed-off-by: Joe Kappus <joe@wt.gd> Closes: https://github.com/gentoo/gentoo/pull/35318 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/plex-media-server/Manifest4
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.40.0.7998.ebuild91
2 files changed, 95 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 05540bc07322..8393e37d31db 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -10,3 +10,7 @@ DIST plexmediaserver_1.32.8.7639-fb6452ebf_amd64.deb 76341142 BLAKE2B ec46ffb5a5
DIST plexmediaserver_1.32.8.7639-fb6452ebf_arm64.deb 70657050 BLAKE2B 80269c6ef68d30dc5882db06dc0dd77f6352ad72c5f983ff00f46bba93412bc7f2348295973f9ce48be4f6099713cd88e4ccfdbc94cbac97616c1ec139d1a4b3 SHA512 8b15232b91603096ca61d1283e3ee255906d4fc2e0f3e82d3ebbb79ddcb983e154b05e435ee5737532a3e4258c751ea6597e0a27d4bc3761107562fdb457c232
DIST plexmediaserver_1.32.8.7639-fb6452ebf_armhf.deb 70785650 BLAKE2B e85177079d8cbc03a56dc0be3183198467c4fa0e0c242e77ad7a91bd008853ffee61ee61612819f41b11019da0dc4a8b776dc41ec0d983cb49d7f1f780ac2607 SHA512 0da3b288a488942119db5f609ba453083f5d4559da5089bcfec743aefc187e0218515ce16a025f015a9b9eccd0c04fefc904fbd0469072d19d8614aa402a331f
DIST plexmediaserver_1.32.8.7639-fb6452ebf_i386.deb 74289812 BLAKE2B 5f0eb0dd865775e9091ef73c06e6797be22e2b1b61bac740891bae23535c5cfaf997b4100c52c51793bff8b0426ff0db1795b560a908be1a18185b2bc2c7ebe2 SHA512 e7484efde9d86f54cab48adf4dd90493b339d64dd7b2a91a5dfc69851dab5df744d92564cf30d11d92d21cff959a3f5e68c0bc526980d1d5cb08bce6b1bb5b82
+DIST plexmediaserver_1.40.0.7998-c29d4c0c8_amd64.deb 81786462 BLAKE2B b24b666b5b214e375296583e513359c2082bd7737e44815c9c06719b063b740a2bf3121974eefa3130ebd3c4f65ba72bd54f7d12c44de41f41b0d3d4463a3b23 SHA512 3907f7623b1c52b87fc2f3fbef6a0eef711a1152f7a04b2e4c16b687682b430bdfdd1c198aa8646a361fc4ba5483efc9d49c652def9103468ad47de48a4fe89f
+DIST plexmediaserver_1.40.0.7998-c29d4c0c8_arm64.deb 74643478 BLAKE2B 4831b0dd0030e191221d5c084b0f2a40c6e0d44e148e44fd94bfc239236dcffc589929213455a3f7781f21f1ace52cb3bec5eeec5a1f3c682be1e348c0698b4a SHA512 d932e955323854897e7d9553c3630b984587c6ab7c2bb5042de20d7285785d3e17f718e0164a3d3d475a6d8474c383079463d1394747e1f00ce9fb3dd848fecd
+DIST plexmediaserver_1.40.0.7998-c29d4c0c8_armhf.deb 70547854 BLAKE2B c9fd1c4bb38a0fb471031457a586d1a59715fb3d66c75223f4af1d17b6e3576152202bb239aa65fb682dbefa83e652a4ba3011f6538a0682913d571b8d26f418 SHA512 766bd566a84a240af92353eb18f0ea5dc5d6b5f00667930b89d0afeffb19bd37482428dfdd8c5559b8a720514c7130fa35a92cf65f60f5edbba59e4d24e8ba82
+DIST plexmediaserver_1.40.0.7998-c29d4c0c8_i386.deb 74085106 BLAKE2B eede6a7a9f316ead61a72901c5e262b9e84cf3b0dbe86eeecdac68b993e28ed55d496a09a8d20791fe6424862512e2c9aec772ea49fc7c3127624ccf4cb922d5 SHA512 e98aaca54592b7544c2cecc5c5049df07e8c1df0f97517184346d3b985a2d4ac34ff3d2df98ca8c4c0efcaf9750cd992a25b920f54e8c0327efddd677ccc8517
diff --git a/media-tv/plex-media-server/plex-media-server-1.40.0.7998.ebuild b/media-tv/plex-media-server/plex-media-server-1.40.0.7998.ebuild
new file mode 100644
index 000000000000..a1bfd627529a
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.40.0.7998.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}-c29d4c0c8"
+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
+ einfo "IMPORTANT: This version makes changes to the database which will require 1.31.2 or higher to start"
+ einfo "Please also be patient when updating to this version, initial run may take time as database is upgraded"
+ einfo "Full release announcement, including instructions for rollback: https://forums.plex.tv/t/plex-media-server/30447/612"
+
+}