commit:     87df1817c1129c8b74ffc26787357e97741f7640
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 22 22:29:18 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 18:37:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87df1817

www-apps/lidarr-bin: move from www-apps/lidarr

Bug: https://bugs.gentoo.org/915346
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 profiles/updates/1Q-2024                           |  1 +
 www-apps/{lidarr => lidarr-bin}/Manifest           |  0
 www-apps/{lidarr => lidarr-bin}/files/lidarr.init  |  0
 .../{lidarr => lidarr-bin}/files/lidarr.logrotate  |  0
 .../{lidarr => lidarr-bin}/files/lidarr.service    |  0
 www-apps/lidarr-bin/lidarr-bin-2.2.3.4098.ebuild   | 78 ++++++++++++++++++++++
 www-apps/{lidarr => lidarr-bin}/metadata.xml       |  0
 www-apps/lidarr/lidarr-2.2.3.4098.ebuild           | 67 -------------------
 8 files changed, 79 insertions(+), 67 deletions(-)

diff --git a/profiles/updates/1Q-2024 b/profiles/updates/1Q-2024
index 8ce4c142a11d..37ed62dbe87a 100644
--- a/profiles/updates/1Q-2024
+++ b/profiles/updates/1Q-2024
@@ -95,3 +95,4 @@ move dev-python/aiorpcX dev-python/aiorpcx
 move www-apps/sonarr www-apps/sonarr-bin
 move www-apps/jellyfin www-apps/jellyfin-bin
 move www-apps/radarr www-apps/radarr-bin
+move www-apps/lidarr www-apps/lidarr-bin

diff --git a/www-apps/lidarr/Manifest b/www-apps/lidarr-bin/Manifest
similarity index 100%
rename from www-apps/lidarr/Manifest
rename to www-apps/lidarr-bin/Manifest

diff --git a/www-apps/lidarr/files/lidarr.init 
b/www-apps/lidarr-bin/files/lidarr.init
similarity index 100%
rename from www-apps/lidarr/files/lidarr.init
rename to www-apps/lidarr-bin/files/lidarr.init

diff --git a/www-apps/lidarr/files/lidarr.logrotate 
b/www-apps/lidarr-bin/files/lidarr.logrotate
similarity index 100%
rename from www-apps/lidarr/files/lidarr.logrotate
rename to www-apps/lidarr-bin/files/lidarr.logrotate

diff --git a/www-apps/lidarr/files/lidarr.service 
b/www-apps/lidarr-bin/files/lidarr.service
similarity index 100%
rename from www-apps/lidarr/files/lidarr.service
rename to www-apps/lidarr-bin/files/lidarr.service

diff --git a/www-apps/lidarr-bin/lidarr-bin-2.2.3.4098.ebuild 
b/www-apps/lidarr-bin/lidarr-bin-2.2.3.4098.ebuild
new file mode 100644
index 000000000000..2676b94f25ac
--- /dev/null
+++ b/www-apps/lidarr-bin/lidarr-bin-2.2.3.4098.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="Looks and smells like Sonarr but made for music"
+HOMEPAGE="https://lidarr.audio/
+       https://github.com/Lidarr/Lidarr/";
+
+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
+               )
+       )
+"
+S="${WORKDIR}/Lidarr"
+
+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
+"
+
+QA_PREBUILT="*"
+
+src_prepare() {
+       default
+
+       # https://github.com/dotnet/runtime/issues/57784
+       rm libcoreclrtraceptprovider.so 
Lidarr.Update/libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+       newinitd "${FILESDIR}/lidarr.init" lidarr
+
+       keepdir /var/lib/lidarr
+       fowners -R lidarr:lidarr /var/lib/lidarr
+
+       insinto /etc/logrotate.d
+       insopts -m0644 -o root -g root
+       newins "${FILESDIR}/lidarr.logrotate" lidarr
+
+       dodir  "/opt/lidarr"
+       cp -R "${S}/." "${D}/opt/lidarr" || die "Install failed!"
+
+       systemd_dounit "${FILESDIR}/lidarr.service"
+       systemd_newunit "${FILESDIR}/lidarr.service" "lidarr@.service"
+}

diff --git a/www-apps/lidarr/metadata.xml b/www-apps/lidarr-bin/metadata.xml
similarity index 100%
rename from www-apps/lidarr/metadata.xml
rename to www-apps/lidarr-bin/metadata.xml

diff --git a/www-apps/lidarr/lidarr-2.2.3.4098.ebuild 
b/www-apps/lidarr/lidarr-2.2.3.4098.ebuild
deleted file mode 100644
index ada71be57d53..000000000000
--- a/www-apps/lidarr/lidarr-2.2.3.4098.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2024 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"
-}

Reply via email to