diff options
author | Scott Martin <om@organizedmagnetism.com> | 2021-07-29 20:20:06 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-07-30 08:55:21 -0400 |
commit | fb95a649fffd5a75de8d69725e2ec3d9610779f0 (patch) | |
tree | 577d446258539e523171b75005b37268bfd821cc | |
parent | sys-apps/util-linux-2.37.1: fix lscpu segfault on some arches (diff) | |
download | gentoo-fb95a649fffd5a75de8d69725e2ec3d9610779f0.tar.gz gentoo-fb95a649fffd5a75de8d69725e2ec3d9610779f0.tar.bz2 gentoo-fb95a649fffd5a75de8d69725e2ec3d9610779f0.zip |
media-tv/plex-media-server: version bump to 1.23.6.4881
Signed-off-by: Scott Martin <om@organizedmagnetism.com>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r-- | media-tv/plex-media-server/Manifest | 2 | ||||
-rw-r--r-- | media-tv/plex-media-server/plex-media-server-1.23.6.4881.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest index 81760f2c8cd7..23751f102725 100644 --- a/media-tv/plex-media-server/Manifest +++ b/media-tv/plex-media-server/Manifest @@ -2,3 +2,5 @@ DIST plexmediaserver_1.23.5.4841-549599676_amd64.deb 81750100 BLAKE2B 2b8e110c6e DIST plexmediaserver_1.23.5.4841-549599676_i386.deb 75095044 BLAKE2B 724a8f0c9d29c591759de8b2208ddcf1f6ec81aee0535939f95a11b2927c1c47545eb85de26ee41dd0e9ca021eeda00bde45fb6efe8bfc6c11e021f2fdd86eff SHA512 29ce137e93223b83960ac439314aec1f4c4ad78d392f48376faa3912023f4fd866005b14380b91eeacb1a3673f8b8ea464cd9ceff3ece2592190c32d24c9c8e8 DIST plexmediaserver_1.23.5.4862-0f739d462_amd64.deb 81567672 BLAKE2B af6df77cef72901a7483d25bc957d4f0d9bdf9ea3bd0f6822c31c1f2ba3e896b83d86892532da3335a361c3ee660321a70fdf2a532fdca3705e6d4e9c66493c7 SHA512 0e89067946aa77ef5df8b28618396171a1caac051a6109437edc71ed509fcc73bc175f084616f8abf73a4495eb624bad2b39c1c50eaa7bca1859bf3b57f691b6 DIST plexmediaserver_1.23.5.4862-0f739d462_i386.deb 74930234 BLAKE2B 36c5b62317ee55bb585dd98f488f29191d9203f07d983936c4c7ed7c85dac5c6bd9cdf635658ebe6518e2d975391652b02253a569388252de74517e2f7c34bf5 SHA512 1f6284e22fc1de9f8e3ab6f6d9ec40d9cebac9e9babf1f25741f6b8c72d376a2479b894a5fd3bfd85db7b3d47314ab178ccc34bcbf021393d03059463cad9e58 +DIST plexmediaserver_1.23.6.4881-e2e58f321_amd64.deb 81538488 BLAKE2B 4ef972686fcce2e69728f7b19b3b40354808862efde93b7c247828671518ed420981222dce002f8477e84afe460a78f41287a9d31c525289c73a395ac475efc3 SHA512 da9a487b28b6fa341da6652c77018cde3446375a7344222c9c617e0b4f4686915f3f8044d38d80247b0ef9d2875f875ba81064edf7429deaa4be32c3d06d4971 +DIST plexmediaserver_1.23.6.4881-e2e58f321_i386.deb 74534752 BLAKE2B b9b29f4397bae7de86a6f8a09fe32bd751ec0df8f37335fd451b304c3e3a938fe37208613861a1b349b2e9ef7c531e57e6f9987852123614b19df917b3abdfea SHA512 8441ca480073b3378ddb5f9c96a7866e9a46151365c2d956924398fb33ecbc3eb92bdf883a9f59a34d4d3a142314c86046a549e10baae5571cb0bdf38b126078 diff --git a/media-tv/plex-media-server/plex-media-server-1.23.6.4881.ebuild b/media-tv/plex-media-server/plex-media-server-1.23.6.4881.ebuild new file mode 100644 index 000000000000..332463574089 --- /dev/null +++ b/media-tv/plex-media-server/plex-media-server-1.23.6.4881.ebuild @@ -0,0 +1,72 @@ +# 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}-e2e58f321" +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 "${FILESDIR}/plexmediaserver" "${ED}/etc/default/" || 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 "${FILESDIR}/${PN}.init.d" ${PN} + newconfd "${FILESDIR}/${PN}.conf.d" ${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 +} |