summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Kappus <joe@wt.gd>2023-07-28 03:43:38 -0400
committerJoonas Niilola <juippis@gentoo.org>2023-08-15 15:17:39 +0300
commitad38e715bf7c256527dbdbc06488ba3fe604feee (patch)
tree3006b3de9bfd54e74e751282c27d455dbaf0f0a5 /media-tv
parentdev-libs/poco: fix missing USE flag dependency (diff)
downloadgentoo-ad38e715bf7c256527dbdbc06488ba3fe604feee.tar.gz
gentoo-ad38e715bf7c256527dbdbc06488ba3fe604feee.tar.bz2
gentoo-ad38e715bf7c256527dbdbc06488ba3fe604feee.zip
media-tv/plex-media-server: add 1.32.5.7349
Closes: https://bugs.gentoo.org/910657 Signed-off-by: Joe Kappus <joe@wt.gd> Closes: https://github.com/gentoo/gentoo/pull/32080 Signed-off-by: Joonas Niilola <juippis@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.32.5.7349.ebuild85
2 files changed, 89 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 72ab76b4961d..7d8e66f06fc1 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -17,3 +17,7 @@ DIST plexmediaserver_1.32.3.7162-b0a36929b_amd64.deb 75401580 BLAKE2B ef992d2f4f
DIST plexmediaserver_1.32.3.7162-b0a36929b_arm64.deb 69821460 BLAKE2B 516e2c3e6f058d36067b998d730f4fd51509a41ed8c0aa950c5eca38dbc3bda123c4c4b73ac7f9351c516ade07f49fbbb9808413a9ab51333f96ee651b8c818a SHA512 650e90044824c96e1c68f2b31b431d9103f76e2f61884947b1f8dc25be20313e90ac6f386236bcca3879059a4e993036d3a929622973aeb817dd0ce9e2e77795
DIST plexmediaserver_1.32.3.7162-b0a36929b_armhf.deb 70132556 BLAKE2B d0189553f40bf08b6f6e0bc7470b3112b02a3884b1262645ad82dc2752b9ed73ef1a98343a48b981527da8c6bbdef5ccabe713876221c45290760f7ff1d8ec86 SHA512 48b8b7940a9c4a9b2204452fa6eab6bcc8018e22c872589e5ba01c7f98e36dbd3d4fc828545f4914fc14e5d419c0e911bfd56f7389999d9441005d301c449e13
DIST plexmediaserver_1.32.3.7162-b0a36929b_i386.deb 73382708 BLAKE2B 526fd22ae70fa1e477389d5fc1fa67f9b4ca684794950284dd8f7bc426bcec3707ec1a32dfbd94695d71da9aaba0bff159d68ad28c3e36d0b38bbf7b4426794e SHA512 dd711fb49ceb3895639084601145cd5031714ac7ca00dd792d22d7973ddf431fc99302429cb2e71b2d6890d32e47884d06da2347ecaa46984430a038ce4b12e0
+DIST plexmediaserver_1.32.5.7349-8f4248874_amd64.deb 76029190 BLAKE2B 7ceb9e95800e933dbaa03457b6d8e8e8c7e0dcd09b02c49034e8eb931468031b4e025e38490cd56244ffdce6489cb12404c8ad2c54f219e612a25d72944fb128 SHA512 f28aa6201e2c86805ab25e1c9f373982fd33ac2f3a0ecce26900895ab354f1d422d1a5ca9f2765bc0b1e4827a35192c1614f8fadc6fe69449aa20378dfe50462
+DIST plexmediaserver_1.32.5.7349-8f4248874_arm64.deb 70330842 BLAKE2B a7d2d7f2e774e4d96ff8bd4eb2d27ade07e13c974fc3be4735468d6e60fe4a4bebf3637dfb2802c7ffecfc9bf207e2f7de9e58e4ec6a8ddd6828c60ffb869bf9 SHA512 540ad4cfae98c1e5d258d9a6b2082544683ad205919cfcd4bac8acccdab73220107ababd17f6df7d8f13d4544f11edc7e2a1273b1f8b113a64d054b19d82430c
+DIST plexmediaserver_1.32.5.7349-8f4248874_armhf.deb 70791932 BLAKE2B 6df9dae2f00885f55e46113a3aeec019fe5368892297774c548f1772864a46ae83ea64dd98c2048c4e63073f81a1907059d6500305a28a2944809d4ac64ace0c SHA512 4a4170084f3fd62fcb289e6327cb260d48f8d5bf22bac7463f4f596a18cf41398707146b8fab5f72b76611cdec01e93dd061e221ecd5b83a43feb8f6abd16eb1
+DIST plexmediaserver_1.32.5.7349-8f4248874_i386.deb 74146346 BLAKE2B 064d3537c68630b129ea8e249017b264e259d7d761c8bc836595c5558cb38ed57e2d57e8d5d8e87da09ecbe646bc2bf0187a8f0e3f3897f13e4b8dfd72b7e8eb SHA512 39949f185899ee05117e90554f98a25ad2f296c554aa06c5dbe1306f8168ae467be67990bd2d2b98599fb0d65bdb2183d83aec37301189a3404b6ee52142d230
diff --git a/media-tv/plex-media-server/plex-media-server-1.32.5.7349.ebuild b/media-tv/plex-media-server/plex-media-server-1.32.5.7349.ebuild
new file mode 100644
index 000000000000..8217d367a8b8
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.32.5.7349.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2023 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}-8f4248874"
+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
+}