diff options
author | Andy <gebauer.andy@gmail.com> | 2022-11-05 14:37:52 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-11-05 14:37:52 +0200 |
commit | 2aeee04901f41a6252399a733f6d04798cdd1123 (patch) | |
tree | 7681874f9affe5299462ebeba782104b53266427 /media-tv | |
parent | www-client/firefox: add 106.0.5 (diff) | |
download | gentoo-2aeee04901f41a6252399a733f6d04798cdd1123.tar.gz gentoo-2aeee04901f41a6252399a733f6d04798cdd1123.tar.bz2 gentoo-2aeee04901f41a6252399a733f6d04798cdd1123.zip |
media-tv/plex-media-server: add 1.29.0.6244
Closes: https://bugs.gentoo.org/873949
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/plex-media-server/Manifest | 3 | ||||
-rw-r--r-- | media-tv/plex-media-server/plex-media-server-1.29.0.6244.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 4710ea245a82..158cccaa1959 100644 --- a/media-tv/plex-media-server/Manifest +++ b/media-tv/plex-media-server/Manifest @@ -8,3 +8,6 @@ DIST plexmediaserver_1.25.7.5604-980a13e02_amd64.deb 78678046 BLAKE2B 901d2a1821 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 +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 diff --git a/media-tv/plex-media-server/plex-media-server-1.29.0.6244.ebuild b/media-tv/plex-media-server/plex-media-server-1.29.0.6244.ebuild new file mode 100644 index 000000000000..b6a9eab8a79f --- /dev/null +++ b/media-tv/plex-media-server/plex-media-server-1.29.0.6244.ebuild @@ -0,0 +1,72 @@ +# 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}-819d3678c" +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 +} |