summaryrefslogtreecommitdiff
path: root/media-sound/subsonic-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-24 02:11:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-24 02:11:45 +0100
commitb49088575eb777ced2551f484da86317332d6087 (patch)
treebf9a151cf2d61956340d555659ffc098ee1da466 /media-sound/subsonic-bin
parent514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (diff)
gentoo resync : 24.07.2021
Diffstat (limited to 'media-sound/subsonic-bin')
-rw-r--r--media-sound/subsonic-bin/Manifest2
-rw-r--r--media-sound/subsonic-bin/subsonic-bin-5.2.1-r3.ebuild (renamed from media-sound/subsonic-bin/subsonic-bin-5.2.1-r2.ebuild)34
2 files changed, 14 insertions, 22 deletions
diff --git a/media-sound/subsonic-bin/Manifest b/media-sound/subsonic-bin/Manifest
index 3f4eed5e3081..d278e6f66553 100644
--- a/media-sound/subsonic-bin/Manifest
+++ b/media-sound/subsonic-bin/Manifest
@@ -1,5 +1,5 @@
AUX subsonic.confd 420 BLAKE2B e7e1b0b6bd33ec62924a015036f3197581749ed74e07359f8ceca68fb6aceb8c63b80e0d195e28345f1f22ff84c826cc5ed362dec75c5c6c36f97fb6de036279 SHA512 2e79c5a6fb12d0b8d4c5107175da8ca65bcc10e42c385b056ba5c5bb4c98c7d9995c391a5bddd726237a1f13bf37d1cbdc48f7fa7b9d3dd1e3aab20a212b00be
AUX subsonic.initd 1194 BLAKE2B 018257ead2e8c620715404b3ba91ecce53913b7aa554670d1af495b2e1d17abf4ef5b140c62ada2eba0f01589bb43d08320c81c6c93f55f5510b8bcefb02dcff SHA512 7e99eaf2663d346d42e883f3501017e4da565f7b07ef390e370e097d13f4fd039ddccaa761562c2f43c28dbf3ad5c355dbfcef7b4e67ecccf3cd31819c86b14b
DIST subsonic-5.2.1-standalone.tar.gz 43671795 BLAKE2B 2cf2ff67aaac7dd2ce405d832bfbd1f7dd0a87f4e5698092048891778ebbcac35e70c535a1e2af012655bc49e555ffdcbcfaffea62ad16cd987458e0d30a0135 SHA512 1251b77cfbee80224d3e332945fecec981c79b27c129cb47f5880a82344db15d1f8d17b11dd272a4ad3d9794f4e3055d4a59826623d543b676de73fe1c83b936
-EBUILD subsonic-bin-5.2.1-r2.ebuild 1424 BLAKE2B 0894f8cd433ed48a9b69e72fec36de291b570bb85089396b24bfcbacff54106613ba0aac76172dc43948c4aa5f75100cdd594506d446bcf2bd763fc81551ede9 SHA512 2a45bb020927858a549d76d8ff798dc4c500cd0b6783a01c403abbaf0212a153c5d457d4d0fa3dd706a4cf36c47783189476a4d92b20161ab30911b9da100f9a
+EBUILD subsonic-bin-5.2.1-r3.ebuild 1250 BLAKE2B 02fa4ed7389c08b4cec83c223223d76840ae7e57a6434572ab964eb10c887a86cb7b22db8de8adeb59273d5a0ef33c6d9453aa577c9167dcbaee335a32a3240f SHA512 0be6bc89617df7056cedaf4468a773a93ae21ccbeca9a41449c1ebbabae41207a730ea033de7e597bb405d57292e14c7ac317a7f8aaa106f9cee2f64c29facf3
MISC metadata.xml 325 BLAKE2B 031eefbb5a58dcfdeca52016a4db3ffee06a097db0604cf95079f00e5897f13f25b12d6e9d5cb7d6e25bda3a41a230fa98d40d18c6a4acc5eaffe69423d25529 SHA512 f6fe0547df26e6c4f94b6b1e915a51731fa3d6f565c71adc64f2fc3d858dc67d4664e46fbb654fa982bf0ba5915d673e0891f20aabfaadc84c0df2c44df46865
diff --git a/media-sound/subsonic-bin/subsonic-bin-5.2.1-r2.ebuild b/media-sound/subsonic-bin/subsonic-bin-5.2.1-r3.ebuild
index 8aee2ef491d5..4aaf33bdd807 100644
--- a/media-sound/subsonic-bin/subsonic-bin-5.2.1-r2.ebuild
+++ b/media-sound/subsonic-bin/subsonic-bin-5.2.1-r3.ebuild
@@ -1,35 +1,30 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit wrapper user
+inherit wrapper
MY_PN="${PN//-bin}"
DESCRIPTION="Subsonic is a complete, personal media streaming solution"
HOMEPAGE="http://www.subsonic.org/"
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_PN}-${PV}-standalone.tar.gz"
+S="${WORKDIR}/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ffmpeg lame selinux"
-DEPEND=""
-RDEPEND="virtual/jre
+RDEPEND="
+ acct-group/subsonic
+ acct-user/subsonic
+ virtual/jre
lame? ( media-sound/lame )
ffmpeg? ( media-video/ffmpeg )
- selinux? ( sec-policy/selinux-subsonic )"
-
-S="${WORKDIR}/"
-SUBSONIC_HOME="/var/lib/${MY_PN}"
-USER_GROUP="subsonic"
-
-pkg_setup() {
- enewgroup "${USER_GROUP}"
- enewuser "${USER_GROUP}" -1 -1 ${SUBSONIC_HOME} "${USER_GROUP}"
-}
+ selinux? ( sec-policy/selinux-subsonic )
+"
src_install() {
local dir="/usr/libexec/${MY_PN}"
@@ -42,21 +37,18 @@ src_install() {
exeinto ${dir}
doexe subsonic.sh
- keepdir ${SUBSONIC_HOME}
- fowners ${USER_GROUP}:${USER_GROUP} ${SUBSONIC_HOME}
-
newinitd "${FILESDIR}/subsonic.initd" subsonic
newconfd "${FILESDIR}/subsonic.confd" subsonic
make_wrapper ${MY_PN} "${dir}/subsonic.sh"
if use ffmpeg; then
- dodir ${SUBSONIC_HOME}/transcode
- dosym ../../../../usr/bin/ffmpeg ${SUBSONIC_HOME}/transcode/ffmpeg
+ keepdir /var/lib/subsonic/transcode
+ dosym ../../../../../usr/bin/ffmpeg /var/lib/subsonic/transcode/transcode/ffmpeg
fi
if use lame; then
- dodir ${SUBSONIC_HOME}/transcode
- dosym ../../../../usr/bin/lame ${SUBSONIC_HOME}/transcode/lame
+ keepdir /var/lib/subsonic/transcode/transcode
+ dosym ../../../../../usr/bin/lame /var/lib/subsonic/transcode/transcode/lame
fi
}