From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 33DA215ACFB for ; Tue, 25 Apr 2023 02:42:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 517EDE0967; Tue, 25 Apr 2023 02:42:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B530E0967 for ; Tue, 25 Apr 2023 02:42:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 058B7340EF3 for ; Tue, 25 Apr 2023 02:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56B4A909 for ; Tue, 25 Apr 2023 02:42:03 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1682390487.201fb53b536295008190ca600206358f7d05bc59.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/plex-media-server/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/plex-media-server/Manifest media-tv/plex-media-server/plex-media-server-1.32.0.6973.ebuild X-VCS-Directories: media-tv/plex-media-server/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 201fb53b536295008190ca600206358f7d05bc59 X-VCS-Branch: master Date: Tue, 25 Apr 2023 02:42:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0a75791f-7c9b-4b72-a3c6-41d90a9599b8 X-Archives-Hash: 204316e659e67a0860c776387f59be6f commit: 201fb53b536295008190ca600206358f7d05bc59 Author: Joe Kappus wt gd> AuthorDate: Sat Apr 22 21:39:40 2023 +0000 Commit: Sam James gentoo 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 wt.gd> Closes: https://github.com/gentoo/gentoo/pull/30709 Signed-off-by: Sam James 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 +}