summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Kappus <joe@wt.gd>2023-02-02 03:16:19 -0500
committerSam James <sam@gentoo.org>2023-02-03 07:34:38 +0000
commitf03282c92a0150d8fb2938b0f5964be6dcb91172 (patch)
treea99bf893e143993cc8fbfc7490820f6db61137f3 /media-tv
parentmedia-tv/plex-media-server: add 1.30.0.6486 (diff)
downloadgentoo-f03282c92a0150d8fb2938b0f5964be6dcb91172.tar.gz
gentoo-f03282c92a0150d8fb2938b0f5964be6dcb91172.tar.bz2
gentoo-f03282c92a0150d8fb2938b0f5964be6dcb91172.zip
media-tv/plex-media-server: add 1.30.2.6563
Signed-off-by: Joe Kappus <joe@wt.gd> Closes: https://github.com/gentoo/gentoo/pull/29391 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/plex-media-server/Manifest3
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.30.2.6563.ebuild72
2 files changed, 75 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index bdbd80186a87..6eaf225850d8 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -9,3 +9,6 @@ DIST plexmediaserver_1.29.2.6364-6d72b0cf6_i386.deb 77583910 BLAKE2B 8f2e3d49f19
DIST plexmediaserver_1.30.0.6486-629d58034_amd64.deb 85093196 BLAKE2B d96256ac100518260dbcbc2b8b26d4269aa73f0827b3e4536c93f3872f4e94299561a8b25f5b9afbf850ec3ff5cc5537b0b3b9260dd715cc6285d07d1ff76e98 SHA512 338938a567ccbe6f52fd23d62675a43254c1dbb4e6f0c7b9fbc69f776712a4d07475a7afff0b37f0d0b834a4c5c3b185a537179ae755c110915e86b44db86710
DIST plexmediaserver_1.30.0.6486-629d58034_arm64.deb 73996128 BLAKE2B 3d15e7ed4a976b1f804e6e23db474c83239cb1174dfa4d732c941ec713bf653975e93193b8d57918af2e377fbfe31e2fe332fb3f33d8f617fdb9ac91c8f5d316 SHA512 d1617ab616a79474b12d481dad20722eb49dce0f1880a2633d7da90bdc36a8da582a79e6c43f973d298a2395962cc31923e9f0d586d69ceb49ab4366c9da8b99
DIST plexmediaserver_1.30.0.6486-629d58034_i386.deb 77346416 BLAKE2B f7a54046e09bdd02729cdab5dcaeb5967814ab8d4f0669f19e425dfed814a0b436419f03634d39197261a91e1b7b3837db8a0071de870820b3ced85c00bc024b SHA512 8eb9b0e16fc5103e78fc1ea4e1d0e036d24c1a254ec4c823b444d8b69c49f69a9c5920e0a6657e06b29493f57eec23ff84a029744739d67ca32d0ace63c1524e
+DIST plexmediaserver_1.30.2.6563-3d4dc0cce_amd64.deb 85250976 BLAKE2B e7637733dc0e3c966e9609abfdefeb06b9985956fc8cffa58e5022a3e9e3924d186cf642c5b68a38340a99dcc0fa1619c91e564d69a4e7a7b5ae8633d6408d42 SHA512 c852ff8de3efbc06fcba6d5af3f7e68406cda8fe1e72b3954b3909dd83dfa39f973c2bc62e7e3a9a9b5b6169263af938c3564fe2d237c722eb3716cf5f01af52
+DIST plexmediaserver_1.30.2.6563-3d4dc0cce_arm64.deb 74318740 BLAKE2B cc8b42b75aac0de511902ba22b6dcbe649ba3e8c919c9d2fa6baa876ed0e1279c19abed3172a6aec5713967324c3534feebd67e60489c85b8d13aaad7d89f818 SHA512 ce900b6442e77ecbfcd2bb88a89f900423bbb408e8f0600455cce78d28c07462431270e4b2f2f19763a75ef07ab11cfabd2c99bf3931bfaf60e112f3bb133532
+DIST plexmediaserver_1.30.2.6563-3d4dc0cce_i386.deb 77862086 BLAKE2B dffabe49b1e556514272eb2be0b5eab4ba47277e08ffac8037904d77c564fb5dba477e21663b92b15013631a8ed319bf33396e70b075026cdbaa45bcde65c817 SHA512 7293d33ba658791307f5aa45a19d5f9a5d4288ce2b3509322b5ecb496f8b2e6436850ce3c23b722d7af775fc7732760b5db853c9429d3abc60050e5e590a780b
diff --git a/media-tv/plex-media-server/plex-media-server-1.30.2.6563.ebuild b/media-tv/plex-media-server/plex-media-server-1.30.2.6563.ebuild
new file mode 100644
index 000000000000..5da3a90f065b
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.30.2.6563.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}-3d4dc0cce"
+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
+}