diff options
author | Craig Andrews <candrews@gentoo.org> | 2023-07-17 20:40:01 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2023-07-17 20:40:01 -0400 |
commit | b158ad110b080b6df017f6b6ff08c7b36e02f967 (patch) | |
tree | 0b674dbc78267b0195ca441d28791277b1e329ee /www-apps | |
parent | www-apps/jackett: drop 0.21.481 (diff) | |
download | gentoo-b158ad110b080b6df017f6b6ff08c7b36e02f967.tar.gz gentoo-b158ad110b080b6df017f6b6ff08c7b36e02f967.tar.bz2 gentoo-b158ad110b080b6df017f6b6ff08c7b36e02f967.zip |
www-apps/lidarr: add musl support
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/lidarr/Manifest | 3 | ||||
-rw-r--r-- | www-apps/lidarr/lidarr-1.3.1.3371-r2.ebuild | 67 |
2 files changed, 70 insertions, 0 deletions
diff --git a/www-apps/lidarr/Manifest b/www-apps/lidarr/Manifest index 9b1fb85ac024..acd7a97a1514 100644 --- a/www-apps/lidarr/Manifest +++ b/www-apps/lidarr/Manifest @@ -1,3 +1,6 @@ DIST Lidarr.develop.1.3.1.3371.linux-core-arm.tar.gz 91228972 BLAKE2B 6b87e65ac7b52fef45bec48cec21090295fc32161d2495be8a1dad4765649170a682f4a388bd92c4bb44ad8304b939354c0b0cda27c37e0dae0438b88cef402b SHA512 9609d305599720580ea5b552b6de9e09c38384c4259915559fc6658a62ea6a2808a63568a276d5aa9aad890f4ceba5c92be74e8decb3df046c73f8af75f8bb3f DIST Lidarr.develop.1.3.1.3371.linux-core-arm64.tar.gz 90849747 BLAKE2B fe9203b61e2567b3b61a80ea9187847221871903af5d8a7574e0140e14087aabeb254b7b0829863e127035b9fb0090b601e59406c757c0a9e2524cbf6b0d6c4a SHA512 9c4206631d87490bd9582e52ec6aa037f2a9d7b6fcf0e8a560279fce1a18393b7049c426fe366979b87ba826be78161a0908d1ea1af60eec55a0cccc83beb37b DIST Lidarr.develop.1.3.1.3371.linux-core-x64.tar.gz 97348413 BLAKE2B cf2de430be5ecc88b624663a3e02d167714dc1bc72c18fc6b72936c1dfd5a70dae1671ab734d93fada1fcd1d2c4b7fdf1525289faf865fc0d9a2336b1ecbee95 SHA512 5286e5c628f4742df15acc72e9be62b8481b97495d677350fb53f03db3aff132e83d7a5dcaa65b39fa9f9d16bd473be0bfdd5971993b2659b577830ddada95e3 +DIST Lidarr.develop.1.3.1.3371.linux-musl-core-arm.tar.gz 91300722 BLAKE2B 099f6ff1b2c702986531bdab1657f82a7d75b2a6bed960e28d2bb537a73824f0feb98b4db5a35f33c72f36304febd53b2a2511a97c8cea6cb84bac7e04b81834 SHA512 65582c8c1c1c8811a6a7fee453130639e95615c26d5b4b6c71280774b52d78ac4b6951db4eb3721ef74fb57e2f9b40f937f47057dfcece00a0de0aee02e0eb7f +DIST Lidarr.develop.1.3.1.3371.linux-musl-core-arm64.tar.gz 90898801 BLAKE2B 9bee3efad425cf53225cad6481325611e818998d0f6a4e4369a32fcc8dda3951291a6c3625ea46e61d757068cf3d23f103acc6529d947765752e51a4836c02f5 SHA512 990185ce33a3a21463498c9863f575f808b67c16900d3e2fa96f7d337f0c7c839b1c106bfe10de9fb2caca8c89b7a66f9c8edb8b89b0d42f16afeddefe35448b +DIST Lidarr.develop.1.3.1.3371.linux-musl-core-x64.tar.gz 96409558 BLAKE2B 6a16bf8a2e456652a8d3cf20bbde84cdf26e71bce0c9c888d168acb4774f3a0fdfe0732bde5823cf15c0587ca9382eb35cd516887853eb22ec0dbcd3cfdacc16 SHA512 80adcb511d7453376a5262700f954816838fbf739c3fa177fdeba9adc1d550f93fafdcf50813e45edff9bbcffcdf00f1bc08e222aa28e054e101d182bacb21f4 diff --git a/www-apps/lidarr/lidarr-1.3.1.3371-r2.ebuild b/www-apps/lidarr/lidarr-1.3.1.3371-r2.ebuild new file mode 100644 index 000000000000..ecfb5b24dcdf --- /dev/null +++ b/www-apps/lidarr/lidarr-1.3.1.3371-r2.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" +} |