public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/plex-media-server/
Date: Tue, 25 Apr 2023 02:42:03 +0000 (UTC)	[thread overview]
Message-ID: <1682390487.201fb53b536295008190ca600206358f7d05bc59.sam@gentoo> (raw)

commit:     201fb53b536295008190ca600206358f7d05bc59
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Sat Apr 22 21:39:40 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 02:41:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201fb53b

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

Also adding arm (armhf) build.

Signed-off-by: Joe Kappus <joe <AT> wt.gd>
Closes: https://github.com/gentoo/gentoo/pull/30709
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index fae0d1dce6dd..f4515a5f8edf 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -7,3 +7,7 @@ DIST plexmediaserver_1.31.3.6868-28fc46b27_i386.deb 73289950 BLAKE2B 963a2c8bbaf
 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
+DIST plexmediaserver_1.32.0.6973-a787c5a8e_amd64.deb 81125330 BLAKE2B bb46c9c9b0156c4d0998da6a8f7f0d134b06c7782f7302755a105bdfc6bc2d8cc8ec080c5848ce97f98c5665dc1f7689d9ad9026c6d620e1ce2585ccf66e4357 SHA512 0a18eb71a66170b350897adfbd62fc1a88cccb9a1df667b89e5d412367894a0e95a438c73d6f4e114e088e7bfb3b3b202542c6c1b3a9a9353040d7768ba5b9ea
+DIST plexmediaserver_1.32.0.6973-a787c5a8e_arm64.deb 69868446 BLAKE2B 0f2aff227937dcfb3d4d80010920f44934072a522b3b2edf60c9ddb2078e01ed2e886a551a00913708f4204c418f258be27edd1616a254f59f22b8ad58949d19 SHA512 ee4a349d96bc9834e6054482cc83e0b3a9f0db589b8348856b73cd0e7cee0670c4bfcbbd0fb0ecb999cf6f098012ac99597e24ce30db048d3b05dc21e7c62b63
+DIST plexmediaserver_1.32.0.6973-a787c5a8e_armhf.deb 70229440 BLAKE2B 2aecd1717be97af5f2930ef8730eab85b96d9f0ef23dabdedd631c4e6d3633e4c3f8ebdf974da63a806fba5162ea3fa57cf5c4a8cbe5ae0de5e2e5227c8facd4 SHA512 bc17b0f374936dae602a41e169c6ab70ccee0d4d7d9f9210dd947b042c1f0627c0a35aa0a54f1e43f8e2edf5043a3cc743b479cb24b10aaad944b05423cf643a
+DIST plexmediaserver_1.32.0.6973-a787c5a8e_i386.deb 73550946 BLAKE2B 50b4cc286c0f9067ffa40c54a7fb6a3a9dc2af0edbaa02c19a984473d72ecc97b3c7e577f91818b4d7e6c9bb6d13cf9725709d0f71a3b6dcf932d96b2c0a6ec9 SHA512 e28d26253c24837da543af01c9f4fec9e9abadc59de0d2f186aed702e91a723680f49342194517868458ea2a913785c77b0d5676c1bd5bbcdba108db79a89803

diff --git a/media-tv/plex-media-server/plex-media-server-1.32.0.6973.ebuild b/media-tv/plex-media-server/plex-media-server-1.32.0.6973.ebuild
new file mode 100644
index 000000000000..9226e7be1788
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.32.0.6973.ebuild
@@ -0,0 +1,85 @@
+# 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}-a787c5a8e"
+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"
+)
+
+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
+}


             reply	other threads:[~2023-04-25  2:42 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25  2:42 Sam James [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-08-22 11:46 Yixun Lan
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-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=1682390487.201fb53b536295008190ca600206358f7d05bc59.sam@gentoo \
    --to=sam@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