summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-11-05 14:38:26 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-11-05 14:38:26 +0200
commitcfbd8c7a12a44804eb9bf6c3ab26448fc1594567 (patch)
tree35c537625f165b4d16f1f122b7fa19583462b04e /media-tv/plex-media-server/plex-media-server-1.25.4.5487.ebuild
parentmedia-tv/plex-media-server: add 1.29.0.6244 (diff)
downloadgentoo-cfbd8c7a12a44804eb9bf6c3ab26448fc1594567.tar.gz
gentoo-cfbd8c7a12a44804eb9bf6c3ab26448fc1594567.tar.bz2
gentoo-cfbd8c7a12a44804eb9bf6c3ab26448fc1594567.zip
media-tv/plex-media-server: drop versions
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-tv/plex-media-server/plex-media-server-1.25.4.5487.ebuild')
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.25.4.5487.ebuild71
1 files changed, 0 insertions, 71 deletions
diff --git a/media-tv/plex-media-server/plex-media-server-1.25.4.5487.ebuild b/media-tv/plex-media-server/plex-media-server-1.25.4.5487.ebuild
deleted file mode 100644
index 7d940b4cb325..000000000000
--- a/media-tv/plex-media-server/plex-media-server-1.25.4.5487.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# 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}-648a8f9f9"
-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
-}