summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Kappus <joe@wt.gd>2023-04-15 00:39:52 -0400
committerSam James <sam@gentoo.org>2023-04-16 08:17:50 +0100
commitfa16d30d66928a507fd48dd89098a16f453f7376 (patch)
treef760cb44164a36b705db39da463eceaca8355ecb /media-tv
parentsci-calculators/bc-gh: Stabilize 6.5.0 hppa, #904374 (diff)
downloadgentoo-fa16d30d66928a507fd48dd89098a16f453f7376.tar.gz
gentoo-fa16d30d66928a507fd48dd89098a16f453f7376.tar.bz2
gentoo-fa16d30d66928a507fd48dd89098a16f453f7376.zip
media-tv/plex-media-server: add 1.32.0.6918
Release announcement: https://forums.plex.tv/t/plex-media-server/30447/571 Closes: https://bugs.gentoo.org/904364 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/Manifest3
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.32.0.6918.ebuild84
2 files changed, 87 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 0bedf2e69df7..080e8b4e78db 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -7,3 +7,6 @@ DIST plexmediaserver_1.31.1.6733-bc0674160_i386.deb 75390872 BLAKE2B f4f6cf7686f
DIST plexmediaserver_1.31.3.6868-28fc46b27_amd64.deb 81021076 BLAKE2B 464c12add025a33806bd6389887e5c92429bc8be6fa1b1f1440dc0ff80212595524e2a15bf225ec3dd387ce25afe7166aef913c8a384f94a518ecbfecf95fdc4 SHA512 9f3f63843dd95f28f5ee613a9df7fbc4f4a7bee6fa52525312bd046cd231f50802f2118a4d072b0feaa9fbdecfe6cef0c8c3d1f495fc462922bae458cfd40e29
DIST plexmediaserver_1.31.3.6868-28fc46b27_arm64.deb 69941782 BLAKE2B ed1a18472a167dee99b1d2e7e7475575672d0ac349beee367e9d5acd5db8b32bf5c0263ff1104d1779ea5464e0c12b278f5c8dfff031fe0ba1356ef2f7c1559f SHA512 21d809df5056d9fa97b094af17afbf71347ecb266fd5a504c60a5a1104f7d39a1a0fcf477e4e8be2fffb1f40fd1a8c6648160a29df6ccdc7b874674f4d95de79
DIST plexmediaserver_1.31.3.6868-28fc46b27_i386.deb 73289950 BLAKE2B 963a2c8bbaf049e362754f8dd428095afc6c552847f47cd6300b73cbf4ac9030c16bb19fb835cd4baa6a430be17a42c7bfc3260c4bf9e4c81e9fe22e5c9b570c SHA512 92f1a17a9d2ed53829d8fbb7b0f42cb70b3a8871915eaf5c7c7581adf0739c10ec58226e435be1893341853e4f9121985e6a05847510b10613f3c64a8ebd069e
+DIST plexmediaserver_1.32.0.6918-6f393eda1_amd64.deb 81102136 BLAKE2B 309f553877e3e24b8cc0ac62cc50e9c1aee594d31019b7484c10bd3a323c0c0711fb4bcebcacf16f92dabf25b40acd2aa12c9cb830316a6354dcc4f523504980 SHA512 8a4ef0534bad5c73a5044d23cf389a05d73a070b65751090c29ec454649b128b397cec12f2b03b92cdf4d93b0bd0aaa7e308b83bb77e70a2718c3fd6f970592f
+DIST plexmediaserver_1.32.0.6918-6f393eda1_arm64.deb 69869182 BLAKE2B a22f62b36e5909e674b5056147c527a6245315d437949505f78461492a78c23e0e8d002ad73478398fdb8516fff446bef9c5c359eb6e1137f60c9ad2b327cfdd SHA512 8bf991dc9698ba0abdc96a914e8a5570f01339b0e28c38dc6070fcc258a0c35105aabdf4696e7c881dea474bc1a734e9776b04b992a3ec2346e1773b564a55c9
+DIST plexmediaserver_1.32.0.6918-6f393eda1_i386.deb 73536996 BLAKE2B 285b0f4e5b236b9e471d48e56f40d91b32fe017a77832b4ea52eb118d564c25fe32b387ee2ce9b821c87586a0e7728409d32bd0ac9382a50ffdee98f348d9eda SHA512 d09ef035fa68488749312cb03173bbfb9440a3a6a3bc1bc414e470734579cdc3b73aa27a85d8f98c97fc8aaf04ed0ad0462015adf4858543aeeca848d16038f3
diff --git a/media-tv/plex-media-server/plex-media-server-1.32.0.6918.ebuild b/media-tv/plex-media-server/plex-media-server-1.32.0.6918.ebuild
new file mode 100644
index 000000000000..629bdf22fa27
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.32.0.6918.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 systemd unpacker pax-utils
+
+MY_PV="${PV}-6f393eda1"
+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="bindist"
+
+DEPEND="
+ acct-group/plex
+ acct-user/plex"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}.service.patch"
+)
+
+QA_DESKTOP_FILE="usr/share/applications/plexmediamanager.desktop"
+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"
+)
+
+BINS_TO_PAX_MARK=(
+ "${ED}/usr/lib/plexmediaserver/Plex Script Host"
+ "${ED}/usr/lib/plexmediaserver/Plex Media Scanner"
+)
+
+src_install() {
+ # Remove Debian specific files
+ rm -r "usr/share/doc" || 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
+
+ # Install the OpenRC init/conf files
+ newinitd "${FILESDIR}/${PN}.init.d" ${PN}
+ newconfd "${FILESDIR}/${PN}.conf.d" ${PN}
+
+ # Install systemd service file
+ systemd_newunit "${ED}"/usr/lib/plexmediaserver/lib/plexmediaserver.service "${PN}.service"
+
+ # Add pax markings to some binaries so that they work on hardened setup
+ local f
+ for f in "${BINS_TO_PAX_MARK[@]}"; do
+ pax-mark m "${f}"
+ done
+
+ # 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
+}