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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28C5D15800F for ; Fri, 3 Feb 2023 07:37:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63829E07B2; Fri, 3 Feb 2023 07:37:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 39A0DE07B2 for ; Fri, 3 Feb 2023 07:37:02 +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 7D13733E690 for ; Fri, 3 Feb 2023 07:37:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB48089B for ; Fri, 3 Feb 2023 07:36:59 +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: <1675409678.59ddc7894943bc73ebe8e8efa143321f075c81d0.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.30.0.6486.ebuild X-VCS-Directories: media-tv/plex-media-server/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 59ddc7894943bc73ebe8e8efa143321f075c81d0 X-VCS-Branch: master Date: Fri, 3 Feb 2023 07:36:59 +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: 7732fadc-1a97-4fb5-ad11-4dd57c5f38c2 X-Archives-Hash: 95a0f2ba5e414cc93e115e8ff78efb83 commit: 59ddc7894943bc73ebe8e8efa143321f075c81d0 Author: Joe Kappus wt gd> AuthorDate: Thu Feb 2 08:08:36 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 3 07:34:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ddc789 media-tv/plex-media-server: add 1.30.0.6486 Ebuild courtesy of Christopher Crammond, thanks! Closes: https://bugs.gentoo.org/888615 Signed-off-by: Joe Kappus wt.gd> Signed-off-by: Sam James gentoo.org> media-tv/plex-media-server/Manifest | 3 + .../plex-media-server-1.30.0.6486.ebuild | 72 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest index 00126daa4455..bdbd80186a87 100644 --- a/media-tv/plex-media-server/Manifest +++ b/media-tv/plex-media-server/Manifest @@ -6,3 +6,6 @@ DIST plexmediaserver_1.29.0.6244-819d3678c_i386.deb 77619992 BLAKE2B e15181a7032 DIST plexmediaserver_1.29.2.6364-6d72b0cf6_amd64.deb 84526490 BLAKE2B 0135e6bb8dedb151cbf28077371fa8a568fb05a0d0018db83e2ce1291163be2831a90ac68f1f9b7dc84ba2cb6c97b08f2591697ba9ed61782cee1c8ba2489f71 SHA512 f53396ff7b2f27178c50f46b1d03245d33aef8057bc1ac51226521e997dddb1a2fa77c3985f130493838fd8f6f020dd8a212213b751a36912c93109a6c3743ee DIST plexmediaserver_1.29.2.6364-6d72b0cf6_arm64.deb 73841246 BLAKE2B bb6660a4b3bd5e47baa9f7e5d51a4c5d68604475370eb894d6728b22e50772004c7d01abc39db2336bb026b63e827599fd92c0a0b3a7846b410b6682ac04b84c SHA512 1c51b9679141ff4a5ff35c6bfdd266b527d2b6033ef22427ce1563d8014664842af93789f4d1ccc45f0ca693dbdba92edc56ca683a2a3b46866676d068437ab1 DIST plexmediaserver_1.29.2.6364-6d72b0cf6_i386.deb 77583910 BLAKE2B 8f2e3d49f19284122de0b0c54e5de4551a55d47fd89d9272ab0d39d02293976984af829e62fa115e7cfae52b0a657b63da3549b6727f6ae5a9d76b47ca6184f1 SHA512 342041917b0c75ecdd8cffdc34e949ac84c20cb5327912b0895f8d8b4b60b8d00cc9e21af36857a921ebeaf8b8a0226c3f3ccd73254bcf69c0906115ee30c677 +DIST plexmediaserver_1.30.0.6486-629d58034_amd64.deb 85093196 BLAKE2B d96256ac100518260dbcbc2b8b26d4269aa73f0827b3e4536c93f3872f4e94299561a8b25f5b9afbf850ec3ff5cc5537b0b3b9260dd715cc6285d07d1ff76e98 SHA512 338938a567ccbe6f52fd23d62675a43254c1dbb4e6f0c7b9fbc69f776712a4d07475a7afff0b37f0d0b834a4c5c3b185a537179ae755c110915e86b44db86710 +DIST plexmediaserver_1.30.0.6486-629d58034_arm64.deb 73996128 BLAKE2B 3d15e7ed4a976b1f804e6e23db474c83239cb1174dfa4d732c941ec713bf653975e93193b8d57918af2e377fbfe31e2fe332fb3f33d8f617fdb9ac91c8f5d316 SHA512 d1617ab616a79474b12d481dad20722eb49dce0f1880a2633d7da90bdc36a8da582a79e6c43f973d298a2395962cc31923e9f0d586d69ceb49ab4366c9da8b99 +DIST plexmediaserver_1.30.0.6486-629d58034_i386.deb 77346416 BLAKE2B f7a54046e09bdd02729cdab5dcaeb5967814ab8d4f0669f19e425dfed814a0b436419f03634d39197261a91e1b7b3837db8a0071de870820b3ced85c00bc024b SHA512 8eb9b0e16fc5103e78fc1ea4e1d0e036d24c1a254ec4c823b444d8b69c49f69a9c5920e0a6657e06b29493f57eec23ff84a029744739d67ca32d0ace63c1524e diff --git a/media-tv/plex-media-server/plex-media-server-1.30.0.6486.ebuild b/media-tv/plex-media-server/plex-media-server-1.30.0.6486.ebuild new file mode 100644 index 000000000000..9eff8ac2bdeb --- /dev/null +++ b/media-tv/plex-media-server/plex-media-server-1.30.0.6486.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit readme.gentoo-r1 systemd unpacker + +MY_PV="${PV}-629d58034" +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="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 +}