summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-07-22 22:08:32 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-07-22 22:08:46 +0200
commit953828d90448fe143135ee7e6e33ad8c9fcb1754 (patch)
tree419d0f6e2fdf66406135052e7dee965e0c356333 /media-sound/subsonic-bin
parentmedia-sound/subsonic-bin: migrate to GLEP 81 (diff)
downloadgentoo-953828d90448fe143135ee7e6e33ad8c9fcb1754.tar.gz
gentoo-953828d90448fe143135ee7e6e33ad8c9fcb1754.tar.bz2
gentoo-953828d90448fe143135ee7e6e33ad8c9fcb1754.zip
media-sound/subsonic-bin: drop old version
Closes: https://bugs.gentoo.org/781338 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-sound/subsonic-bin')
-rw-r--r--media-sound/subsonic-bin/subsonic-bin-5.2.1-r2.ebuild62
1 files changed, 0 insertions, 62 deletions
diff --git a/media-sound/subsonic-bin/subsonic-bin-5.2.1-r2.ebuild b/media-sound/subsonic-bin/subsonic-bin-5.2.1-r2.ebuild
deleted file mode 100644
index 8aee2ef491d5..000000000000
--- a/media-sound/subsonic-bin/subsonic-bin-5.2.1-r2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit wrapper user
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ffmpeg lame selinux"
-
-DEPEND=""
-RDEPEND="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}"
-}
-
-src_install() {
- local dir="/usr/libexec/${MY_PN}"
-
- dodoc README.TXT "Getting Started.html"
-
- insinto ${dir}
- doins subsonic-booter-jar-with-dependencies.jar subsonic.war
-
- 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
- fi
-
- if use lame; then
- dodir ${SUBSONIC_HOME}/transcode
- dosym ../../../../usr/bin/lame ${SUBSONIC_HOME}/transcode/lame
- fi
-}