summaryrefslogtreecommitdiff
path: root/media-tv
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/Manifest.gzbin3609 -> 3609 bytes
-rw-r--r--media-tv/plex-media-server/Manifest5
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.32.5.7516.ebuild90
3 files changed, 95 insertions, 0 deletions
diff --git a/media-tv/Manifest.gz b/media-tv/Manifest.gz
index c094e2cd8e6d..fc38165613dd 100644
--- a/media-tv/Manifest.gz
+++ b/media-tv/Manifest.gz
Binary files differ
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 1024bdbc7128..906852f1e34b 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -26,10 +26,15 @@ DIST plexmediaserver_1.32.5.7349-8f4248874_amd64.deb 76029190 BLAKE2B 7ceb9e9580
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
+DIST plexmediaserver_1.32.5.7516-8f4248874_amd64.deb 76036002 BLAKE2B 1abf57b537df6f5021295685c11a78243b62f32d984f3a26414ab753e52ea1330bc87ec0fdd15bdfe9cae88bd766ede529ebadeb90b4bab272aca5cda7e2f111 SHA512 5eff4182623bdc8d0478150d11c966f709f347771126d5af30a48114c0f1295994bb4d12ba36118b528a626f3054366446eb9fdb892854fc95c0d07e71600e72
+DIST plexmediaserver_1.32.5.7516-8f4248874_arm64.deb 70352660 BLAKE2B d1adebea17508a931997ea19ca56763b3978b3d5d994b7ea3c91529efe5635102a280d112f0228380961309843416a38341338fbe21582ac68925c7d3d16e2eb SHA512 9f31d36d2e3d2fa73e44e6da5e575a17ad7185dfde3db0d8533836e579ce620c0a20988f471ca66e231fefc473049c7a5cd55ac3daac6e2487d176b3e8435de1
+DIST plexmediaserver_1.32.5.7516-8f4248874_armhf.deb 70787042 BLAKE2B 996374774d4935e059ffd580c1e29d32b2e1f9d617bf914d58ee14907702497b9359deb5332c72879b1d038a7ff0dccf3e60b9b5430806b2cb65f7d9c245631b SHA512 fb12057783a56a4eefa801df0474b16e6942c8f01e22d78682c40775301ef5c87dc8b18ecf4ec822cc419e10f762c300288b7bdaaa4534d4c518e344127df5a7
+DIST plexmediaserver_1.32.5.7516-8f4248874_i386.deb 74134614 BLAKE2B 5aac747596abc9c121fc024bf92fbd022b5df6432aa61363be270f53a3d58a5598c9dc1617b137f593a2a42c978800dd63c8b8373fc54fea289713add5b7992c SHA512 d36a562ef6b93178832f0c64e59807274864eb67de36755750baa12b93d2be33b482c573cbde88f5abca44e8de6e3550c4c1b6aa376c237d0d6c939a90df64c4
EBUILD plex-media-server-1.31.1.6733.ebuild 2239 BLAKE2B 6a2ce79a2ef768d21a356d5d7ade62f9dc84ad6a6bde834fc190e2584f0392197ced5195188a3d3425800ea6ede997941f1b5360fc7720b01ad4b770b75504d3 SHA512 95bc068c4c559e0ebe52079a1dc9fbc5bc57c24eb1e56b384abb54e050ba4e553bc2c44ad2f12420af5fea0e3abb7b4745b100f776b72fd77bbcb902f58bb98f
EBUILD plex-media-server-1.32.0.6973.ebuild 2315 BLAKE2B 80ee69c2afbbcf9a09451426e571eed1bde9765cec8f3dc3cf1f8e5353ff4321793a5967ebbc4ed147ec588e9a296c9045c75d049b2eb38977491d7368a7c4a3 SHA512 079250677b91474591c65161eadd354e2015718dc39bd210e1aa5891f66c013c76c0a61b37aad54ded5fc1e0a2009cd87637a1015764767c5470a0e370013d48
EBUILD plex-media-server-1.32.1.6999.ebuild 2316 BLAKE2B 596500a760a4170a30aa69ed2c22ffda657a88df88bcfb1a1280be2e3400b135605921ecdc2919b7c8b70842420876ae8b31f47ed64dcafb180bb018abac0b3a SHA512 df84b16b7f3d981dfaabd268b6d20b43b36e280f2b7436cdbf5d04c4b5100a7822da296e452065ccabdce63f6de524938f61d554ea435a8bb78be0be5811f2e7
EBUILD plex-media-server-1.32.2.7100.ebuild 2316 BLAKE2B 97db339de3d0835066c07d717e1074583bafe16a24a975932d086f22cf49310eb1293122fc571d4cc36b116c85469cf1696af27de210c7c4ad73930f692ee229 SHA512 b9b359d4a260fd59463bd8e1587f93a4d79b2ee1ae2f33ac7b3480ffaa2a3474c21aaaaca04f769923e8f80caa022020fd884892819d3d56f4cfe63b5e2a590c
EBUILD plex-media-server-1.32.3.7162.ebuild 2315 BLAKE2B acfa905ba25c8036aad14751a8df26585940cc07a7624232868f46c6db01ebe8ae65d665dfb6444bcc8789e0c83ce0b1178a306159e86feab8aecd3fbde4b574 SHA512 557c3868d19e93f593613d8073c22354a2e78a27226be5dd54087234a613caacda19b3cda51b12aa363ca45dc19d436eef26240a156ab517961352b3b82b8347
EBUILD plex-media-server-1.32.5.7349.ebuild 2316 BLAKE2B 2ee4d3d457e41be79b6b086be3a38d8b7569780137b816e67694da9b2c387eb7f047a223d7f418e6b3decefbfe25c8d01a4f89ba06f9f568a7a61f4cc7541ea3 SHA512 a20d37f2b18aebb79036e7841ca7809f8007026ac8c71eabd6b8d5b1a93eb74cb967daf9b31d6077b489ac63f8317162eb165091c3e1cffafd99f4059761187f
+EBUILD plex-media-server-1.32.5.7516.ebuild 2512 BLAKE2B cacdbec2abcca7501b3c7ac032f9c734919b85d7c982e87976bb02ae40dca77cf1a9468e0d896d11f312f2c87fd6ebe2a3b099106f99889ed26dd0ad8db805f4 SHA512 d3b65a46791117dbb3cb48e1ae8e58f6ad10cdfb42777994e1ef30d7e10dbccd2412ce14178165d3d06b412965f2a5e16f5b0adff886baceb22afcc930b9d136
MISC metadata.xml 572 BLAKE2B 43e637c63f2745de898d7312c317a9faf5013832c04d266da364b70fa7b8fd4e18c1a4e8cda0ee3a8ea1a5970214a4444cef31e010db6a7bf7703d919ab70c22 SHA512 eabead0de1cec6174dad9fee3094f928373d0a69ab59bf81fd4fd205f6e49d2767bede834e43ef3a12dbd2c25c993019f4f6bb6ab82da900ade3eb182d260b79
diff --git a/media-tv/plex-media-server/plex-media-server-1.32.5.7516.ebuild b/media-tv/plex-media-server/plex-media-server-1.32.5.7516.ebuild
new file mode 100644
index 000000000000..1c51256eb354
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.32.5.7516.ebuild
@@ -0,0 +1,90 @@
+# 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
+
+ einfo
+ einfo "Be advised beginning 2023-10-12 Plex will begin blocking servers"
+ einfo "hosted at Hetzner. More information:"
+ einfo "https://forums.plex.tv/t/not-allowed-to-use-hetzner/853570"
+}