www-servers/jellyfin-bin: bump to 10.7.0_rc2; PV and QA_ tweaks
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
3b40a39a72
commit
0fe0c6eef7
@ -1,2 +1,4 @@
|
||||
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
|
||||
DIST jellyfin-bin-10.7.0_rc2-server-amd64.deb 37858932 BLAKE2B ed77e3f3b31a8096431b0631891470a34bf6f9d2366321cb789e3f1ee8d6ba4ffe8f2c98ee57aff6f5e64a0aab53be87ddf07761a6054cadf40a4ec422f7f635 SHA512 ac0f91588f33e058648c7c40f7f3b1bdc2e2d377a908b0677488bbe1849749b574e494f35abfe7c7a0cf0fa2b2de7fe3aa8eb805a746433e384b5414dcbe0509
|
||||
DIST jellyfin-bin-10.7.0_rc2-web.deb 35040832 BLAKE2B a0027e83aa19135df7588dae7538635c56cc75be142f4d58c7b908633284b3294cbacc9990f21d3f448b007a4def22f610917a57bc0a4721c65e26c8753c7717 SHA512 2e5f8a27cd1aaa138ce94c6f4f6a1415dbbc813c6005c57791fddfd0cc5bde8c21cbc13b8c6d238c5ebe0bd1186b3b5cbd4463b876de794ab6d78ca0e452125e
|
||||
|
@ -1,10 +1,22 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 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/"
|
||||
BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/stable"
|
||||
MY_PN="${PN/-bin}"
|
||||
|
||||
if [[ "${PV}" == *_rc* ]]; then
|
||||
# _rc -> ~rc
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
SERVER_DEB="${MY_PN}-server_${MY_PV}_amd64.deb"
|
||||
WEB_DEB="${MY_PN}-web_${MY_PV}_all.deb"
|
||||
else
|
||||
# Add "-1"
|
||||
MY_PV="${PV}"
|
||||
SERVER_DEB="${MY_PN}-server_${MY_PV}-1_amd64.deb"
|
||||
WEB_DEB="${MY_PN}-web_${MY_PV}-1_all.deb"
|
||||
fi
|
||||
|
||||
inherit unpacker systemd wrapper
|
||||
|
||||
@ -12,12 +24,12 @@ 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
|
||||
${BASE_URI}/server/${MY_PV}/${SERVER_DEB} -> ${P}-server-${ARCH}.deb
|
||||
)
|
||||
arm64? (
|
||||
${BASE_URI}/server/${PV}/${MY_PN}-server_${PV}-1_arm64.deb -> ${P}-server-${ARCH}.deb
|
||||
${BASE_URI}/server/${MY_PV}/${SERVER_DEB} -> ${P}-server-${ARCH}.deb
|
||||
)
|
||||
${BASE_URI}/web/${PV}/${MY_PN}-web_${PV}-1_all.deb -> ${P}-web.deb
|
||||
${BASE_URI}/web/${MY_PV}/${WEB_DEB} -> ${P}-web.deb
|
||||
"
|
||||
|
||||
RESTRICT="mirror"
|
||||
@ -39,26 +51,8 @@ RDEPEND="
|
||||
media-libs/freetype
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/lib/${MY_PN}/bin/System.Globalization.Native.so
|
||||
usr/lib/${MY_PN}/bin/System.IO.Compression.Native.so
|
||||
usr/lib/${MY_PN}/bin/System.Native.so
|
||||
usr/lib/${MY_PN}/bin/System.Net.Http.Native.so
|
||||
usr/lib/${MY_PN}/bin/System.Net.Security.Native.so
|
||||
usr/lib/${MY_PN}/bin/System.Security.Cryptography.Native.OpenSsl.so
|
||||
usr/lib/${MY_PN}/bin/createdump
|
||||
usr/lib/${MY_PN}/bin/${MY_PN}
|
||||
usr/lib/${MY_PN}/bin/libSkiaSharp.so
|
||||
usr/lib/${MY_PN}/bin/libclrjit.so
|
||||
usr/lib/${MY_PN}/bin/libcoreclr.so
|
||||
usr/lib/${MY_PN}/bin/libcoreclrtraceptprovider.so
|
||||
usr/lib/${MY_PN}/bin/libdbgshim.so
|
||||
usr/lib/${MY_PN}/bin/libe_sqlite3.so
|
||||
usr/lib/${MY_PN}/bin/libhostfxr.so
|
||||
usr/lib/${MY_PN}/bin/libhostpolicy.so
|
||||
usr/lib/${MY_PN}/bin/libmscordaccore.so
|
||||
usr/lib/${MY_PN}/bin/libmscordbi.so
|
||||
"
|
||||
QA_PREBUILT="usr/lib/${MY_PN}/bin/*"
|
||||
QA_PRESTRIPPED="${QA_PRESTRIPPED}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
|
94
www-servers/jellyfin-bin/jellyfin-bin-10.7.0_rc2.ebuild
Normal file
94
www-servers/jellyfin-bin/jellyfin-bin-10.7.0_rc2.ebuild
Normal file
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/stable"
|
||||
MY_PN="${PN/-bin}"
|
||||
|
||||
if [[ "${PV}" == *_rc* ]]; then
|
||||
# _rc -> ~rc
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
SERVER_DEB="${MY_PN}-server_${MY_PV}_amd64.deb"
|
||||
WEB_DEB="${MY_PN}-web_${MY_PV}_all.deb"
|
||||
else
|
||||
# Add "-1"
|
||||
MY_PV="${PV}"
|
||||
SERVER_DEB="${MY_PN}-server_${MY_PV}-1_amd64.deb"
|
||||
WEB_DEB="${MY_PN}-web_${MY_PV}-1_all.deb"
|
||||
fi
|
||||
|
||||
inherit unpacker systemd wrapper
|
||||
|
||||
DESCRIPTION="The Free Software Media System"
|
||||
HOMEPAGE="https://jellyfin.org"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
${BASE_URI}/server/${MY_PV}/${SERVER_DEB} -> ${P}-server-${ARCH}.deb
|
||||
)
|
||||
arm64? (
|
||||
${BASE_URI}/server/${MY_PV}/${SERVER_DEB} -> ${P}-server-${ARCH}.deb
|
||||
)
|
||||
${BASE_URI}/web/${MY_PV}/${WEB_DEB} -> ${P}-web.deb
|
||||
"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
|
||||
DEPEND="
|
||||
!www-servers/jellyfin
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=media-video/ffmpeg-4.2.2
|
||||
acct-group/jellyfin
|
||||
acct-user/jellyfin
|
||||
dev-db/sqlite
|
||||
dev-util/lttng-ust
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
"
|
||||
|
||||
QA_PREBUILT="usr/lib/${MY_PN}/bin/*"
|
||||
QA_PRESTRIPPED="${QA_PRESTRIPPED}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${MY_PN}-default.patch"
|
||||
)
|
||||
|
||||
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}"
|
||||
|
||||
# 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user