diff options
author | Joe Kappus <joe@wt.gd> | 2023-02-02 03:01:24 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-03 07:34:37 +0000 |
commit | a2a7221ab47f642791e72cdad641a34d739691d2 (patch) | |
tree | 8ecc13b2c8e67c2308c7a4b6db9de0a799e61b72 /media-tv/plex-media-server | |
parent | media-tv/plex-media-server: add myself as a maintainer (diff) | |
download | gentoo-a2a7221ab47f642791e72cdad641a34d739691d2.tar.gz gentoo-a2a7221ab47f642791e72cdad641a34d739691d2.tar.bz2 gentoo-a2a7221ab47f642791e72cdad641a34d739691d2.zip |
media-tv/plex-media-server: add 1.29.2.6364
Ebuild courtesy of Christopher Crammond.
Closes: https://bugs.gentoo.org/883725
Signed-off-by: Joe Kappus <joe@wt.gd>
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 | 3 | ||||
-rw-r--r-- | media-tv/plex-media-server/plex-media-server-1.29.2.6364.ebuild | 72 |
2 files changed, 75 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest index 0333b20d7109..00126daa4455 100644 --- a/media-tv/plex-media-server/Manifest +++ b/media-tv/plex-media-server/Manifest @@ -3,3 +3,6 @@ DIST plexmediaserver_1.25.8.5663-e071c3d62_i386.deb 70296296 BLAKE2B 86ae0969135 DIST plexmediaserver_1.29.0.6244-819d3678c_amd64.deb 84783212 BLAKE2B 038183f0b3d59e51c0ed83b7c3a4c0b5250db9ff6a61e3f2f97ec0793b57ace2f8ac458a507f48d4a7b11a263c4c74cb5a96c7cb8a6afa6c4727104cca0a5b96 SHA512 82b1b87a17d787efb5a9bb88161ca2e622af6fa077c12738a2c43ff170d48377da9ceb249c2bbc7d23b76199e25c6d531b6ca2c7ad4c936ca29b76d95f097d06 DIST plexmediaserver_1.29.0.6244-819d3678c_arm64.deb 74021480 BLAKE2B 933574b68a04c35fd49d0bb4d903ea830511d95ee3ab50d2971948779b041d971548dac9d221d98acb0441e6d3c848e5015176746d86008ab597816a9e3fda68 SHA512 999ed4459ce9476e717287a0e20f6124cea70e067949c55ffb6104d678b016aa43e45949ec1bd12f67c33c483bdc0c93a5918f36f1b62d601a75c6509563692d DIST plexmediaserver_1.29.0.6244-819d3678c_i386.deb 77619992 BLAKE2B e15181a7032cda861629d4433a270f71d73344332e7a87a98059172437e619aa13c3d5650e7ea422a576e218783490b940912937133eec3abf2e38b8e19a0d15 SHA512 dfa676ee6d9192c694420db8c28623747b7fd1ed45c8e0c09fd2dc5c17e089edcbd8f68457b8ba0e38cf68fa70b7e9a39d3885fac0197d8169d6be67a6e6107e +DIST plexmediaserver_1.29.2.6364-6d72b0cf6_amd64.deb 84526490 BLAKE2B 0135e6bb8dedb151cbf28077371fa8a568fb05a0d0018db83e2ce1291163be2831a90ac68f1f9b7dc84ba2cb6c97b08f2591697ba9ed61782cee1c8ba2489f71 SHA512 f53396ff7b2f27178c50f46b1d03245d33aef8057bc1ac51226521e997dddb1a2fa77c3985f130493838fd8f6f020dd8a212213b751a36912c93109a6c3743ee +DIST plexmediaserver_1.29.2.6364-6d72b0cf6_arm64.deb 73841246 BLAKE2B bb6660a4b3bd5e47baa9f7e5d51a4c5d68604475370eb894d6728b22e50772004c7d01abc39db2336bb026b63e827599fd92c0a0b3a7846b410b6682ac04b84c SHA512 1c51b9679141ff4a5ff35c6bfdd266b527d2b6033ef22427ce1563d8014664842af93789f4d1ccc45f0ca693dbdba92edc56ca683a2a3b46866676d068437ab1 +DIST plexmediaserver_1.29.2.6364-6d72b0cf6_i386.deb 77583910 BLAKE2B 8f2e3d49f19284122de0b0c54e5de4551a55d47fd89d9272ab0d39d02293976984af829e62fa115e7cfae52b0a657b63da3549b6727f6ae5a9d76b47ca6184f1 SHA512 342041917b0c75ecdd8cffdc34e949ac84c20cb5327912b0895f8d8b4b60b8d00cc9e21af36857a921ebeaf8b8a0226c3f3ccd73254bcf69c0906115ee30c677 diff --git a/media-tv/plex-media-server/plex-media-server-1.29.2.6364.ebuild b/media-tv/plex-media-server/plex-media-server-1.29.2.6364.ebuild new file mode 100644 index 000000000000..df746d41304f --- /dev/null +++ b/media-tv/plex-media-server/plex-media-server-1.29.2.6364.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit readme.gentoo-r1 systemd unpacker + +MY_PV="${PV}-6d72b0cf6" +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 ) + arm64? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_arm64.deb ) + x86? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_i386.deb )" +S="${WORKDIR}" + +LICENSE="Plex" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64 ~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 +} |