diff options
author | Joe Kappus <joe@wt.gd> | 2023-02-02 03:08:36 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-03 07:34:38 +0000 |
commit | 59ddc7894943bc73ebe8e8efa143321f075c81d0 (patch) | |
tree | 41b58a2577305a0b5afb0a9cf6932c2d00f2f7b1 /media-tv | |
parent | media-tv/plex-media-server: add 1.29.2.6364 (diff) | |
download | gentoo-59ddc7894943bc73ebe8e8efa143321f075c81d0.tar.gz gentoo-59ddc7894943bc73ebe8e8efa143321f075c81d0.tar.bz2 gentoo-59ddc7894943bc73ebe8e8efa143321f075c81d0.zip |
media-tv/plex-media-server: add 1.30.0.6486
Ebuild courtesy of Christopher Crammond, thanks!
Closes: https://bugs.gentoo.org/888615
Signed-off-by: Joe Kappus <joe@wt.gd>
Signed-off-by: Sam James <sam@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.30.0.6486.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 00126daa4455..bdbd80186a87 100644 --- a/media-tv/plex-media-server/Manifest +++ b/media-tv/plex-media-server/Manifest @@ -6,3 +6,6 @@ DIST plexmediaserver_1.29.0.6244-819d3678c_i386.deb 77619992 BLAKE2B e15181a7032 DIST plexmediaserver_1.29.2.6364-6d72b0cf6_amd64.deb 84526490 BLAKE2B 0135e6bb8dedb151cbf28077371fa8a568fb05a0d0018db83e2ce1291163be2831a90ac68f1f9b7dc84ba2cb6c97b08f2591697ba9ed61782cee1c8ba2489f71 SHA512 f53396ff7b2f27178c50f46b1d03245d33aef8057bc1ac51226521e997dddb1a2fa77c3985f130493838fd8f6f020dd8a212213b751a36912c93109a6c3743ee DIST plexmediaserver_1.29.2.6364-6d72b0cf6_arm64.deb 73841246 BLAKE2B bb6660a4b3bd5e47baa9f7e5d51a4c5d68604475370eb894d6728b22e50772004c7d01abc39db2336bb026b63e827599fd92c0a0b3a7846b410b6682ac04b84c SHA512 1c51b9679141ff4a5ff35c6bfdd266b527d2b6033ef22427ce1563d8014664842af93789f4d1ccc45f0ca693dbdba92edc56ca683a2a3b46866676d068437ab1 DIST plexmediaserver_1.29.2.6364-6d72b0cf6_i386.deb 77583910 BLAKE2B 8f2e3d49f19284122de0b0c54e5de4551a55d47fd89d9272ab0d39d02293976984af829e62fa115e7cfae52b0a657b63da3549b6727f6ae5a9d76b47ca6184f1 SHA512 342041917b0c75ecdd8cffdc34e949ac84c20cb5327912b0895f8d8b4b60b8d00cc9e21af36857a921ebeaf8b8a0226c3f3ccd73254bcf69c0906115ee30c677 +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 diff --git a/media-tv/plex-media-server/plex-media-server-1.30.0.6486.ebuild b/media-tv/plex-media-server/plex-media-server-1.30.0.6486.ebuild new file mode 100644 index 000000000000..9eff8ac2bdeb --- /dev/null +++ b/media-tv/plex-media-server/plex-media-server-1.30.0.6486.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}-629d58034" +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 +} |