summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi 'Comio' Mantellini <luigi.mantellini@gmail.com>2022-03-21 14:10:32 +0100
committerSam James <sam@gentoo.org>2022-03-21 23:34:38 +0000
commit6cad382d9e80c01195070f02b64e880cd9ec16f0 (patch)
treef33a94ce627df0dfca9c82cbd663341eda55ad83 /media-tv
parentapp-text/zathura-pdf-mupdf: fix sed call (diff)
downloadgentoo-6cad382d9e80c01195070f02b64e880cd9ec16f0.tar.gz
gentoo-6cad382d9e80c01195070f02b64e880cd9ec16f0.tar.bz2
gentoo-6cad382d9e80c01195070f02b64e880cd9ec16f0.zip
media-tv/plex-media-server: Bump v1.25.7.5604
See https://forums.plex.tv/t/plex-media-server/30447/491 Closes: https://bugs.gentoo.org/835739 Signed-off-by: Luigi Mantellini <luigi.mantellini+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24695 Signed-off-by: Sam James <sam@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.7.5604.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 4c41f167ffb6..1e31cc946528 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -4,3 +4,5 @@ DIST plexmediaserver_1.24.4.5081-e362dc1ee_amd64.deb 87182480 BLAKE2B 9e93656ee7
DIST plexmediaserver_1.24.4.5081-e362dc1ee_i386.deb 79593852 BLAKE2B ab141fefe68d4d5c92e48cbbc93661bd56612289a8bc0559c8083ad169b997f555fb02d808d7a8feda9d47f573f2041668ed3dd876ab81b848958c4b820869c2 SHA512 e17d6c8268690e46d49197e4e77df8af97d8a2c5046605237d6c90a2627da1cfb6c16c36dccc7bc31f95f497de7da1e0a2bab8e5331bc1f3bc44d5a3610ab1bb
DIST plexmediaserver_1.25.4.5487-648a8f9f9_amd64.deb 78416314 BLAKE2B 8adf34e6095ebda829d0fa6a1bc7fabb8c159d9883bc1fc4cfe55feba9e51be71b9ad552889835bc374c4c04479d4c0bfd6255f21674f56d9960cc8dded53f30 SHA512 f324746bcae8406356fd3ae9a3647d6c1de44b26f35cc000af203af8dc8be69363e85562e56411fa2fc2039de0d58fe9f8beb1eab4029ade62b0afbb0af849ea
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
diff --git a/media-tv/plex-media-server/plex-media-server-1.25.7.5604.ebuild b/media-tv/plex-media-server/plex-media-server-1.25.7.5604.ebuild
new file mode 100644
index 000000000000..f3cc1ec04bb7
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.25.7.5604.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}-980a13e02"
+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
+}