diff --git a/www-servers/jellyfin-bin/Manifest b/www-servers/jellyfin-bin/Manifest new file mode 100644 index 0000000..fd07d65 --- /dev/null +++ b/www-servers/jellyfin-bin/Manifest @@ -0,0 +1,2 @@ +DIST jellyfin-bin-10.6.4-server-amd64.deb 36142684 BLAKE2B 566dbe54a639a3f7066115e8e99dfbe4adcc91b7467ce5d2dd70536a90bf9244f217e1ce36ed786ea1625af22a3faccb6805030288acfa4979875fccb536cd79 SHA512 0600b2f3434db5397f95ed560e9d28a3a69515c7039ccda1066c86ea5a3f6e8dbbc3ecc67584d58193535d009c6c8f66da06515b78cd50ae0c0061dd265f188d +DIST jellyfin-bin-10.6.4-web.deb 30548488 BLAKE2B 59061f90afcf1215a6ff65868dc5faac83b28914010e324f30cd13b74433857f2ae99736ea59970273eda5acf29ebf2dacee8135c45f61786ae97e36de176703 SHA512 834368480c942f32171967b0895972f75aa3d77c2a2fb131f67b81fd8dee438b8a00c48dd0901aa3e12d0fa369176e06f9a8662046086f43b94ff6c7ef41a591 diff --git a/www-servers/jellyfin-bin/jellyfin-bin-10.6.4.ebuild b/www-servers/jellyfin-bin/jellyfin-bin-10.6.4.ebuild new file mode 100644 index 0000000..912923d --- /dev/null +++ b/www-servers/jellyfin-bin/jellyfin-bin-10.6.4.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN//-bin}" +BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/stable/" + +# No 'webapp' here because this is a server +inherit eutils unpacker systemd + +DESCRIPTION="The Free Software Media System" +HOMEPAGE="https://jellyfin.org" +SRC_URI=" + amd64? ( + ${BASE_URI}/server/${PV}/${MY_PN}-server_${PV}-1_amd64.deb -> ${P}-server-${ARCH}.deb + ) + arm64? ( + ${BASE_URI}/server/${PV}/${MY_PN}-server_${PV}-1_arm64.deb -> ${P}-server-${ARCH}.deb + ) + ${BASE_URI}/web/${PV}/${MY_PN}-web_${PV}-1_all.deb -> ${P}-web.deb +" + +RESTRICT="mirror" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" +IUSE="" + +DEPEND="" +RDEPEND=" + >=media-video/ffmpeg-4.2.2 + dev-db/sqlite + media-libs/fontconfig + media-libs/freetype +" + +QA_PRESTRIPPED=" + usr/lib/jellyfin/bin/System.Globalization.Native.so + usr/lib/jellyfin/bin/System.IO.Compression.Native.so + usr/lib/jellyfin/bin/System.Native.so + usr/lib/jellyfin/bin/System.Net.Http.Native.so + usr/lib/jellyfin/bin/System.Net.Security.Native.so + usr/lib/jellyfin/bin/System.Security.Cryptography.Native.OpenSsl.so + usr/lib/jellyfin/bin/createdump + usr/lib/jellyfin/bin/jellyfin + usr/lib/jellyfin/bin/libSkiaSharp.so + usr/lib/jellyfin/bin/libclrjit.so + usr/lib/jellyfin/bin/libcoreclr.so + usr/lib/jellyfin/bin/libcoreclrtraceptprovider.so + usr/lib/jellyfin/bin/libdbgshim.so + usr/lib/jellyfin/bin/libe_sqlite3.so + usr/lib/jellyfin/bin/libhostfxr.so + usr/lib/jellyfin/bin/libhostpolicy.so + usr/lib/jellyfin/bin/libmscordaccore.so + usr/lib/jellyfin/bin/libmscordbi.so +" + +S="${WORKDIR}" + +src_unpack() { + unpack_deb "${P}-server-${ARCH}.deb" + 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} + insinto etc/default + doins etc/default/${MY_PN} + + # Install the Web UI part + insinto usr/lib/${MY_PN}/bin/${MY_PN}-web + doins -r usr/share/${MY_PN}/web/* + + # Install wrappers and services + make_wrapper "${MY_PN}" "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" + dosym "${EPREFIX}/usr/bin/jellyfin" "${EPREFIX}/usr/bin/jellyfin-bin" + systemd_dounit lib/systemd/system/${MY_PN}.service + systemd_install_serviced etc/systemd/system/${MY_PN}.service.d/${MY_PN}.service.conf + + # Fix permissions + fperms +x /usr/lib/${MY_PN}/* + fperms +x /usr/lib/${MY_PN}/bin/* +} diff --git a/www-servers/jellyfin-bin/metadata.xml b/www-servers/jellyfin-bin/metadata.xml new file mode 100644 index 0000000..8c782bd --- /dev/null +++ b/www-servers/jellyfin-bin/metadata.xml @@ -0,0 +1,11 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + jellyfin/jellyfin + +