net-misc/universalmediaserver: Version bump
This commit is contained in:
parent
607853cc72
commit
81403d495e
@ -1,4 +1,6 @@
|
||||
AUX universalmediaserver.confd 165 SHA256 ebddfaf249c9ae0f19c9905e707fbe7f3458f16d552aaafaa9448b54dbeec63b SHA512 49f0185cd898c6ebe193e08c75c0a0d4f8dc9dbecd0420c22449f82f1bef47f3b57e5dde614b64b67ae697f87e2a11492dbedad9d3ff4239f96667a7302dc281 WHIRLPOOL 1c93da3ef10e7cbc92f947d2db2f986b67e3723a5b95f13f869a8084a24c8ce0546d84cd7f04f408b362c1e1c0fc630f045c8baf999e1d0ce1e8b6a00659e87f
|
||||
AUX universalmediaserver.initd 401 SHA256 10c4f249f2206466d7645900af3fed904fc4e350696c12ed89a7893c927c5527 SHA512 eeeccb023c635360e4ea98cbe6a9d21f5de8c353eda6bfa43f593930fe8de1c7cf618c0a89fa7598295fda3ea277fedb7b8bbde1425cc1cd955248afadcaadf6 WHIRLPOOL 2b5cd454ebb263faf9bd9726ff18f0664eb1291b8906e731d1844493815d2f1efb8314eb48a387ca497357501f5e117ea64ef40b598eb585daaa8842809bf965
|
||||
DIST UMS-6.7.4.tgz 78316932 SHA256 41e2665a2d65e868afe4c3f8d426f11dc3b960bf55d7b79ef2fe6fa03e4484d3 SHA512 de862958525ed1dd58985fcdfe4907f73041ac447631b8bd6a831539c025aa285a977c20a3a532dbbd624943d52c17d3973146e2fb7d1ebe4f21bc73f09a3011 WHIRLPOOL 4b864cfb1befd76d8992c8d040b4f472248d368e2f257f0a98ce77e8451a8cf9c059d896b73bdf1d21b9f6ca3bf9b84f83a7cc61997e0df4a6c7b41864b891e1
|
||||
EBUILD universalmediaserver-6.7.4.ebuild 2241 SHA256 2104aefcf6c693aed30a01957b9a75dd60f97488a751bc4f7234bd6fa43f912e SHA512 bfe047a02ad12e40108b7190e5d1b12d8d8e366f4d119f37b6456bf1d209497971612bffeec81f099f2a93b90f13c708034d6a3cbd74c779015db71b8add2d5e WHIRLPOOL 92d7e4faab5342972fca91b077ed7287b09c53ce39530d7cbe65e6204ac35eff78594d13153c2ba6c0f586b8955736d41366d8234acb9a776cca22414185203f
|
||||
AUX universalmediaserver.confd 165 BLAKE2B e0354bfd4162d25c589c1ddd8627ef43c077b8311b1208df7589d33bc5244dbfb6104c4e7196bee136a92d4fd7aea34782c3951cf0824556c28bbe2e33284836 SHA512 49f0185cd898c6ebe193e08c75c0a0d4f8dc9dbecd0420c22449f82f1bef47f3b57e5dde614b64b67ae697f87e2a11492dbedad9d3ff4239f96667a7302dc281
|
||||
AUX universalmediaserver.initd 401 BLAKE2B 29a66366275dbb60a3363efa304ac948161cee0242df8b5420a419831b58b4784ba0e1f762e833e410ce25d6352a607f8a337bc3fac49a254b56f0e3fc99dca9 SHA512 eeeccb023c635360e4ea98cbe6a9d21f5de8c353eda6bfa43f593930fe8de1c7cf618c0a89fa7598295fda3ea277fedb7b8bbde1425cc1cd955248afadcaadf6
|
||||
DIST UMS-6.7.4.tgz 78316932 BLAKE2B 8e12a554942f772858c27426b0f843ec213ecdaae3a7abba1bf8433c2aaee41fdbf9ad8a3352575c355ac2736ae557da1b4bbad60cd5a821d6a40c2098cfb367 SHA512 de862958525ed1dd58985fcdfe4907f73041ac447631b8bd6a831539c025aa285a977c20a3a532dbbd624943d52c17d3973146e2fb7d1ebe4f21bc73f09a3011
|
||||
DIST UMS-7.0.1.tgz 78506079 BLAKE2B c056124e0c297fb6098f567edfea8a75014e939c190f3372e2ca095f90d2073d26c852cde2f042e10b79dc52f153d1a8eee47ad698befd6d2123d8e27dd0f057 SHA512 334b7103985882ba5ed2bfbd12795430a351376be38a077c9f07d8a2540d1f4aca6039e24cdccdf508331b312aa0be422b5faefe614397c2a3c72b67b6e22673
|
||||
EBUILD universalmediaserver-6.7.4.ebuild 2241 BLAKE2B b4742548ec31a9012516250d7ff0c1f8636fd257077f84e0e0ccbdc1113d9f83f16c2b93a22981efee0cfd0c92c82657e6f5fc5d3b0b99b3d0e691e617b47466 SHA512 bfe047a02ad12e40108b7190e5d1b12d8d8e366f4d119f37b6456bf1d209497971612bffeec81f099f2a93b90f13c708034d6a3cbd74c779015db71b8add2d5e
|
||||
EBUILD universalmediaserver-7.0.1.ebuild 2241 BLAKE2B b4742548ec31a9012516250d7ff0c1f8636fd257077f84e0e0ccbdc1113d9f83f16c2b93a22981efee0cfd0c92c82657e6f5fc5d3b0b99b3d0e691e617b47466 SHA512 bfe047a02ad12e40108b7190e5d1b12d8d8e366f4d119f37b6456bf1d209497971612bffeec81f099f2a93b90f13c708034d6a3cbd74c779015db71b8add2d5e
|
||||
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Universal Media Server is a DLNA-compliant UPnP Media Server."
|
||||
HOMEPAGE="http://www.universalmediaserver.com/"
|
||||
SRC_URI="mirror://sourceforge/project/unimediaserver/Official%20Releases/Linux/UMS-${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~arm64"
|
||||
IUSE="+dcraw +ffmpeg +libmediainfo +libzen +mplayer multiuser tsmuxer +vlc"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.8.0
|
||||
dcraw? ( media-gfx/dcraw )
|
||||
ffmpeg? ( media-video/ffmpeg[encode] )
|
||||
libmediainfo? ( media-libs/libmediainfo )
|
||||
libzen? ( media-libs/libzen )
|
||||
mplayer? ( media-video/mplayer[encode] )
|
||||
tsmuxer? ( media-video/tsmuxer )
|
||||
vlc? ( media-video/vlc[encode] ) "
|
||||
|
||||
S=${WORKDIR}/ums-${PV}
|
||||
UMS_HOME=/opt/${PN}
|
||||
|
||||
src_prepare() {
|
||||
if use multiuser; then
|
||||
cat > ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
if [ ! -e ~/.${PN} ]; then
|
||||
echo "Copying ${UMS_HOME} to ~/.${PN}"
|
||||
cp -pPR "${UMS_HOME}" ~/.${PN}
|
||||
fi
|
||||
export UMS_HOME=\${HOME}/.${PN}
|
||||
exec "\${UMS_HOME}/UMS.sh" "\$@"
|
||||
EOF
|
||||
else
|
||||
cat > ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
export UMS_HOME=${UMS_HOME}
|
||||
exec "\${UMS_HOME}/UMS.sh" "\$@"
|
||||
EOF
|
||||
fi
|
||||
|
||||
cat > ${PN}.desktop <<-EOF
|
||||
[Desktop Entry]
|
||||
Name=Universal Media Server
|
||||
GenericName=Media Server
|
||||
Exec=${PN}
|
||||
Icon=${PN}
|
||||
Type=Application
|
||||
Categories=Network;
|
||||
EOF
|
||||
|
||||
unzip -j ums.jar resources/images/icon-{32,256}.png || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
|
||||
exeinto ${UMS_HOME}
|
||||
doexe UMS.sh
|
||||
|
||||
insinto ${UMS_HOME}
|
||||
doins -r ums.jar *.conf documentation plugins renderers *.xml
|
||||
use tsmuxer && dosym /opt/tsmuxer/bin/tsMuxeR ${UMS_HOME}/linux/tsMuxeR
|
||||
dodoc CHANGELOG.txt README.md
|
||||
|
||||
newicon -s 32 icon-32.png ${PN}.png
|
||||
newicon -s 256 icon-256.png ${PN}.png
|
||||
|
||||
domenu ${PN}.desktop
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
ewarn "Don't forget to disable transcoding engines for software"
|
||||
ewarn "that you don't have installed (such as having the ffmpeg"
|
||||
ewarn "transcoding engine enabled when you only have mencoder)."
|
||||
elif use multiuser; then
|
||||
ewarn "Remember to refresh the files in ~/.config/UMS/"
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user