mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-misc/ps3mediaserver: remove old
Package-Manager: portage-2.3.2_p4
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST pms-1.90.0-generic-linux-unix.tar.gz 15789068 SHA256 5dc4d3e9607acf797c0f1c2e99c9cfbc1bb4c9e279ed153cc606f2d81e727800 SHA512 5ccf1f1cd6fd684808236910506b08187241e78d507dc2b83dbf928c7527b746a0f0a399e218cffc9328438a379293350e152c2c2936655bcb49757a8f7702ba WHIRLPOOL 147802fd3784a9c769be92759fbdc9b65be51f3d30d2cbdec97b51dfe39c18c3861f070c41ad75f67089e03620a715b50cbf090154fb450a15845e618bf756e0
|
||||
DIST pms-1.90.1-generic-linux-unix.tar.gz 15789602 SHA256 e90b20e548f66514c66524634f8458d9d133846fa1fc2fcabdbab19907047311 SHA512 af5748989dff1b106ba44a952fc68b43d11a929dec56440cf11ffd6f0a0c561febce54557855bf1afc2614cfb904b5997265f0bdf4ecf45535e12bbabc0fd11f WHIRLPOOL 27d84d5c115b76a5e60c5a5ed8a2a39bb67d92e0a7cb59ce73037668deb03522c8a5a5de490893e23e3cd8e57aee50bd6e85e33ee8d3dbec2b5bc1dacf1d5b51
|
||||
DIST pms-generic-linux-unix-1.82.0.tgz 15093724 SHA256 9bb5f4ffc2add70c4810aeb17e766cab1bf839ea2589bd7fea9d8c020a3d46c3 SHA512 fe8b2f60aa650940d8d720d8d32120fa4b0694c0d2947eef49858c7b81736e90a3df9b24e27f0368938c3bcdfa1e01bdc0a307861124bbd55e2ca54deab43813 WHIRLPOOL 40c30f4ddca06732c8eaa185427d0aad7a958bbaec9ef7608c1dc684f90714a1d47cd512ea205013a60409e6f50cba1f5d40a292744d49a9e35df41963d73f5f
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="DLNA compliant UPNP server for streaming media to Playstation 3"
|
||||
HOMEPAGE="https://github.com/ps3mediaserver/ps3mediaserver"
|
||||
SRC_URI="https://ps3mediaserver.googlecode.com/files/pms-generic-linux-unix-${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="multiuser +transcode tsmuxer"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.6.0
|
||||
media-libs/libmediainfo
|
||||
media-libs/libzen
|
||||
tsmuxer? ( media-video/tsmuxer )
|
||||
transcode? ( media-video/mplayer[encode] )"
|
||||
|
||||
S=${WORKDIR}/pms-${PV}
|
||||
PMS_HOME=/opt/${PN}
|
||||
|
||||
src_prepare() {
|
||||
if use multiuser; then
|
||||
cat > ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
if [ ! -e ~/.${PN} ]; then
|
||||
echo "Copying ${PMS_HOME} to ~/.${PN}"
|
||||
cp -pPR "${PMS_HOME}" ~/.${PN}
|
||||
fi
|
||||
export PMS_HOME=\${HOME}/.${PN}
|
||||
exec "\${PMS_HOME}/PMS.sh" "\$@"
|
||||
EOF
|
||||
else
|
||||
cat > ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
export PMS_HOME=${PMS_HOME}
|
||||
exec "\${PMS_HOME}/PMS.sh" "\$@"
|
||||
EOF
|
||||
fi
|
||||
|
||||
cat > ${PN}.desktop <<-EOF
|
||||
[Desktop Entry]
|
||||
Name=PS3 Media Server
|
||||
GenericName=Media Server
|
||||
Exec=${PN}
|
||||
Icon=${PN}
|
||||
Type=Application
|
||||
Categories=Network;
|
||||
EOF
|
||||
|
||||
unzip -j pms.jar resources/images/icon-{32,256}.png || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
|
||||
exeinto ${PMS_HOME}
|
||||
doexe PMS.sh
|
||||
|
||||
insinto ${PMS_HOME}
|
||||
doins -r pms.jar *.conf documentation plugins renderers *.xml
|
||||
use tsmuxer && dosym /opt/tsmuxer/bin/tsMuxeR ${PMS_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() {
|
||||
ewarn "Don't forget to disable transcoding engines for software"
|
||||
ewarn "that you don't have installed (such as having the VLC"
|
||||
ewarn "transcoding engine enabled when you only have mencoder)."
|
||||
if use multiuser; then
|
||||
echo
|
||||
ewarn "Make sure to refresh the .${PN} in your home directory if you are"
|
||||
ewarn "upgrading from a previous version."
|
||||
fi
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="DLNA compliant UPNP server for streaming media to Playstation 3"
|
||||
HOMEPAGE="https://github.com/ps3mediaserver/ps3mediaserver"
|
||||
SRC_URI="mirror://sourceforge/project/ps3mediaserver/pms-${PV}-generic-linux-unix.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="multiuser +transcode tsmuxer"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.6.0
|
||||
media-libs/libmediainfo
|
||||
media-libs/libzen
|
||||
tsmuxer? ( media-video/tsmuxer )
|
||||
transcode? ( media-video/mplayer[encode] )"
|
||||
|
||||
S=${WORKDIR}/pms-${PV}
|
||||
PMS_HOME=/opt/${PN}
|
||||
|
||||
src_prepare() {
|
||||
if use multiuser; then
|
||||
cat > ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
if [ ! -e ~/.${PN} ]; then
|
||||
echo "Copying ${PMS_HOME} to ~/.${PN}"
|
||||
cp -pPR "${PMS_HOME}" ~/.${PN}
|
||||
fi
|
||||
export PMS_HOME=\${HOME}/.${PN}
|
||||
exec "\${PMS_HOME}/PMS.sh" "\$@"
|
||||
EOF
|
||||
else
|
||||
cat > ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
export PMS_HOME=${PMS_HOME}
|
||||
exec "\${PMS_HOME}/PMS.sh" "\$@"
|
||||
EOF
|
||||
fi
|
||||
|
||||
cat > ${PN}.desktop <<-EOF
|
||||
[Desktop Entry]
|
||||
Name=PS3 Media Server
|
||||
GenericName=Media Server
|
||||
Exec=${PN}
|
||||
Icon=${PN}
|
||||
Type=Application
|
||||
Categories=Network;
|
||||
EOF
|
||||
|
||||
unzip -j pms.jar resources/images/icon-{32,256}.png || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
|
||||
exeinto ${PMS_HOME}
|
||||
doexe PMS.sh
|
||||
|
||||
insinto ${PMS_HOME}
|
||||
doins -r pms.jar *.conf documentation plugins renderers *.xml
|
||||
use tsmuxer && dosym /opt/tsmuxer/bin/tsMuxeR ${PMS_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 VLC"
|
||||
ewarn "transcoding engine enabled when you only have mencoder)."
|
||||
elif use multiuser; then
|
||||
ewarn "Remember to refresh the files in ~/.ps3mediaserver/"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user