mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
media-tv/plex-media-server: add 1.41.3.9314
Signed-off-by: Joe Kappus <joe@wt.gd> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -10,3 +10,7 @@ DIST plexmediaserver_1.41.2.9200-c6bbc1b53_amd64.deb 81548442 BLAKE2B 3f3418d766
|
||||
DIST plexmediaserver_1.41.2.9200-c6bbc1b53_arm64.deb 74158618 BLAKE2B d9bd9a4f976841435efd986ddcc1c54f87375c5aa64245c2c224fcc9b1643f9369b5b5651a353ee4fa1bf6981e673e9dcc61f761fdda0673039452fa20916271 SHA512 dfedff59730a302509158d62d09cb681f57160b5ba977331a24846c3d7dba4e2e66ef8021c2a16431d9b4baf69d854f3493754e0b96bcfd695230385328afcd9
|
||||
DIST plexmediaserver_1.41.2.9200-c6bbc1b53_armhf.deb 74386222 BLAKE2B 3eae6909179e5ac8d8c5c6405b3ca740082357aa941c25e00dc091604dbd2034b9f2bdf69797a40d394f557653ffc7926091007d76c62d7a8f01606a0b53f9f0 SHA512 bcc558291e182e264cd63b936b9029bcbbd9acf89f835df23229febcfa3c13b8f7f1e53978c083d0514e403e2cc78a95754d2384fc537eb3e773b087f03b3523
|
||||
DIST plexmediaserver_1.41.2.9200-c6bbc1b53_i386.deb 75164134 BLAKE2B 4c6062155a92bd6f5718d085130e682e9b2f6a26fc24b9b310c6c0f31f3a6831efcf12b6d573110e68417ad5c45e277f2947bc4bb22b386c429af6e3cc4af5bf SHA512 0b8a244447fdb6f0a7b8d6125cd58443b6c1634dd1352eb97e8fd9130b2637ff611e92fa36b4212e2bcc230460f658cff827406eb4ad30a0bf4d884efa2b2858
|
||||
DIST plexmediaserver_1.41.3.9314-a0bfb8370_amd64.deb 81641362 BLAKE2B b215c9c933970e0e9ae264ec5ae267090c32b46e8e7eb41bf86401722714d55fe5a9bbf2fabda7d69a90db0d0d0ba9be2f942d0f1ec8f74cdef7ac5b95b5e0f3 SHA512 1b13c186603bba7186e3f1dbb83af4581c46b3b63eae66d42699f2a99c290af1e4acfafcf7ba6bd35dcb49671c508f74fbe76975c722699837403fd9bcccd8e5
|
||||
DIST plexmediaserver_1.41.3.9314-a0bfb8370_arm64.deb 74302822 BLAKE2B 6f1f29c0e09c7e650d6c6923fa756ebf4a1f4c21965f03b8fb03f8850a02c0c31b2732b97cc57d0ba12fd03e8518ab19388e92fdb171dde5f6bed5a1e973bc93 SHA512 ad9d90d4999f33933315e038ad34ee15e831886e02f06026523ee022a96ca7c2de5ca50eef5f7f3db73ab5d55c50761b3c3498c6403dc2f2e368a5991d749c7d
|
||||
DIST plexmediaserver_1.41.3.9314-a0bfb8370_armhf.deb 74380030 BLAKE2B 27a193d15e2815cd3727b6c2657788eb0e2741ae51d56598f80b47e2444681ef9ca5037228ba3d4a4aa26386b9a862c1ee392e8821df00c07a615aa36fd74a23 SHA512 9ffef657bb7298975e042bf888466b37707f1d3b861ec75112bec293fce3e85d1a160f0b481e37e3ad44b6ea413386c6ccb10f0291fe2f8e2d2b89e566382746
|
||||
DIST plexmediaserver_1.41.3.9314-a0bfb8370_i386.deb 75329378 BLAKE2B 15b6ad4666363594bad8c1fa270036cfa47d2db8791d0d8344d25ad61b97cdaa79e3e7c7b26f746a65f2eeeb1d4fde5d3c3fabaee2f774a3fe9d68fead03686f SHA512 9912181a808e03984156fd633ff9827625382b88f73e232ca789bc334d14679b7252b89d187ba7c87caf788916c705be1ce5022b6372240335219c35a0840384
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2025 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}-a0bfb8370"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user