summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Martin <om@organizedmagnetism.com>2021-08-12 08:18:37 -0500
committerIonen Wolkens <ionen@gentoo.org>2021-08-14 06:34:57 -0400
commit4c6e35854b90fbb1cc7d554781b05915af0b66aa (patch)
tree4daaf313f8b41649662e0ed1e02c785556654ddb /media-tv/plex-media-server
parentnet-im/signal-desktop-bin: remove old version (diff)
downloadgentoo-4c6e35854b90fbb1cc7d554781b05915af0b66aa.tar.gz
gentoo-4c6e35854b90fbb1cc7d554781b05915af0b66aa.tar.bz2
gentoo-4c6e35854b90fbb1cc7d554781b05915af0b66aa.zip
media-tv/plex-media-server: version bump to 1.24.0.4930
Signed-off-by: Scott Martin <om@organizedmagnetism.com> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-tv/plex-media-server')
-rw-r--r--media-tv/plex-media-server/Manifest2
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.24.0.4930.ebuild72
2 files changed, 74 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 6aa054f20c95..e5a0db67c69f 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -2,3 +2,5 @@ DIST plexmediaserver_1.23.5.4862-0f739d462_amd64.deb 81567672 BLAKE2B af6df77cef
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
+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
diff --git a/media-tv/plex-media-server/plex-media-server-1.24.0.4930.ebuild b/media-tv/plex-media-server/plex-media-server-1.24.0.4930.ebuild
new file mode 100644
index 000000000000..65d588e8134f
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.24.0.4930.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}-ab6e1a058"
+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
+}