From 87c12d6db77f2505ac70bbe68acb5becdabc4dc4 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 15 Jun 2023 14:24:02 +0300 Subject: [PATCH] www-servers/jellyfin-bin: treeclean Signed-off-by: Alfred Wingate --- www-servers/jellyfin-bin/Manifest | 15 --- www-servers/jellyfin-bin/files/jellyfin | 77 ------------ .../jellyfin-bin/files/jellyfin-default.patch | 12 -- .../jellyfin-bin-10.7.6-r1.ebuild | 107 ----------------- .../jellyfin-bin-10.7.7-r1.ebuild | 107 ----------------- .../jellyfin-bin/jellyfin-bin-10.8.0.ebuild | 112 ------------------ .../jellyfin-bin-10.8.1-r1.ebuild | 102 ---------------- .../jellyfin-bin/jellyfin-bin-10.8.2.ebuild | 102 ---------------- www-servers/jellyfin-bin/metadata.xml | 11 -- 9 files changed, 645 deletions(-) delete mode 100644 www-servers/jellyfin-bin/Manifest delete mode 100644 www-servers/jellyfin-bin/files/jellyfin delete mode 100644 www-servers/jellyfin-bin/files/jellyfin-default.patch delete mode 100644 www-servers/jellyfin-bin/jellyfin-bin-10.7.6-r1.ebuild delete mode 100644 www-servers/jellyfin-bin/jellyfin-bin-10.7.7-r1.ebuild delete mode 100644 www-servers/jellyfin-bin/jellyfin-bin-10.8.0.ebuild delete mode 100644 www-servers/jellyfin-bin/jellyfin-bin-10.8.1-r1.ebuild delete mode 100644 www-servers/jellyfin-bin/jellyfin-bin-10.8.2.ebuild delete mode 100644 www-servers/jellyfin-bin/metadata.xml diff --git a/www-servers/jellyfin-bin/Manifest b/www-servers/jellyfin-bin/Manifest deleted file mode 100644 index 84bdd84..0000000 --- a/www-servers/jellyfin-bin/Manifest +++ /dev/null @@ -1,15 +0,0 @@ -DIST jellyfin-bin-10.7.6-server-amd64.deb 37867680 BLAKE2B ca654488ec0a3e6a89dc7c9f26b90c3a7ea87bc4adef1db833dec6fd4293943c45862f6a86f5dea22fc0579db402d5f9e16ace636ccb8e48baaa41b59e11ef7a SHA512 a8a8d5e4ba4c6163c7dd4f9ce18ececa78e10f42ba36e5ea2e40e5e5ab33696ccdb501bdae9991a506d46c93c545600b0b42fcd26a7f312e8b988425e3cfb6ad -DIST jellyfin-bin-10.7.6-server-arm64.deb 33828472 BLAKE2B cfc2f43d86cd8aefe189ea441760dd35618ca4de3228dd9eccdb5ff5fd56de7a1f26802ac481301a0cba8e215456f3df80786a2ab7b56e3d680be65412e7e809 SHA512 461a7821ed98fee0254c095177f2a074fa85475308683149ce84760c50b8bcc294541728402d1a4df6f09b0548a7580081d586803fd212a4ae1e6fd686b44077 -DIST jellyfin-bin-10.7.6-web.deb 35056736 BLAKE2B c7539473cf4bcbaea9716a62a11f54d6a79caddc69293d437162a7085d9130b5010f0d145093a81422fc4891f5dc27b5825c4815a8d8781496a3d1d57025e1ea SHA512 285a03d01954190dd605d19d830840ad004a02b178fc5346ea45517de267a3675524b9ae747a24ad75ca0fad0ebaa4e8fef7b47d3b4265d2b9f4e57d800a0948 -DIST jellyfin-bin-10.7.7-server-amd64.deb 37865996 BLAKE2B 7b6b221707eddcae257255f6cbb467cb1c8ec405b425fa7a2f9e167988fbb9732d5efe34add493005581decdaa1846c535bf8efdd697ced00d42e23403130766 SHA512 f1f68876c406a4d88ccfa2f329610a702992b6bcb4dbd4a3261898278b7bbb6a7f3b63e12be00f9010bbed8a6acb526d8c76665348748aa258b5344a491cf45b -DIST jellyfin-bin-10.7.7-server-arm64.deb 33836712 BLAKE2B f48f5284900f065b2fa046791b39c24d4460ff5f721ccb2d96f12d3a09a6841b3d4b1fb720498cc7fb5d67c68ffc510c4e354cd08d6c7f9856bca342a6afde4a SHA512 bb91e70025faeeb85e9a01c64e15a16ec9e4c4c0617f51869088b9eb901e8a94c59707c01dda47879f5e8ed06f1f38a2bd0a6eac32db59835d99ef6d96c24104 -DIST jellyfin-bin-10.7.7-web.deb 35035256 BLAKE2B 770b6db46f3441c4ed1fbff1b7e0a0ce2f35573cc1e05680763b2128e5096514908b6e774fadd54a5d998babbade6759015de1684be9d48670dc7a9fcbe6c128 SHA512 250876abce4f616db6f3da13e83726a8e5bfca9e4e8cf16fc90a1b088c8d2ae4c75d8f3e0a8ad0f1b01185e97118cb342362bba93b78bb78a08fcd2ef71a0f21 -DIST jellyfin-bin-10.8.0-server-amd64.deb 38522384 BLAKE2B ce8f7d1b19776340f7f61d99a95fc5e931f734d68fdb1906872441844fb6da7e45599743b10ea66bfce99bd4e5bdd82cdc79cf58269a0a02bed307bb0a3ffe40 SHA512 5f7cf3a3e3038d674a985bf12c1dc7c05949c1f15a6ba2aceb5b223a92e8ab5710b81024c0b8b5841d8cf8d87c5111e638ce875f61b5feff03a29168c874b76b -DIST jellyfin-bin-10.8.0-server-arm64.deb 34622940 BLAKE2B 2612c7e452faf1db98f5ed5ab7f5c17cbafe348716b6791a33ad43c4f3a82cb4eaccc63735cdff70806e3241fe58f1ea2251595333981ee3d8aa826dae9c0741 SHA512 6aefb24a3f6defe80ac9cc279bde359d0f628c611bf79b92a944916bce1ce37b4333566832d37c5652258f957988e5e7a51e16c9caccfa5cf064cadd25168c25 -DIST jellyfin-bin-10.8.0-web.deb 42321620 BLAKE2B f9baf4a9b50e10aa9bb2b30ee04f4e1285e20c965bdf846ccd6c8ddccb398f96a2092ace5c5022469f0e8749ac4d95e1869c6e738fead8cbf9ddbb383feb51cd SHA512 fd4322101016e29efddac3e067ee8e76801e2cea00f29d9108f7b45b43d5f2f6313984a63f7b6305161e4f6a87c70a482bbc6ea89f8d671a3298089670869f0e -DIST jellyfin-bin-10.8.1-server-amd64.deb 38627708 BLAKE2B 819cc321982d20526fbf36e40e0f596250d5ecc89c30a5e83cfb9260a865e852f572830009fa2667079a22e0450ecda3f1386232df16ef213246e683bf222480 SHA512 a9307e62e5e28af8c53073f8200646504f11b8e928ec6a4a7461348fafcc3c68c133a94a8f483bca0cb0cf4e38aadf654730dab6099e626cf72f12de6da5edf1 -DIST jellyfin-bin-10.8.1-server-arm64.deb 34697920 BLAKE2B 1706d8a3588acf4faa1494a7310c3270fdfa2738969034ff960d355692925819eb9446cdf988aec602309e5515694eaae1336e7507962ccade2896feaca85a49 SHA512 6d63ac1b55fe1e4515755aa98f5040c79ab3a153fdd6f0535714da982910b892a3a99d79228920290432821d612f26210dc52cb33348772e86a654d9ede56bb9 -DIST jellyfin-bin-10.8.1-web.deb 42321672 BLAKE2B 8f469c4f007d474bf62734d2d315e77b3e0df2ca85fcd165ad11b725b9f9f0daaf492e889691ceec2275d79f9bdc4cc3f49ff3f5fa4075f218566235f9f8673f SHA512 365a6a0b57a298ae14e247c7c77d1d5529c0f42cb7339e2a39042d3b03bd1eaa7ced375ac99b2e06db632cfaf070acb64e2b8a81235f424b3dbcebdc2171e2d3 -DIST jellyfin-bin-10.8.2-server-amd64.deb 38590352 BLAKE2B 63e2105bef8b390c13c7c9fbb2a3c75ae152321f1e566c4503ff676508a532d78439d8adc74ac3639b1126c0cc8ef7f2319a69e9be3f4dd34db480f801278134 SHA512 bbd0ff33e57b43c29cf169b983c67671c655cf9bb07bc78c83dc739970d4ddf0ebf14563947290bf5a6a9b010e106159b279c3fbb13a8f802c5bab2578ca6454 -DIST jellyfin-bin-10.8.2-server-arm64.deb 34672328 BLAKE2B b5b9ade4bee9b48988e6e13f34981431c3d576b4b87e9737cd53ce21496f0778785fb76c071f7beccbf42dd264c41a18596828a5d52a235847af99f4f1750d92 SHA512 dbb670ef61821cb0883238df62894a8b4d3e490194f636c58b2a51ddcfa6171464681c4309d60c82500d397f7e28946ef2829925f34daa3b446799511956335b -DIST jellyfin-bin-10.8.2-web.deb 42322188 BLAKE2B 50e9c0971c112401ba30a1ac5219be595f4293dcf29a4084b2dedd20be7167e14c440a41f83c13c432b0a73b41cd4278cdfea8776127251d8a767808767eee0b SHA512 e69c563fe3e5a6d82f7f9ad4d21483e9edaae84532aa39c3bc8767ab992e9635056298a72cf978fab853988ad69b1700a2f0ff2fd1b90d6c76153ef4e309052f diff --git a/www-servers/jellyfin-bin/files/jellyfin b/www-servers/jellyfin-bin/files/jellyfin deleted file mode 100644 index 09861a8..0000000 --- a/www-servers/jellyfin-bin/files/jellyfin +++ /dev/null @@ -1,77 +0,0 @@ -#!/sbin/openrc-run - -# Copyright 1999-2020 Gentoo Foundation -# Distributed under the terms of the GNU General Public Licence v2 - - -name=jellyfin - -cfgfile="/etc/conf.d/${name}" - -command="/usr/lib/${name}/bin/${name}" -command_user="${JELLYFIN_USER}" -command_background="yes" - -pidfile="/run/${name}.pid" - - -depend() { - need net -} - -start_pre() { - echo "Running with:" - echo " JELLYFIN_ARGS=${JELLYFIN_ARGS}" - echo " JELLYFIN_CACHE_DIR=${JELLYFIN_CACHE_DIR}" - echo " JELLYFIN_CONFIG_DIR=${JELLYFIN_CONFIG_DIR}" - echo " JELLYFIN_DATA_DIR=${JELLYFIN_DATA_DIR}" - echo " JELLYFIN_FFMPEG_OPT=${JELLYFIN_FFMPEG_OPT}" - echo " JELLYFIN_LOG_DIR=${JELLYFIN_LOG_DIR}" - echo " JELLYFIN_NOWEBAPP_OPT=${JELLYFIN_NOWEBAPP_OPT}" - echo " JELLYFIN_RESTART_OPT=${JELLYFIN_RESTART_OPT}" - echo " JELLYFIN_SERVICE_OPT=${JELLYFIN_SERVICE_OPT}" - echo " JELLYFIN_USER=${JELLYFIN_USER}" - echo " JELLYFIN_WEB_OPT=${JELLYFIN_WEB_OPT}" - - mkdir -p ${JELLYFIN_CACHE_DIR} - mkdir -p ${JELLYFIN_CONFIG_DIR} - mkdir -p ${JELLYFIN_DATA_DIR} - mkdir -p ${JELLYFIN_LOG_DIR} - - chown -R ${command_user}:${command_user} ${JELLYFIN_CACHE_DIR} - chown -R ${command_user}:${command_user} ${JELLYFIN_CONFIG_DIR} - chown -R ${command_user}:${command_user} ${JELLYFIN_DATA_DIR} - chown -R ${command_user}:${command_user} ${JELLYFIN_LOG_DIR} -} - -start() { - ebegin "Starting ${name}" - - env JELLYFIN_CACHE_DIR=${JELLYFIN_CACHE_DIR} \ - JELLYFIN_CONFIG_DIR=${JELLYFIN_CONFIG_DIR} \ - JELLYFIN_DATA_DIR=${JELLYFIN_DATA_DIR} \ - JELLYFIN_LOG_DIR=${JELLYFIN_LOG_DIR} \ - start-stop-daemon --start --exec ${command} \ - --background \ - --pidfile ${pidfile} \ - --user ${command_user} \ - --make-pidfile \ - -- ${JELLYFIN_ARGS} - - eend $? -} - -stop() { - ebegin "Stopping ${name}" - - env JELLYFIN_CACHE_DIR=${JELLYFIN_CACHE_DIR} \ - JELLYFIN_CONFIG_DIR=${JELLYFIN_CONFIG_DIR} \ - JELLYFIN_DATA_DIR=${JELLYFIN_DATA_DIR} \ - JELLYFIN_LOG_DIR=${JELLYFIN_LOG_DIR} \ - start-stop-daemon --stop --exec ${command} \ - --pidfile ${pidfile} \ - --user ${command_user} \ - -- ${JELLYFIN_ARGS} - - eend $? -} diff --git a/www-servers/jellyfin-bin/files/jellyfin-default.patch b/www-servers/jellyfin-bin/files/jellyfin-default.patch deleted file mode 100644 index 85d3dfc..0000000 --- a/www-servers/jellyfin-bin/files/jellyfin-default.patch +++ /dev/null @@ -1,12 +0,0 @@ -index 7cbfa88..e7ac16b 100644 ---- a/etc/default/jellyfin -+++ b/etc/default/jellyfin -@@ -25,7 +25,7 @@ JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin/web" - JELLYFIN_RESTART_OPT="--restartpath=/usr/lib/jellyfin/restart.sh" - - # ffmpeg binary paths, overriding the system values --JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg" -+#JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg" - - # [OPTIONAL] run Jellyfin as a headless service - #JELLYFIN_SERVICE_OPT="--service" diff --git a/www-servers/jellyfin-bin/jellyfin-bin-10.7.6-r1.ebuild b/www-servers/jellyfin-bin/jellyfin-bin-10.7.6-r1.ebuild deleted file mode 100644 index 93e05d1..0000000 --- a/www-servers/jellyfin-bin/jellyfin-bin-10.7.6-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="${PN/-bin}" - -if [[ "${PV}" == *_rc* ]]; then - # _rc -> ~rc - MY_PV="${PV/_rc/~rc}" - SRV_SRC="${MY_PN}-server_${MY_PV}" - WEB_SRC="${MY_PN}-web_${MY_PV}" - RELEASE="stable-rc" -else - # Add "-1" - MY_PV="${PV}" - SRV_SRC="${MY_PN}-server_${MY_PV}-1" - WEB_SRC="${MY_PN}-web_${MY_PV}-1" - RELEASE="stable" -fi - -BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/${RELEASE}" - -inherit unpacker systemd wrapper - -DESCRIPTION="The Free Software Media System" -HOMEPAGE="https://jellyfin.org" -SRC_URI=" - amd64? ( - ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_amd64.deb -> ${P}-server-amd64.deb - ) - arm64? ( - ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_arm64.deb -> ${P}-server-arm64.deb - ) - ${BASE_URI}/web/${MY_PV}/${WEB_SRC}_all.deb -> ${P}-web.deb -" - -RESTRICT="mirror" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" - -DEPEND=" - !www-servers/jellyfin -" -RDEPEND=" - ${DEPEND} - <=dev-util/lttng-ust-2.12.1 - >=media-video/ffmpeg-4.2.2 - acct-group/jellyfin - acct-user/jellyfin - app-crypt/mit-krb5 - dev-db/sqlite - media-libs/fontconfig - media-libs/freetype -" - -QA_PREBUILT="usr/lib/${MY_PN}/bin/*" -QA_PRESTRIPPED="${QA_PREBUILT}" - -S="${WORKDIR}" - -PATCHES=( - "${FILESDIR}/${MY_PN}-default.patch" -) - -src_unpack() { - # https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests/145 - if use amd64 - then - unpack_deb "${P}-server-amd64.deb" - elif use arm64 - then - unpack_deb "${P}-server-arm64.deb" - else - die "Unsupported architecture" - fi - unpack_deb "${P}-web.deb" -} - -src_install() { - # Install the Server part - insinto usr/lib/ - doins -r "usr/lib/${MY_PN}" - insinto etc - doins -r "etc/${MY_PN}" - - # Install the Web UI part - insinto "usr/share/${MY_PN}/web" - doins -r "usr/share/${MY_PN}/web"/* - - # Install wrappers - make_wrapper "${MY_PN}" "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" - dosym "${EPREFIX}/usr/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}" - - # Install services - newinitd "${FILESDIR}/${MY_PN}" "${MY_PN}" - doconfd "etc/default/${MY_PN}" - dosym "${EPREFIX}/etc/conf.d/${MY_PN}" "${EPREFIX}/etc/default/${MY_PN}" - systemd_dounit "lib/systemd/system/${MY_PN}.service" - systemd_install_serviced "etc/systemd/system/${MY_PN}.service.d/${MY_PN}.service.conf" - - # Fix permissions - chmod +x "${ED}/usr/lib/${MY_PN}"/* || die - chmod +x "${ED}/usr/lib/${MY_PN}/bin"/* || die - chown -R jellyfin:jellyfin "${ED}/usr/lib/${MY_PN}" || die -} diff --git a/www-servers/jellyfin-bin/jellyfin-bin-10.7.7-r1.ebuild b/www-servers/jellyfin-bin/jellyfin-bin-10.7.7-r1.ebuild deleted file mode 100644 index 93e05d1..0000000 --- a/www-servers/jellyfin-bin/jellyfin-bin-10.7.7-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="${PN/-bin}" - -if [[ "${PV}" == *_rc* ]]; then - # _rc -> ~rc - MY_PV="${PV/_rc/~rc}" - SRV_SRC="${MY_PN}-server_${MY_PV}" - WEB_SRC="${MY_PN}-web_${MY_PV}" - RELEASE="stable-rc" -else - # Add "-1" - MY_PV="${PV}" - SRV_SRC="${MY_PN}-server_${MY_PV}-1" - WEB_SRC="${MY_PN}-web_${MY_PV}-1" - RELEASE="stable" -fi - -BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/${RELEASE}" - -inherit unpacker systemd wrapper - -DESCRIPTION="The Free Software Media System" -HOMEPAGE="https://jellyfin.org" -SRC_URI=" - amd64? ( - ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_amd64.deb -> ${P}-server-amd64.deb - ) - arm64? ( - ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_arm64.deb -> ${P}-server-arm64.deb - ) - ${BASE_URI}/web/${MY_PV}/${WEB_SRC}_all.deb -> ${P}-web.deb -" - -RESTRICT="mirror" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" - -DEPEND=" - !www-servers/jellyfin -" -RDEPEND=" - ${DEPEND} - <=dev-util/lttng-ust-2.12.1 - >=media-video/ffmpeg-4.2.2 - acct-group/jellyfin - acct-user/jellyfin - app-crypt/mit-krb5 - dev-db/sqlite - media-libs/fontconfig - media-libs/freetype -" - -QA_PREBUILT="usr/lib/${MY_PN}/bin/*" -QA_PRESTRIPPED="${QA_PREBUILT}" - -S="${WORKDIR}" - -PATCHES=( - "${FILESDIR}/${MY_PN}-default.patch" -) - -src_unpack() { - # https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests/145 - if use amd64 - then - unpack_deb "${P}-server-amd64.deb" - elif use arm64 - then - unpack_deb "${P}-server-arm64.deb" - else - die "Unsupported architecture" - fi - unpack_deb "${P}-web.deb" -} - -src_install() { - # Install the Server part - insinto usr/lib/ - doins -r "usr/lib/${MY_PN}" - insinto etc - doins -r "etc/${MY_PN}" - - # Install the Web UI part - insinto "usr/share/${MY_PN}/web" - doins -r "usr/share/${MY_PN}/web"/* - - # Install wrappers - make_wrapper "${MY_PN}" "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" - dosym "${EPREFIX}/usr/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}" - - # Install services - newinitd "${FILESDIR}/${MY_PN}" "${MY_PN}" - doconfd "etc/default/${MY_PN}" - dosym "${EPREFIX}/etc/conf.d/${MY_PN}" "${EPREFIX}/etc/default/${MY_PN}" - systemd_dounit "lib/systemd/system/${MY_PN}.service" - systemd_install_serviced "etc/systemd/system/${MY_PN}.service.d/${MY_PN}.service.conf" - - # Fix permissions - chmod +x "${ED}/usr/lib/${MY_PN}"/* || die - chmod +x "${ED}/usr/lib/${MY_PN}/bin"/* || die - chown -R jellyfin:jellyfin "${ED}/usr/lib/${MY_PN}" || die -} diff --git a/www-servers/jellyfin-bin/jellyfin-bin-10.8.0.ebuild b/www-servers/jellyfin-bin/jellyfin-bin-10.8.0.ebuild deleted file mode 100644 index fc6c8a4..0000000 --- a/www-servers/jellyfin-bin/jellyfin-bin-10.8.0.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin}" - -if [[ "${PV}" == *_rc* ]] ; then - # _rc -> ~rc - MY_PV="${PV/_rc/~rc}" - SRV_SRC="${MY_PN}-server_${MY_PV}" - WEB_SRC="${MY_PN}-web_${MY_PV}" - RELEASE="stable-rc" -elif [[ "${PV}" == *_beta* ]] ; then - MY_PV="${PV/_beta/-beta}" - SRV_SRC="${MY_PN}-server_${MY_PV/-beta/~beta}" - WEB_SRC="${MY_PN}-web_${MY_PV/-beta/~beta}" - RELEASE="stable-pre" -else - # Add "-1" - MY_PV="${PV}" - SRV_SRC="${MY_PN}-server_${MY_PV}-1" - WEB_SRC="${MY_PN}-web_${MY_PV}-1" - RELEASE="stable" -fi - -BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/${RELEASE}" - -inherit unpacker systemd wrapper - -DESCRIPTION="The Free Software Media System" -HOMEPAGE="https://jellyfin.org" -SRC_URI=" - amd64? ( - ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_amd64.deb -> ${P}-server-amd64.deb - ) - arm64? ( - ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_arm64.deb -> ${P}-server-arm64.deb - ) - ${BASE_URI}/web/${MY_PV}/${WEB_SRC}_all.deb -> ${P}-web.deb -" - -RESTRICT="mirror" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" - -DEPEND=" - !www-servers/jellyfin -" -RDEPEND=" - ${DEPEND} - <=dev-util/lttng-ust-2.12.1 - >=media-video/ffmpeg-4.2.2 - acct-group/jellyfin - acct-user/jellyfin - app-crypt/mit-krb5 - dev-db/sqlite - media-libs/fontconfig - media-libs/freetype -" - -QA_PREBUILT="usr/lib/${MY_PN}/bin/*" -QA_PRESTRIPPED="${QA_PREBUILT}" - -S="${WORKDIR}" - -PATCHES=( - "${FILESDIR}/${MY_PN}-default.patch" -) - -src_unpack() { - # https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests/145 - if use amd64 - then - unpack_deb "${P}-server-amd64.deb" - elif use arm64 - then - unpack_deb "${P}-server-arm64.deb" - else - die "Unsupported architecture" - fi - unpack_deb "${P}-web.deb" -} - -src_install() { - # Install the Server part - insinto usr/lib/ - doins -r "usr/lib/${MY_PN}" - insinto etc - doins -r "etc/${MY_PN}" - - # Install the Web UI part - insinto "usr/share/${MY_PN}/web" - doins -r "usr/share/${MY_PN}/web"/* - - # Install wrappers - make_wrapper "${MY_PN}" "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" - dosym "${EPREFIX}/usr/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}" - - # Install services - newinitd "${FILESDIR}/${MY_PN}" "${MY_PN}" - doconfd "etc/default/${MY_PN}" - dosym "${EPREFIX}/etc/conf.d/${MY_PN}" "${EPREFIX}/etc/default/${MY_PN}" - systemd_dounit "lib/systemd/system/${MY_PN}.service" - systemd_install_serviced "etc/systemd/system/${MY_PN}.service.d/${MY_PN}.service.conf" - - # Fix permissions - chmod +x "${ED}/usr/lib/${MY_PN}"/* || die - chmod +x "${ED}/usr/lib/${MY_PN}/bin"/* || die - chown -R jellyfin:jellyfin "${ED}/usr/lib/${MY_PN}" || die -} diff --git a/www-servers/jellyfin-bin/jellyfin-bin-10.8.1-r1.ebuild b/www-servers/jellyfin-bin/jellyfin-bin-10.8.1-r1.ebuild deleted file mode 100644 index fe88b1a..0000000 --- a/www-servers/jellyfin-bin/jellyfin-bin-10.8.1-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin}" - -if [[ "${PV}" == *_rc* ]] ; then - # _rc -> ~rc - MY_PV="${PV/_rc/~rc}" - SRV_SRC="${MY_PN}-server_${MY_PV}" - WEB_SRC="${MY_PN}-web_${MY_PV}" - RELEASE="stable-rc" -elif [[ "${PV}" == *_beta* ]] ; then - MY_PV="${PV/_beta/-beta}" - SRV_SRC="${MY_PN}-server_${MY_PV/-beta/~beta}" - WEB_SRC="${MY_PN}-web_${MY_PV/-beta/~beta}" - RELEASE="stable-pre" -else - # Add "-1" - MY_PV="${PV}" - SRV_SRC="${MY_PN}-server_${MY_PV}-1" - WEB_SRC="${MY_PN}-web_${MY_PV}-1" - RELEASE="stable" -fi - -inherit unpacker systemd wrapper - -DESCRIPTION="The Free Software Media System" -HOMEPAGE="https://jellyfin.org" -BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/${RELEASE}" -SRC_URI=" - amd64? ( ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_amd64.deb - -> ${P}-server-amd64.deb ) - arm64? ( ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_arm64.deb - -> ${P}-server-arm64.deb ) - ${BASE_URI}/web/${MY_PV}/${WEB_SRC}_all.deb -> ${P}-web.deb -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" - -DEPEND=" - !www-servers/jellyfin -" -RDEPEND=" - ${DEPEND} - <=dev-util/lttng-ust-2.12.1 - >=media-video/ffmpeg-4.2.2 - acct-group/jellyfin - acct-user/jellyfin - app-crypt/mit-krb5 - dev-db/sqlite - media-libs/fontconfig - media-libs/freetype -" - -QA_PREBUILT="usr/lib/${MY_PN}/bin/*" -QA_PRESTRIPPED="${QA_PREBUILT}" - -S="${WORKDIR}" - -PATCHES=( "${FILESDIR}"/${MY_PN}-default.patch ) - -src_unpack() { - # https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests/145 - if use amd64 ; then - unpack_deb ${P}-server-amd64.deb - elif use arm64 ; then - unpack_deb ${P}-server-arm64.deb - else - die "Unsupported architecture" - fi - - unpack_deb ${P}-web.deb -} - -src_install() { - # Web UI - insinto /usr/share/${MY_PN}/web - doins -r usr/share/${MY_PN}/web/* - - # Server - insinto /etc - doins -r etc/${MY_PN} - insinto /usr/lib - insopts -m0755 - doins -r usr/lib/${MY_PN} - fowners -R jellyfin:jellyfin /usr/lib/${MY_PN} - - # Wrappers - make_wrapper ${PN} "${EPREFIX}"/usr/lib/${MY_PN}/bin/${MY_PN} - dosym ../../usr/bin/${PN} /usr/bin/${MY_PN} - - # Services - newinitd "${FILESDIR}"/${MY_PN} ${MY_PN} - doconfd etc/default/${MY_PN} - dosym ../../etc/conf.d/${MY_PN} /etc/default/${MY_PN} - systemd_dounit lib/systemd/system/${MY_PN}.service - systemd_install_serviced etc/systemd/system/${MY_PN}.service.d/${MY_PN}.service.conf -} diff --git a/www-servers/jellyfin-bin/jellyfin-bin-10.8.2.ebuild b/www-servers/jellyfin-bin/jellyfin-bin-10.8.2.ebuild deleted file mode 100644 index fe88b1a..0000000 --- a/www-servers/jellyfin-bin/jellyfin-bin-10.8.2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin}" - -if [[ "${PV}" == *_rc* ]] ; then - # _rc -> ~rc - MY_PV="${PV/_rc/~rc}" - SRV_SRC="${MY_PN}-server_${MY_PV}" - WEB_SRC="${MY_PN}-web_${MY_PV}" - RELEASE="stable-rc" -elif [[ "${PV}" == *_beta* ]] ; then - MY_PV="${PV/_beta/-beta}" - SRV_SRC="${MY_PN}-server_${MY_PV/-beta/~beta}" - WEB_SRC="${MY_PN}-web_${MY_PV/-beta/~beta}" - RELEASE="stable-pre" -else - # Add "-1" - MY_PV="${PV}" - SRV_SRC="${MY_PN}-server_${MY_PV}-1" - WEB_SRC="${MY_PN}-web_${MY_PV}-1" - RELEASE="stable" -fi - -inherit unpacker systemd wrapper - -DESCRIPTION="The Free Software Media System" -HOMEPAGE="https://jellyfin.org" -BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/${RELEASE}" -SRC_URI=" - amd64? ( ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_amd64.deb - -> ${P}-server-amd64.deb ) - arm64? ( ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_arm64.deb - -> ${P}-server-arm64.deb ) - ${BASE_URI}/web/${MY_PV}/${WEB_SRC}_all.deb -> ${P}-web.deb -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" - -DEPEND=" - !www-servers/jellyfin -" -RDEPEND=" - ${DEPEND} - <=dev-util/lttng-ust-2.12.1 - >=media-video/ffmpeg-4.2.2 - acct-group/jellyfin - acct-user/jellyfin - app-crypt/mit-krb5 - dev-db/sqlite - media-libs/fontconfig - media-libs/freetype -" - -QA_PREBUILT="usr/lib/${MY_PN}/bin/*" -QA_PRESTRIPPED="${QA_PREBUILT}" - -S="${WORKDIR}" - -PATCHES=( "${FILESDIR}"/${MY_PN}-default.patch ) - -src_unpack() { - # https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests/145 - if use amd64 ; then - unpack_deb ${P}-server-amd64.deb - elif use arm64 ; then - unpack_deb ${P}-server-arm64.deb - else - die "Unsupported architecture" - fi - - unpack_deb ${P}-web.deb -} - -src_install() { - # Web UI - insinto /usr/share/${MY_PN}/web - doins -r usr/share/${MY_PN}/web/* - - # Server - insinto /etc - doins -r etc/${MY_PN} - insinto /usr/lib - insopts -m0755 - doins -r usr/lib/${MY_PN} - fowners -R jellyfin:jellyfin /usr/lib/${MY_PN} - - # Wrappers - make_wrapper ${PN} "${EPREFIX}"/usr/lib/${MY_PN}/bin/${MY_PN} - dosym ../../usr/bin/${PN} /usr/bin/${MY_PN} - - # Services - newinitd "${FILESDIR}"/${MY_PN} ${MY_PN} - doconfd etc/default/${MY_PN} - dosym ../../etc/conf.d/${MY_PN} /etc/default/${MY_PN} - systemd_dounit lib/systemd/system/${MY_PN}.service - systemd_install_serviced etc/systemd/system/${MY_PN}.service.d/${MY_PN}.service.conf -} diff --git a/www-servers/jellyfin-bin/metadata.xml b/www-servers/jellyfin-bin/metadata.xml deleted file mode 100644 index f22acfb..0000000 --- a/www-servers/jellyfin-bin/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - xgqt@protonmail.com - Maciej Barć - - - jellyfin/jellyfin - -