diff options
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/plex-media-server/Manifest | 2 | ||||
-rw-r--r-- | media-tv/plex-media-server/plex-media-server-1.24.1.4931.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 accbb315a6ff..d79a3c7c8126 100644 --- a/media-tv/plex-media-server/Manifest +++ b/media-tv/plex-media-server/Manifest @@ -2,3 +2,5 @@ DIST plexmediaserver_1.23.6.4881-e2e58f321_amd64.deb 81538488 BLAKE2B 4ef972686f DIST plexmediaserver_1.23.6.4881-e2e58f321_i386.deb 74534752 BLAKE2B b9b29f4397bae7de86a6f8a09fe32bd751ec0df8f37335fd451b304c3e3a938fe37208613861a1b349b2e9ef7c531e57e6f9987852123614b19df917b3abdfea SHA512 8441ca480073b3378ddb5f9c96a7866e9a46151365c2d956924398fb33ecbc3eb92bdf883a9f59a34d4d3a142314c86046a549e10baae5571cb0bdf38b126078 DIST plexmediaserver_1.24.0.4930-ab6e1a058_amd64.deb 86981424 BLAKE2B b8859db43688f80074529ddb9acf38c47c869bf9c1ed180e6e8bae0f1772002d5cfff8b19c4000726a547361447ff3a4deac135ea90635a6577e05cf2fc74f21 SHA512 2e923dae4c6d5de7a1ecf253bd075b86a28fea1110b90163685fc72751e6547406f870f2b336ad377db95f87e8375dd8004f6e6ae3a64a314e08aa25a6a1fb84 DIST plexmediaserver_1.24.0.4930-ab6e1a058_i386.deb 79401568 BLAKE2B a5c89f7c030d94f03c2736b6c15ea926eca3a8dd21d565e90aa9a0d70c37d98ffce007c065e00d58dec7600f1bf4928e6f195290c9668f31fa62a3520d2a2e44 SHA512 1b5cbea1c20eb4e703011a30bc9d4515223143cf5d415cab828fb09224c7dbab02ee4a0d160643c361d9c7728659fc40e3f87c583646f487b46221d248e2188b +DIST plexmediaserver_1.24.1.4931-1a38e63c6_amd64.deb 87347750 BLAKE2B 4cfe52f29257401fc333960c0de85065d9977a5cc5a49488bca904aef9d0778fce7b2a5dea753ebf394f3dd98a4bff52f7ee3db3c938f6272f210ac1b3766256 SHA512 d2d4631e951b130c39cf49741f7cc145482ed4d03f823441bc9564354836b10fd3eb441bc053f5447679646d659d8bf7ace3ff15bd06dbbab4a218a931b51769 +DIST plexmediaserver_1.24.1.4931-1a38e63c6_i386.deb 79765562 BLAKE2B 3752fda531e5c2139240c0af1927c2ba55abde4ecb6f71d244bf37f5d8ef47a2fdff51ea76c7fbe0878ed6c9292e5b0b98f1f9934a8aa71fc9991c265c3f11fe SHA512 7d87fc54c5536b3cc1d221d0bca0f6a63c282ff26fc2cb5b63595633553821dac344f508e7c39f17db91414a1d424428896c09b3c1806a841014fe68afdc111e diff --git a/media-tv/plex-media-server/plex-media-server-1.24.1.4931.ebuild b/media-tv/plex-media-server/plex-media-server-1.24.1.4931.ebuild new file mode 100644 index 000000000000..0c8867ffe82b --- /dev/null +++ b/media-tv/plex-media-server/plex-media-server-1.24.1.4931.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}-1a38e63c6" +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 +} |