summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Kappus <joe@wt.gd>2023-05-09 03:19:22 -0400
committerSam James <sam@gentoo.org>2023-05-13 04:31:19 +0100
commita7ad67ec60bb8d1978368709036cb1e11a9b2ef2 (patch)
tree45b5dd62322e6329e85f17c787e85fcaa1675138 /media-tv/plex-media-server
parentnet-misc/r8125: dropped version 9.011.00 (diff)
downloadgentoo-a7ad67ec60bb8d1978368709036cb1e11a9b2ef2.tar.gz
gentoo-a7ad67ec60bb8d1978368709036cb1e11a9b2ef2.tar.bz2
gentoo-a7ad67ec60bb8d1978368709036cb1e11a9b2ef2.zip
media-tv/plex-media-server: add 1.32.1.6999
Signed-off-by: Joe Kappus <joe@wt.gd> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-tv/plex-media-server')
-rw-r--r--media-tv/plex-media-server/Manifest4
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.32.1.6999.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 f4515a5f8edf..48402d112e50 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -11,3 +11,7 @@ DIST plexmediaserver_1.32.0.6973-a787c5a8e_amd64.deb 81125330 BLAKE2B bb46c9c9b0
DIST plexmediaserver_1.32.0.6973-a787c5a8e_arm64.deb 69868446 BLAKE2B 0f2aff227937dcfb3d4d80010920f44934072a522b3b2edf60c9ddb2078e01ed2e886a551a00913708f4204c418f258be27edd1616a254f59f22b8ad58949d19 SHA512 ee4a349d96bc9834e6054482cc83e0b3a9f0db589b8348856b73cd0e7cee0670c4bfcbbd0fb0ecb999cf6f098012ac99597e24ce30db048d3b05dc21e7c62b63
DIST plexmediaserver_1.32.0.6973-a787c5a8e_armhf.deb 70229440 BLAKE2B 2aecd1717be97af5f2930ef8730eab85b96d9f0ef23dabdedd631c4e6d3633e4c3f8ebdf974da63a806fba5162ea3fa57cf5c4a8cbe5ae0de5e2e5227c8facd4 SHA512 bc17b0f374936dae602a41e169c6ab70ccee0d4d7d9f9210dd947b042c1f0627c0a35aa0a54f1e43f8e2edf5043a3cc743b479cb24b10aaad944b05423cf643a
DIST plexmediaserver_1.32.0.6973-a787c5a8e_i386.deb 73550946 BLAKE2B 50b4cc286c0f9067ffa40c54a7fb6a3a9dc2af0edbaa02c19a984473d72ecc97b3c7e577f91818b4d7e6c9bb6d13cf9725709d0f71a3b6dcf932d96b2c0a6ec9 SHA512 e28d26253c24837da543af01c9f4fec9e9abadc59de0d2f186aed702e91a723680f49342194517868458ea2a913785c77b0d5676c1bd5bbcdba108db79a89803
+DIST plexmediaserver_1.32.1.6999-91e1e2e2c_amd64.deb 81190284 BLAKE2B 0731b85a4554755524731a2a848ba140c5fb704504ba6e984f4cc9cd92de37fa2b264bd5327592bf611624a2001ef317a804b7e3117ecdbf853297300fb5ae7f SHA512 1220dbc2dc5b8ec4721166eda078db858325a6b66917acc28aa6e5bf3814aa86538e05c5482d7a20d80bf1cacf8aa9e165f0f11d8205e473fc4d7874e59b3743
+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
diff --git a/media-tv/plex-media-server/plex-media-server-1.32.1.6999.ebuild b/media-tv/plex-media-server/plex-media-server-1.32.1.6999.ebuild
new file mode 100644
index 000000000000..71ba4d9291b0
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.32.1.6999.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}-91e1e2e2c"
+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
+}