From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1378336-garchives=archives.gentoo.org@lists.gentoo.org>
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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id AACC215808B
	for <garchives@archives.gentoo.org>; Mon, 21 Mar 2022 23:42:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EC886E08D3;
	Mon, 21 Mar 2022 23:42:48 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C7482E08D3
	for <gentoo-commits@lists.gentoo.org>; Mon, 21 Mar 2022 23:42:48 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 1722434315B
	for <gentoo-commits@lists.gentoo.org>; Mon, 21 Mar 2022 23:42:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 72924320
	for <gentoo-commits@lists.gentoo.org>; Mon, 21 Mar 2022 23:42:45 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1647905678.6cad382d9e80c01195070f02b64e880cd9ec16f0.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.25.7.5604.ebuild
X-VCS-Directories: media-tv/plex-media-server/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 6cad382d9e80c01195070f02b64e880cd9ec16f0
X-VCS-Branch: master
Date: Mon, 21 Mar 2022 23:42:45 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: bd7b4e32-f770-4bc0-8ec4-c4153adc957c
X-Archives-Hash: d7b084024a57d16d46ca01c61bf5bcb1

commit:     6cad382d9e80c01195070f02b64e880cd9ec16f0
Author:     Luigi 'Comio' Mantellini <luigi.mantellini <AT> gmail <DOT> com>
AuthorDate: Mon Mar 21 13:10:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 23:34:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cad382d

media-tv/plex-media-server: Bump v1.25.7.5604

See https://forums.plex.tv/t/plex-media-server/30447/491

Closes: https://bugs.gentoo.org/835739
Signed-off-by: Luigi Mantellini <luigi.mantellini+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24695
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-tv/plex-media-server/Manifest                |  2 +
 .../plex-media-server-1.25.7.5604.ebuild           | 71 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest
index 4c41f167ffb6..1e31cc946528 100644
--- a/media-tv/plex-media-server/Manifest
+++ b/media-tv/plex-media-server/Manifest
@@ -4,3 +4,5 @@ DIST plexmediaserver_1.24.4.5081-e362dc1ee_amd64.deb 87182480 BLAKE2B 9e93656ee7
 DIST plexmediaserver_1.24.4.5081-e362dc1ee_i386.deb 79593852 BLAKE2B ab141fefe68d4d5c92e48cbbc93661bd56612289a8bc0559c8083ad169b997f555fb02d808d7a8feda9d47f573f2041668ed3dd876ab81b848958c4b820869c2 SHA512 e17d6c8268690e46d49197e4e77df8af97d8a2c5046605237d6c90a2627da1cfb6c16c36dccc7bc31f95f497de7da1e0a2bab8e5331bc1f3bc44d5a3610ab1bb
 DIST plexmediaserver_1.25.4.5487-648a8f9f9_amd64.deb 78416314 BLAKE2B 8adf34e6095ebda829d0fa6a1bc7fabb8c159d9883bc1fc4cfe55feba9e51be71b9ad552889835bc374c4c04479d4c0bfd6255f21674f56d9960cc8dded53f30 SHA512 f324746bcae8406356fd3ae9a3647d6c1de44b26f35cc000af203af8dc8be69363e85562e56411fa2fc2039de0d58fe9f8beb1eab4029ade62b0afbb0af849ea
 DIST plexmediaserver_1.25.4.5487-648a8f9f9_i386.deb 70409128 BLAKE2B 7d51592eb688d248347f9023a0fab10426ee93d66ae8aad48272c3efe286015eb831c7fce52287dc4522cca8c5c4a9d06524a3ab91a26aa84daab12b892f1b3e SHA512 de930e905b175f860922ecca0bd9ea86a102b4420d1ffb71b6c04632fed83bf41a90fd042d5e0b4e7f77a902fce19049347f81460e451f3016f1687eb18bd6c5
+DIST plexmediaserver_1.25.7.5604-980a13e02_amd64.deb 78678046 BLAKE2B 901d2a1821393fe2ab33b5c8a6b2bf04ba93f84d7434a8aac7510bf663607126c34f1c503883bca3189eba7a28fe26d4ef6d20c8218d8142910e7b77a212fcf0 SHA512 df4c400dfe46df790778d2259e0d7903f55efa8704b7ae652eeecdf147336786c2ed96a392ecca734ca0cda94767ed056184ad46569dee673e5ef287d713baf4
+DIST plexmediaserver_1.25.7.5604-980a13e02_i386.deb 70289616 BLAKE2B d79b1cc149a04a55072d82923a05d3072b2b799b6f41a8def441bfd6fc49feb027e6943c4d8d6dd0dfb8fec955822cecbda274020e225cdb56cfbe6f1fc744f6 SHA512 8cf95bb8604950ccde2659657bae67906d26272f83fb97e13595ef2815591dfc2cc3a85826c27e5caf7e889a0a4732ac5bfa022dfa91a6e8093d443644c4c752

diff --git a/media-tv/plex-media-server/plex-media-server-1.25.7.5604.ebuild b/media-tv/plex-media-server/plex-media-server-1.25.7.5604.ebuild
new file mode 100644
index 000000000000..f3cc1ec04bb7
--- /dev/null
+++ b/media-tv/plex-media-server/plex-media-server-1.25.7.5604.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 systemd unpacker
+
+MY_PV="${PV}-980a13e02"
+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 )
+	x86? ( ${MY_URI}/${MY_PV}/debian/plexmediaserver_${MY_PV}_i386.deb )"
+S="${WORKDIR}"
+
+LICENSE="Plex"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~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
+}