diff options
author | Scott Martin <om@organizedmagnetism.com> | 2021-10-16 10:42:08 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-31 03:42:51 +0000 |
commit | 521f5628219e58d51a9c01a74b50e9db3ce1a439 (patch) | |
tree | 10105b21b28b89dae69090de529a9dc6f12d2470 /media-tv/plex-media-server | |
parent | net-dns/knot: bump to 3.1.3 (diff) | |
download | gentoo-521f5628219e58d51a9c01a74b50e9db3ce1a439.tar.gz gentoo-521f5628219e58d51a9c01a74b50e9db3ce1a439.tar.bz2 gentoo-521f5628219e58d51a9c01a74b50e9db3ce1a439.zip |
media-tv/plex-media-server: version bump to 1.24.4.5081
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/Manifest | 2 | ||||
-rw-r--r-- | media-tv/plex-media-server/plex-media-server-1.24.4.5081.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest index a4ec17697dcc..eaa93618a719 100644 --- a/media-tv/plex-media-server/Manifest +++ b/media-tv/plex-media-server/Manifest @@ -2,3 +2,5 @@ DIST plexmediaserver_1.24.1.4931-1a38e63c6_amd64.deb 87347750 BLAKE2B 4cfe52f292 DIST plexmediaserver_1.24.1.4931-1a38e63c6_i386.deb 79765562 BLAKE2B 3752fda531e5c2139240c0af1927c2ba55abde4ecb6f71d244bf37f5d8ef47a2fdff51ea76c7fbe0878ed6c9292e5b0b98f1f9934a8aa71fc9991c265c3f11fe SHA512 7d87fc54c5536b3cc1d221d0bca0f6a63c282ff26fc2cb5b63595633553821dac344f508e7c39f17db91414a1d424428896c09b3c1806a841014fe68afdc111e DIST plexmediaserver_1.24.2.4973-2b1b51db9_amd64.deb 86646728 BLAKE2B bbf06b3e0c879f687000ad2bd6a3a19c62a1e8f6cedf9a713a1d3772c9dcb351d2f02d4ffcf8c4b5a68bcfba8fb296d85b3d2ba4e8450252b7ad9db5f97478c5 SHA512 c8b8a1e6d520c5b9955784639ad77031e951128a549b946e8bf50fb82447ba8e0a9071c683c97d50c120cfb5c9581eab883a68ff15263ee416a0543bf8d940b9 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 diff --git a/media-tv/plex-media-server/plex-media-server-1.24.4.5081.ebuild b/media-tv/plex-media-server/plex-media-server-1.24.4.5081.ebuild new file mode 100644 index 000000000000..e313293fa758 --- /dev/null +++ b/media-tv/plex-media-server/plex-media-server-1.24.4.5081.ebuild @@ -0,0 +1,71 @@ +# 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}-e362dc1ee" +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 +} |