media-tv/plex-media-server: Plex Media Server 1.25.4.5487 is now available to everyone.

See https://forums.plex.tv/t/plex-media-server/30447/484

Closes: https://bugs.gentoo.org/832412
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24028
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Luigi 'Comio' Mantellini
2022-02-01 09:01:04 +01:00
committed by Sam James
parent 3d2221de1e
commit c76acf9df7
2 changed files with 73 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST plexmediaserver_1.24.2.4973-2b1b51db9_amd64.deb 86646728 BLAKE2B bbf06b3e0c
DIST plexmediaserver_1.24.2.4973-2b1b51db9_i386.deb 79557092 BLAKE2B 90afb0880f6c95b382456c60d8b039e189df0dba531258f1fda52fe8d360052131e4af7bb21ced59870ccd38a10857512058b47d7323e1e431500c643c8259ba SHA512 dea8cc65b126ecebd4ac78911f560f8622c8276b5306d07a822cdb650bb9ee4c54c6dd56dada059516ba554aec37d9e8f22f75fb415a533d452086f1e264762d
DIST plexmediaserver_1.24.4.5081-e362dc1ee_amd64.deb 87182480 BLAKE2B 9e93656ee7dd9f39162463d34e11c2f8cd81b8481baaeeffe85efb73c2223f59eb3c9bda30689252e368582631070884ee5704485e408576018608777fe617a1 SHA512 e50c900dc97303347732ce6404ca6f2584c1e4292b9d55f1588cf2864b7fbc6aee5dff7c2b311d0c2877b90578a52177a97593a617b7a9c9e892fc032e50ef58
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

View File

@@ -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}-648a8f9f9"
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
}