summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Martin <om@organizedmagnetism.com>2021-07-15 10:33:24 -0500
committerSam James <sam@gentoo.org>2021-07-16 02:33:16 +0100
commit5dae22ee27cd4a5b6ded79b6c2af26d44ee79411 (patch)
treee7f9db7572943d2bf271075db2b0110dbbaa2e1c /media-tv/plex-media-server
parentnet-analyzer/ifstat: keyword 1.1-r2 for ~riscv (diff)
downloadgentoo-5dae22ee27cd4a5b6ded79b6c2af26d44ee79411.tar.gz
gentoo-5dae22ee27cd4a5b6ded79b6c2af26d44ee79411.tar.bz2
gentoo-5dae22ee27cd4a5b6ded79b6c2af26d44ee79411.zip
media-tv/plex-media-server: version bump to 1.23.4.4805
Signed-off-by: Scott Martin <om@organizedmagnetism.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-tv/plex-media-server')
-rw-r--r--media-tv/plex-media-server/Manifest2
-rw-r--r--media-tv/plex-media-server/files/README.gentoo5
-rw-r--r--media-tv/plex-media-server/files/plexmediaserver2
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.23.4.4805.ebuild72
4 files changed, 79 insertions, 2 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 9a2d023aa8df..9f2154e4a78a 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -4,3 +4,5 @@ DIST plexmediaserver_1.23.2.4625-a83d2d0f9_amd64.deb 81773538 BLAKE2B 7b22cdd466
DIST plexmediaserver_1.23.2.4625-a83d2d0f9_i386.deb 75148422 BLAKE2B 1758529c97b3f743df44321074f95f85ce7003fd9d92e4a849776e9f24bf6034de6e90c123db9c36c8732cffbc65089f6db20fba8ffffac1b6bce238b1595b04 SHA512 0e727d96bc147d7c4457f91c8309e1937bbee49a1599ff376959fb25cdc62fa3df1ae09880cc6ada7d8dfa4cbadccce24c35ad3bd41143f086ea1a0861e010f0
DIST plexmediaserver_1.23.3.4707-ebb5fe9f3_amd64.deb 81474702 BLAKE2B 8e12a9c39bea8f44e6fa4fa495556cafc9865682b27c64b06072470367d7e9a64eca3147197ddef0b277fbd28970f85b388fc812f3532890d45506c49432324e SHA512 c30e19e1895eeaa699effb1d3d282fbf1f3657aff2d41af61f30f398fc501bac12e8d178abc12c818f52c52c0bc1bf803ad74985521e37f5db6baf60ecc959ab
DIST plexmediaserver_1.23.3.4707-ebb5fe9f3_i386.deb 74842010 BLAKE2B 36967187241afdd7294ac46e03b5f55c1b22f5f7e2ba974ea322a369c41768cd6b7fd44d82ebf0afae1a98f5178161740e1d40d5f2c17faffa5b4ccb1d811eed SHA512 4625ea0b195fad305679656728c98ba8b15b38b86cbc9a95fbc6b617fb45e7e41b24f2c1ef2bc9736207d888c295d4e423a3d00fe654036ca1865782d88790ac
+DIST plexmediaserver_1.23.4.4805-186bae04e_amd64.deb 81419308 BLAKE2B df205474d640a6e6403e8c33f507a52bf2b1f5fd5352285e71357e0640a3e1ab644b0ed8e7ce2d01c30a4a657fab9601e4bf169bb520567550b0b182b988a1f3 SHA512 6e8febdfe7d3dbd7d00c76b5f8e10a72ec6fe5744602101adca4ea127147b6a0681f5207f1805b621bd9107ae0b15f8286b2e9e0ed96838378f29d888af52fd8
+DIST plexmediaserver_1.23.4.4805-186bae04e_i386.deb 74764294 BLAKE2B c4f1b978acd84d30d1685065e7eab7a87dec5c03d448c9d2ef378c57ed4f2dc9067379279cd97815e58a86690406fc8646be2f9bbdd552288782c14750ee1799 SHA512 55ed319e0a5e2290157cc800967ae26f80dcfa3c8476c0fb770a13069096ef8d88d9dd24cd8b7619828e5f2f17ac2ab2ca4ac0c748843e9af61866d4c60a45fd
diff --git a/media-tv/plex-media-server/files/README.gentoo b/media-tv/plex-media-server/files/README.gentoo
index ec4445ac397d..db988e30fe06 100644
--- a/media-tv/plex-media-server/files/README.gentoo
+++ b/media-tv/plex-media-server/files/README.gentoo
@@ -1,7 +1,8 @@
Plex Media Server is now installed. Please check the configuration file.
It can be found in /etc/plex/plexmediaserver to verify the default settings.
-Adjust thread counts and memory usage limits in /usr/sbin/start_pms for best
-performance. To start the Plex Server, run 'rc-config start plex-media-server'
+Adjust thread counts and memory usage limits for best performance.
+
+To start the Plex Server, run 'rc-config start plex-media-server'
You will then be able to access your library at http://localhost:32400/manage
If installing on a remote host you will need to use a ssh tunnel eg,
diff --git a/media-tv/plex-media-server/files/plexmediaserver b/media-tv/plex-media-server/files/plexmediaserver
new file mode 100644
index 000000000000..d1981dc1c6f4
--- /dev/null
+++ b/media-tv/plex-media-server/files/plexmediaserver
@@ -0,0 +1,2 @@
+export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=4
+export PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000
diff --git a/media-tv/plex-media-server/plex-media-server-1.23.4.4805.ebuild b/media-tv/plex-media-server/plex-media-server-1.23.4.4805.ebuild
new file mode 100644
index 000000000000..6a97c242b504
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.23.4.4805.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit readme.gentoo-r1 systemd unpacker
+
+MY_PV="${PV}-186bae04e"
+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 )
+ x86? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_i386.deb )"
+S="${WORKDIR}"
+
+LICENSE="Plex"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="mirror bindist"
+
+DEPEND="
+ acct-group/plex
+ acct-user/plex"
+RDEPEND="${DEPEND}"
+
+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"
+)
+
+src_install() {
+ # Remove Debian specific files
+ rm -r "usr/share/doc" || die
+
+ # Add startup wrapper
+ dosbin "${FILESDIR}/start_pms"
+
+ # Add user config file
+ mkdir -p "${ED}/etc/default" || die
+ cp "${FILESDIR}/plexmediaserver" "${ED}/etc/default/" || 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
+
+ newinitd "${FILESDIR}/${PN}.init.d" ${PN}
+ newconfd "${FILESDIR}/${PN}.conf.d" ${PN}
+
+ systemd_dounit "${ED}"/usr/lib/plexmediaserver/lib/plexmediaserver.service
+ keepdir /var/lib/plexmediaserver
+
+ # 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
+}