public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/plex-media-server/
Date: Thu, 22 Aug 2024 11:46:16 +0000 (UTC)	[thread overview]
Message-ID: <1724327144.074bd34bb350784b6857044ea4601c97ee02e4b4.dlan@gentoo> (raw)

commit:     074bd34bb350784b6857044ea4601c97ee02e4b4
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Mon Aug 19 03:57:37 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Aug 22 11:45:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=074bd34b

media-tv/plex-media-server: add 1.40.5.8854

Closes: https://github.com/gentoo/gentoo/pull/38198
Signed-off-by: Joe Kappus <joe <AT> wt.gd>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 media-tv/plex-media-server/Manifest                |  4 +
 .../plex-media-server-1.40.5.8854.ebuild           | 85 ++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index ba9c5986a979..bc7e4ad339f0 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -10,3 +10,7 @@ DIST plexmediaserver_1.40.4.8679-424562606_amd64.deb 81712638 BLAKE2B 9785f29c07
 DIST plexmediaserver_1.40.4.8679-424562606_arm64.deb 73952850 BLAKE2B 1df7cb2b29aae0698947ecc8c6a07c848ae0daa3880a7256c79c043692922c10ef838646c0e69679948f5bfee3b4cd025f327719d959f87f68d77f93bc8898c5 SHA512 6d6285a806367324df980f6eed1036726e8ee779956c11035ed01edb908816f4713483b803406c4bc306c43432210c3c74ae8aa8361930954d1c61810ce639b6
 DIST plexmediaserver_1.40.4.8679-424562606_armhf.deb 74224106 BLAKE2B dd48f29d8e73544d0ab2076108a3cc50bbd63537b61c251041ae69bf60457baecd5333fb52315c7cd5b2a4c4d459f0f8d0d307d4ed9650908390f391d51fccb0 SHA512 247bab93068639ae6213c11d6c8ca598666bca73f7a2a51463665c00f471f9fe9523bdfeeee6fbcce3d2a50cd50dec2e5070903154490719e7814f34fe87111e
 DIST plexmediaserver_1.40.4.8679-424562606_i386.deb 74868902 BLAKE2B cde6382b33a7c7d9c2d30df05251d0f15263e7a530561fe22b484526bec94f0b1456d757c30b3c336b7b44ad5bfd8596e655a2312260404d05beba2e39276ab0 SHA512 511e6449a15736c5ce2fa067f4574dd2c36bbd1f41bd10854127cdc111bc0916370486448324a9e23654c7a79c13159351470a0fc11e86c3559300e5b2f23b1e
+DIST plexmediaserver_1.40.5.8854-f36c552fd_amd64.deb 81245190 BLAKE2B 66055a6e0ba0b8e84e791bae201b9b640baa94a0147eb0f54f07f124757b597b807c67fbc274fc8e64f05e1f17c437f6d9c7baeaa6b364917277e9afbfb03db3 SHA512 2a53305bea57c59626b7f83213c71f02c7766142c3eaf416aba86e9754a128686c95688574e1bb206807fb5d4b1b02a9ba837870e17a0d447dafaecd6b50de90
+DIST plexmediaserver_1.40.5.8854-f36c552fd_arm64.deb 73833094 BLAKE2B 9c0354f9363867cc68db0ce796a0ecf77252cfe3249e9245159db2bdeeede37d794492d98fffe3857e3fb69d66e16c27584b225fec7118379775b0ee975bd907 SHA512 b004e855005e88188818ea961e23037191873e7f39c23b5fa337995686da58706313817a6791b653b4d07304643adac2388a5d4d3d1b28643f9f118db14d82b1
+DIST plexmediaserver_1.40.5.8854-f36c552fd_armhf.deb 74086042 BLAKE2B 2b74a5789a354af9122e5b9ae2358d9cbc433a85cb3f52b850539ab13dd24aefdd1dc4cadc37953ac0be5d3e55293f12a80b96c04e298a4ed89e850a2067577f SHA512 aff06f07e419adc3aa6afb260115986154d768d00f3406bb51d4ef0334bffe076875e3af208575f719c3b3a23d477dbe67e23999bec620df851cb7be1555f1bc
+DIST plexmediaserver_1.40.5.8854-f36c552fd_i386.deb 74784106 BLAKE2B 4e3818583709cfd4fc4d28152bf4692e221d1bafbef9dcd306e8c939b526563d9e7d7773c8dcf0562725d5e2d9287f22c7ad421f390d738866a39d07bef46a73 SHA512 8e137f5565f5cfc36fdb80c64abb7b9c7b5e0054da97c44f3d5ff73e8b00ebd8a8e7cba0bec79a2ff0ca9fb7c9e42e593c9211813538fe758b66a7522e55ed39

