commit: 04c4fcae32278189ed9c3542772c2e1ba8792479 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Nov 20 14:12:50 2023 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Nov 20 14:16:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c4fcae
www-apps/lidarr: add 2.0.4.3802 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/lidarr/Manifest | 6 +++ www-apps/lidarr/lidarr-2.0.4.3802.ebuild | 67 ++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/www-apps/lidarr/Manifest b/www-apps/lidarr/Manifest index f52c0ab48c5c..57233bd6d4e5 100644 --- a/www-apps/lidarr/Manifest +++ b/www-apps/lidarr/Manifest @@ -4,3 +4,9 @@ DIST Lidarr.develop.2.0.2.3782.linux-core-x64.tar.gz 97618301 BLAKE2B 9b77d264ec DIST Lidarr.develop.2.0.2.3782.linux-musl-core-arm.tar.gz 91564399 BLAKE2B db52aec7e22d42e6c1d9c4c24ada9c74d97511952b6472b6d9ae7f5905e8d4f94b123c640f7be4daaba557a723037994d128653f1bb3a544edb581ee558020a0 SHA512 2a29e99facdc4f247e5445752ea8f8450297ead77f15dea0c6f7449ca50c948e78c33c350455ce4959b5ca3b868b35abf944a91eaa58aecd44ca2bf6efacddc3 DIST Lidarr.develop.2.0.2.3782.linux-musl-core-arm64.tar.gz 91177304 BLAKE2B acfa7e64fa67035405f092c3921d9db37927483758d91f098c033033107669a2a4761277c6a0948cca766bdd6c91fee42936429847b3af0ba1fce6f36637d292 SHA512 718380836b8ea5ff200f6a9978f5df1fc465ff597c8720c1a14309d9a49c36c822606913ef7f2c7507021bf469ff879899d4f840d26788d6ac92bfd370d08c02 DIST Lidarr.develop.2.0.2.3782.linux-musl-core-x64.tar.gz 96695082 BLAKE2B 02de600e3daa50230666d20499ff2062dbf47e1bf44d79ffff3e1057f9dfd34319073872ae5e74619c9bbc18f5f535bdc866e9a5351f987d3c4703d6ca0397db SHA512 332861aad4d808c194949774f7b06e7cf7cc8d1f7dfbbe02e2d2cf153e68ebdb858ce3acf914d196f330ba5e2c969cbcbb47d9afddc27465caf73e5cb1adadc8 +DIST Lidarr.develop.2.0.4.3802.linux-core-arm.tar.gz 91507642 BLAKE2B 37949d35ffb42ec40f0b377d75ea699cb0b643b4bba121c39881f87c11fafbc37f3c5152471f551bc71f299f9bcd72bf110449f67a1f5e893d66edf2d894db3a SHA512 d22b607eb914697cd08e9d31cef5ee004083b89823d31be62bfa41eb25f1806118ea09f5d8a529ed955ffb788f8c58288bbf9960b972cb91050f9b599e473adb +DIST Lidarr.develop.2.0.4.3802.linux-core-arm64.tar.gz 91134411 BLAKE2B beabf1fe0e2cad97735ca571f2afdadb4e087063841165d98d90170aec3cb054adba03aacf21af58e33d81afbf6276ae723592f5570fc99374d7aee207c5c633 SHA512 c0a68b89601da920666d4475ff15869d74bf32504edf8c5fba26376f5a7acd61587768843fc293c834a53bfa05a4134378bad43989db54814beb20e68ee93196 +DIST Lidarr.develop.2.0.4.3802.linux-core-x64.tar.gz 97625816 BLAKE2B cb5f813079b4e8b116f2e1906555bcace6c4e175a85f97bafa0efceeed12e16b99bba8df0bd6f0d11ccb82d872a1648149cd409b8a4d443e4b8e3669a70bdfd9 SHA512 7b8bb5a85fc89ca974bd6d0a5cf171875b5a2ba3484f6cf0564d4d5596647f3fe1cacdcaa8ed812ebefc253f29614ca7dc573ac38b08c9152f5179d36f3c8833 +DIST Lidarr.develop.2.0.4.3802.linux-musl-core-arm.tar.gz 91565206 BLAKE2B 0c498d862b40ad7fefc7e6d0068574f82894c9e17752e4ae29febb413ca90d167c3f1406a373b3f7e10af03a2b840e6cb36b0a5ce93c7443d292db0e77b13473 SHA512 a34ff722a8cb4aaff4b76e7c8b5bb1834434fc87fa5963dbc28669f6e7f505c38894d4e34cf1d410d25ed6d3139cd2884797a8cfec37730b7d4834e64776be02 +DIST Lidarr.develop.2.0.4.3802.linux-musl-core-arm64.tar.gz 91180418 BLAKE2B 63bd830377633dfa9d23647de11b75c4863ea5a12da588ceaa08ad497e256ab97e30d0d887ae61068d5e671d22d008df0a291d01b77d21130516e54caac071c6 SHA512 daed748e40010eed750d305ab28f55206e315b0373b7761a4a7291614b8d3ce92062e553345492ce6960e67ded182d418aa0cd205014f6422e2425a5d409ce9a +DIST Lidarr.develop.2.0.4.3802.linux-musl-core-x64.tar.gz 96699476 BLAKE2B 5645a313fd344896b8830effc6cd1b6848d6f2ebae28573314780d5b84e1a047f287b9e1945d348011bddf1e58583f4a87efc820159e6e41683c52e3af95bba2 SHA512 348e400dd868e7b75ea6d405ad171be9223bf44a96156c388bb31c85d1e8bb61c0e7e45c0441906ad0c5971716cd5bd3cc85671cc16acd25f15029f8001d3891 diff --git a/www-apps/lidarr/lidarr-2.0.4.3802.ebuild b/www-apps/lidarr/lidarr-2.0.4.3802.ebuild new file mode 100644 index 000000000000..ecfb5b24dcdf --- /dev/null +++ b/www-apps/lidarr/lidarr-2.0.4.3802.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +SRC_URI=" + amd64? ( + elibc_glibc? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-x64.tar.gz ) + elibc_musl? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-musl-core-x64.tar.gz ) + ) + arm? ( + elibc_glibc? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-arm.tar.gz ) + elibc_musl? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-musl-core-arm.tar.gz ) + ) + arm64? ( + elibc_glibc? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-arm64.tar.gz ) + elibc_musl? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-musl-core-arm64.tar.gz ) + ) +" + +DESCRIPTION="Looks and smells like Sonarr but made for music" +HOMEPAGE="https://lidarr.audio" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist strip test" + +RDEPEND=" + acct-group/lidarr + acct-user/lidarr + media-video/mediainfo + dev-libs/icu + dev-util/lttng-ust:0 + dev-db/sqlite + sys-libs/glibc +" + +QA_PREBUILT="*" + +S="${WORKDIR}/Lidarr" + +src_prepare() { + default + + # https://github.com/dotnet/runtime/issues/57784 + rm libcoreclrtraceptprovider.so Lidarr.Update/libcoreclrtraceptprovider.so || die +} + +src_install() { + newinitd "${FILESDIR}/${PN}.init" ${PN} + + keepdir /var/lib/${PN} + fowners -R ${PN}:${PN} /var/lib/${PN} + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/${PN}.logrotate" ${PN} + + dodir "/opt/${PN}" + cp -R "${S}/." "${D}/opt/lidarr" || die "Install failed!" + + systemd_dounit "${FILESDIR}/lidarr.service" + systemd_newunit "${FILESDIR}/lidarr.service" "${PN}@.service" +}