summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi 'Comio' Mantellini <luigi.mantellini@gmail.com>2022-03-28 10:02:18 +0200
committerIonen Wolkens <ionen@gentoo.org>2022-03-29 06:50:19 -0400
commit0361ed896d32e5d4a4f8cb9d97d62301ffdc4ad0 (patch)
treec0bca22d99c0d7a25b6c8d403825f9559fbbf370 /media-tv
parentdev-util/pycharm-professional: add 2021.3.3 (diff)
downloadgentoo-0361ed896d32e5d4a4f8cb9d97d62301ffdc4ad0.tar.gz
gentoo-0361ed896d32e5d4a4f8cb9d97d62301ffdc4ad0.tar.bz2
gentoo-0361ed896d32e5d4a4f8cb9d97d62301ffdc4ad0.zip
media-tv/plex-media-server: Bump v1.25.8.5663
See https://forums.plex.tv/t/plex-media-server/30447/494 Closes: https://bugs.gentoo.org/836309 Signed-off-by: Luigi Mantellini <luigi.mantellini+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24787 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/plex-media-server/Manifest2
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.25.8.5663.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 1e31cc946528..4710ea245a82 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -6,3 +6,5 @@ DIST plexmediaserver_1.25.4.5487-648a8f9f9_amd64.deb 78416314 BLAKE2B 8adf34e609
DIST plexmediaserver_1.25.4.5487-648a8f9f9_i386.deb 70409128 BLAKE2B 7d51592eb688d248347f9023a0fab10426ee93d66ae8aad48272c3efe286015eb831c7fce52287dc4522cca8c5c4a9d06524a3ab91a26aa84daab12b892f1b3e SHA512 de930e905b175f860922ecca0bd9ea86a102b4420d1ffb71b6c04632fed83bf41a90fd042d5e0b4e7f77a902fce19049347f81460e451f3016f1687eb18bd6c5
DIST plexmediaserver_1.25.7.5604-980a13e02_amd64.deb 78678046 BLAKE2B 901d2a1821393fe2ab33b5c8a6b2bf04ba93f84d7434a8aac7510bf663607126c34f1c503883bca3189eba7a28fe26d4ef6d20c8218d8142910e7b77a212fcf0 SHA512 df4c400dfe46df790778d2259e0d7903f55efa8704b7ae652eeecdf147336786c2ed96a392ecca734ca0cda94767ed056184ad46569dee673e5ef287d713baf4
DIST plexmediaserver_1.25.7.5604-980a13e02_i386.deb 70289616 BLAKE2B d79b1cc149a04a55072d82923a05d3072b2b799b6f41a8def441bfd6fc49feb027e6943c4d8d6dd0dfb8fec955822cecbda274020e225cdb56cfbe6f1fc744f6 SHA512 8cf95bb8604950ccde2659657bae67906d26272f83fb97e13595ef2815591dfc2cc3a85826c27e5caf7e889a0a4732ac5bfa022dfa91a6e8093d443644c4c752
+DIST plexmediaserver_1.25.8.5663-e071c3d62_amd64.deb 78680708 BLAKE2B a688096ce5462ce6a49781464727e6b6a608a71935f251480214a6ab8308cefde62d645d07a0512857e04bc7301ab580d69a183261e32565d8ec280e176effea SHA512 459a9a7bf47dc8caef3b9e72045bc039eb8482d8ae8aeb434239a1ced3ed2a3bd6caf8edea3a5306af0f5ba81ee5af5c8987db837c30e69e5c321e86f1c86df9
+DIST plexmediaserver_1.25.8.5663-e071c3d62_i386.deb 70296296 BLAKE2B 86ae0969135af2e4456c7897b68eae1961a48c4e880a62cd37f286271b0857fb83784ee963b69471121957e4c952d941172107875af658c3fd687a520a2c65ad SHA512 e3d2524e2dfbf411eb0a1626af18c4f346a41c1b83ca9dc738cff350978697fdfe3a16773815299d08f35b861f2ae9e3ca80c443230969d8aeedf47a632b7586
diff --git a/media-tv/plex-media-server/plex-media-server-1.25.8.5663.ebuild b/media-tv/plex-media-server/plex-media-server-1.25.8.5663.ebuild
new file mode 100644
index 000000000000..cc1063965958
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.25.8.5663.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 systemd unpacker
+
+MY_PV="${PV}-e071c3d62"
+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 usr/lib/plexmediaserver/lib/plexmediaserver.default "${ED}"/etc/default/plexmediaserver || 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 usr/lib/plexmediaserver/lib/plexmediaserver.init "${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
+}