diff --git a/media-tv/plex-media-server/plex-media-server-1.40.5.8854.ebuild b/media-tv/plex-media-server/plex-media-server-1.40.5.8854.ebuild
new file mode 100644
index 000000000000..30e181787ff6
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.40.5.8854.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2024 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}-f36c552fd"
+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 )
+	arm? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_armhf.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 ~arm ~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"
+)
+
+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
+	BINS_TO_PAX_MARK=(
+		"${ED}/usr/lib/plexmediaserver/Plex Script Host"
+		"${ED}/usr/lib/plexmediaserver/Plex Media Scanner"
+	)
+
+	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
+}


             reply	other threads:[~2024-08-22 11:46 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22 11:46 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-01 11:51 [gentoo-commits] repo/gentoo:master commit in: media-tv/plex-media-server/ Sam James
2024-10-25 11:36 Joonas Niilola
2024-10-25 11:36 Joonas Niilola
2024-09-21  7:11 Arthur Zamarin
2024-09-21  6:06 Joonas Niilola
2024-08-30  7:31 Joonas Niilola
2024-08-30  7:25 Joonas Niilola
2024-08-30  6:45 Arthur Zamarin
2024-08-30  5:35 Joonas Niilola
2024-07-21  8:36 Pacho Ramos
2024-07-21  8:36 Pacho Ramos
2024-07-04  1:15 Sam James
2024-05-22  1:30 Yixun Lan
2024-05-21  9:29 Sam James
2024-05-21  6:22 Arthur Zamarin
2024-04-19 10:45 Yixun Lan
2024-04-01  6:47 Joonas Niilola
2024-04-01  6:47 Joonas Niilola
2024-02-18 11:58 Sam James
2024-02-18 11:58 Sam James
2024-02-14 18:57 Sam James
2024-02-14 16:44 Sam James
2023-12-09 18:45 Sam James
2023-11-11  1:18 Yixun Lan
2023-11-09 23:52 Yixun Lan
2023-10-17  4:47 Sam James
2023-10-17  3:48 Sam James
2023-10-01  7:34 Sam James
2023-08-15 12:17 Joonas Niilola
2023-07-29  2:24 Sam James
2023-06-11  8:44 Joonas Niilola
2023-06-02 15:35 Joonas Niilola
2023-05-13  3:31 Sam James
2023-05-13  3:31 Sam James
2023-05-09 15:58 Sam James
2023-04-25  2:42 Sam James
2023-04-16  7:18 Sam James
2023-04-16  7:18 Sam James
2023-03-29 20:08 Sam James
2023-03-18  0:00 Sam James
2023-03-07  9:09 Joonas Niilola
2023-03-07  9:09 Joonas Niilola
2023-02-28  5:35 Sam James
2023-02-17  6:27 Sam James
2023-02-17  6:27 Sam James
2023-02-04 23:11 Sam James
2023-02-03  7:36 Sam James
2023-02-03  7:36 Sam James
2023-02-03  7:36 Sam James
2023-02-03  7:36 Sam James
2022-11-05 12:38 Joonas Niilola
2022-11-05 12:38 Joonas Niilola
2022-03-29 10:50 Ionen Wolkens
2022-03-21 23:42 Sam James
2022-02-24 13:22 Sam James
2022-02-24 13:22 Sam James
2021-12-26  5:17 Sam James
2021-10-31  3:43 Sam James
2021-10-31  3:43 Sam James
2021-09-15 23:23 Ionen Wolkens
2021-09-15 23:23 Ionen Wolkens
2021-08-24 11:14 Ionen Wolkens
2021-08-24 11:14 Ionen Wolkens
2021-08-14 10:35 Ionen Wolkens
2021-08-14 10:35 Ionen Wolkens
2021-07-30 12:58 Ionen Wolkens
2021-07-30 12:58 Ionen Wolkens
2021-07-24 20:18 Ionen Wolkens
2021-07-24 20:18 Ionen Wolkens
2021-07-21 22:05 Ionen Wolkens
2021-07-21 22:05 Ionen Wolkens
2021-07-16  1:34 Sam James
2021-06-21 22:26 Sam James
2020-08-05 12:56 Joonas Niilola
2020-05-04 17:26 Joonas Niilola
2020-04-13 14:53 Agostino Sarubbo
2020-04-13 10:14 Agostino Sarubbo
2020-02-09 19:40 Michał Górny
2020-02-09 16:31 Michał Górny
2020-01-09  6:01 Joonas Niilola
2020-01-03 16:23 Michał Górny
2019-12-14  8:26 Joonas Niilola
2019-02-22 11:57 Mikle Kolyada
2019-02-08 13:48 Tony Vroon
2018-07-06 18:16 Jonathan Vasquez
2018-06-23 18:45 Jonathan Vasquez
2018-06-23 18:45 Jonathan Vasquez
2018-06-23 18:45 Jonathan Vasquez
2018-06-23 18:45 Jonathan Vasquez
2018-06-21 23:58 Aaron Bauman
2018-04-22 23:49 Jonathan Vasquez
2018-04-22 23:46 Jonathan Vasquez
2018-03-26  0:58 Jonathan Vasquez
2018-03-26  0:58 Jonathan Vasquez
2018-03-26  0:58 Jonathan Vasquez
2018-02-27  1:22 Jonathan Vasquez
2018-01-29 20:44 Jonathan Vasquez
2018-01-28 23:09 Jonathan Vasquez
2018-01-08 22:36 Jonathan Vasquez
2017-12-08 19:14 Jonathan Vasquez
2017-11-17 16:23 Jonathan Vasquez
2017-11-17 16:23 Jonathan Vasquez
2017-10-12  1:44 Jonathan Vasquez
2017-10-10  1:12 Jonathan Vasquez
2017-10-10  1:12 Jonathan Vasquez
2017-09-04 15:48 Jonathan Vasquez
2017-09-04 15:48 Jonathan Vasquez
2017-07-01 16:23 Jonathan Vasquez
2017-07-01 16:23 Jonathan Vasquez
2017-06-11 15:26 Jonathan Vasquez
2017-06-11 15:26 Jonathan Vasquez
2017-06-11 15:26 Jonathan Vasquez
2017-04-27 23:53 Jonathan Vasquez
2017-04-25  3:06 Jonathan Vasquez
2017-04-25  3:06 Jonathan Vasquez
2017-04-23 11:29 David Seifert
2017-04-11  1:34 Jonathan Vasquez
2017-04-11  1:34 Jonathan Vasquez
2017-03-18 15:58 Jonathan Vasquez
2017-03-05  2:05 Jonathan Vasquez
2017-02-12 19:06 Jonathan Vasquez
2017-02-12 16:20 Jonathan Vasquez
2017-02-09 14:53 Jonathan Vasquez
2017-02-09 14:53 Jonathan Vasquez
2016-12-19 19:45 Jonathan Vasquez
2016-12-14 19:30 Jonathan Vasquez
2016-11-13  4:46 Jonathan Vasquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1724327144.074bd34bb350784b6857044ea4601c97ee02e4b4.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox