diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
commit | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch) | |
tree | 555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /media-tv/plex-media-server/plex-media-server-1.23.2.4625.ebuild | |
parent | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff) |
gentoo resync : 17.07.2021
Diffstat (limited to 'media-tv/plex-media-server/plex-media-server-1.23.2.4625.ebuild')
-rw-r--r-- | media-tv/plex-media-server/plex-media-server-1.23.2.4625.ebuild | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/media-tv/plex-media-server/plex-media-server-1.23.2.4625.ebuild b/media-tv/plex-media-server/plex-media-server-1.23.2.4625.ebuild deleted file mode 100644 index 92b87a68f4e0..000000000000 --- a/media-tv/plex-media-server/plex-media-server-1.23.2.4625.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit readme.gentoo-r1 systemd unpacker - -MY_PV="${PV}-a83d2d0f9" -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" -IUSE="system-openssl" -RESTRICT="mirror bindist" - -DEPEND=" - acct-group/plex - acct-user/plex" -RDEPEND=" - ${DEPEND} - system-openssl? ( dev-libs/openssl:0/1.1 )" - -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 - - # Remove shipped openssl library - if use system-openssl; then - rm usr/lib/plexmediaserver/lib/libssl.so.1.1 || die - fi - - # Add startup wrapper - dosbin "${FILESDIR}/start_pms" - - # 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 "${FILESDIR}/${PN}.init.d" ${PN} - newconfd "${FILESDIR}/${PN}.conf.d" ${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 -} |