summaryrefslogtreecommitdiff
path: root/media-tv/plex-media-server
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-02 21:29:38 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-02 21:29:38 +0100
commitabccc7eb204f4c89c47a45acfe0db1cc337585ff (patch)
treeb0b5df02c399868d144415c551e63b3ba03f0bff /media-tv/plex-media-server
parent27c1d146e5ee9e472a31a7958ad4dc70a5451ea7 (diff)
gentoo auto-resync : 02:06:2023 - 21:29:38
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.32.2.7100.ebuild85
2 files changed, 90 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index e72755bc4ab4..2a1c59b7b271 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -14,7 +14,12 @@ DIST plexmediaserver_1.32.1.6999-91e1e2e2c_amd64.deb 81190284 BLAKE2B 0731b85a45
DIST plexmediaserver_1.32.1.6999-91e1e2e2c_arm64.deb 70016540 BLAKE2B 18a755e8d97d41672edc820f1a4d7b23c5e5edc7e857ba50c932ff878ef9d29c8b7409da0db1ece09965b5eaf198740a5735c6b589cad75adad729c0e358a8b5 SHA512 0054c7940964e938acfcc9d338e6984713aaff0140e41ed2fd560c2079d3b67d656828c3078a607bd0d448a59b767c4ee8bcaba6e25b34fbf4a025989498c9dc
DIST plexmediaserver_1.32.1.6999-91e1e2e2c_armhf.deb 70523782 BLAKE2B 818b24117f32ab52ddb9ab08f7e55882d17d5238ee7d3a0e2799f2e5a4b4c1d6bdff7280384ae14804a633d7b936c4c6d2227def5f1008d3ed9aa42e3d19217c SHA512 3872a3be3c1c38f8b50545ef9aaae42be5812f1a335df524454c0f2940642dcd204aeb1222f33306fefb9de353699b87f36bf2b3018dfa823e3b95b5812600a1
DIST plexmediaserver_1.32.1.6999-91e1e2e2c_i386.deb 73809850 BLAKE2B 60bb4561b1d0379be5a0a58f04d5b37c6838478f45af134d9a7644edaae431f9b389ced076bfdc89f246aaad129260ee7fc267c0ddb02d73dfc785d3a4cf6282 SHA512 3c2fb9d95d9fc47a7c3925cbab70339e7f1e07a529fa246963418eee7e2d63e67e49a6f72e5b52febf22ccc9af7412458b1beaa929d7f8160245679f379e9ca9
+DIST plexmediaserver_1.32.2.7100-248a2daf0_amd64.deb 75591838 BLAKE2B 6af8930de7fa252e94031d2415d4215a17855e4b94eb5617c94e0527740a9d76bccb02e2bbe58b7277f3db81a5ccbe50206b0ea8696b87dc0bffb9df40eaa411 SHA512 f5e6ab42a397f089aa841dc79c3c8e9279cae774862f14b69fabaf06635c1426d8d27c57affaf2a46e5a168ed7f7247eff3f456ff845165eae289a16b659700e
+DIST plexmediaserver_1.32.2.7100-248a2daf0_arm64.deb 70003080 BLAKE2B 11831404da892bf319cdd4d45c07b87ffc776692f658c3899add4c204fb1ea77bcc4e85e8533c25f77db8cd095a47a0519bf21f9835e4fb212be92ab4f01631f SHA512 703baba12aed3543624209b959c563bd74d782d88c9e45b95e9945d1276b4f853bcef7a126a226472115b974db2de8762777fa00cc8d7a00aa52d872a3d1ed6d
+DIST plexmediaserver_1.32.2.7100-248a2daf0_armhf.deb 69887138 BLAKE2B 80230ab44536f8ddf96b3ea2be2be6e7d892f046ab211ba9730335fcb29c259f396903be9d8744ce694ee4ce36fdaf113aecf8bdadb86be4504dbc37335a9697 SHA512 f7f58f317f5f5b095ed2472799837d85cb663046c1bc827eea2d631c15656dd191743dd5b11c85ff09b303c34862da5c43a0930d48748984456f2e1e94857499
+DIST plexmediaserver_1.32.2.7100-248a2daf0_i386.deb 73479392 BLAKE2B 168e504e188806882ade7645de43430160e451eb8cf4b6ff1d5f13050e5dbeec4a0a4f603d8571ce52d94ae1ddae36fac6ed2f1b613d001bd77d1b33810e80bf SHA512 5603d65727cecfbdbaaadaf8660fb4b23a578fcff8894c9d19d1b89f258bcaf6667027a6a58eb308c835b95783817db1844b907d743809a94eab1d24a6eaed0f
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
MISC metadata.xml 572 BLAKE2B 43e637c63f2745de898d7312c317a9faf5013832c04d266da364b70fa7b8fd4e18c1a4e8cda0ee3a8ea1a5970214a4444cef31e010db6a7bf7703d919ab70c22 SHA512 eabead0de1cec6174dad9fee3094f928373d0a69ab59bf81fd4fd205f6e49d2767bede834e43ef3a12dbd2c25c993019f4f6bb6ab82da900ade3eb182d260b79
diff --git a/media-tv/plex-media-server/plex-media-server-1.32.2.7100.ebuild b/media-tv/plex-media-server/plex-media-server-1.32.2.7100.ebuild
new file mode 100644
index 000000000000..e80b0e1a9d9a
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.32.2.7100.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}-248a2daf0"
+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
+}