summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/ps3mediaserver
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/ps3mediaserver')
-rw-r--r--net-misc/ps3mediaserver/Manifest3
-rw-r--r--net-misc/ps3mediaserver/files/ps3mediaserver.confd7
-rw-r--r--net-misc/ps3mediaserver/files/ps3mediaserver.initd19
-rw-r--r--net-misc/ps3mediaserver/metadata.xml20
-rw-r--r--net-misc/ps3mediaserver/ps3mediaserver-1.82.0.ebuild89
-rw-r--r--net-misc/ps3mediaserver/ps3mediaserver-1.90.0.ebuild88
-rw-r--r--net-misc/ps3mediaserver/ps3mediaserver-1.90.1.ebuild88
7 files changed, 314 insertions, 0 deletions
diff --git a/net-misc/ps3mediaserver/Manifest b/net-misc/ps3mediaserver/Manifest
new file mode 100644
index 000000000000..933f09361df7
--- /dev/null
+++ b/net-misc/ps3mediaserver/Manifest
@@ -0,0 +1,3 @@
+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
diff --git a/net-misc/ps3mediaserver/files/ps3mediaserver.confd b/net-misc/ps3mediaserver/files/ps3mediaserver.confd
new file mode 100644
index 000000000000..7f12ebcf63b9
--- /dev/null
+++ b/net-misc/ps3mediaserver/files/ps3mediaserver.confd
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PMS_USER=
+PMS_GROUP=
+PMS_PIDFILE=/var/run/ps3mediaserver.pid
diff --git a/net-misc/ps3mediaserver/files/ps3mediaserver.initd b/net-misc/ps3mediaserver/files/ps3mediaserver.initd
new file mode 100644
index 000000000000..1b3ba65c9d23
--- /dev/null
+++ b/net-misc/ps3mediaserver/files/ps3mediaserver.initd
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+command="/usr/bin/ps3mediaserver"
+command_args="console"
+pidfile="${PMS_PIDFILE:-/var/run/ps3mediaserver.pid}"
+retry="10"
+start_stop_daemon_args="
+ --background
+ --make-pidfile
+ ${PMS_USER:+--user} ${PMS_USER}
+ ${PMS_GROUP:+--group} ${PMS_GROUP}
+"
+
+depend() {
+ need net
+}
diff --git a/net-misc/ps3mediaserver/metadata.xml b/net-misc/ps3mediaserver/metadata.xml
new file mode 100644
index 000000000000..b4d63de760df
--- /dev/null
+++ b/net-misc/ps3mediaserver/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+ <maintainer>
+ <email>vapier@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="multiuser">Allow renderer customization per-user.</flag>
+ <flag name="transcode">Install optional dependencies for transcoding support via media-video/mplayer</flag>
+ <flag name="tsmuxer">Install optional dependencies for transcoding support via media-video/tsmuxer</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">ps3mediaserver</remote-id>
+ <remote-id type="sourceforge">ps3mediaserver</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/ps3mediaserver/ps3mediaserver-1.82.0.ebuild b/net-misc/ps3mediaserver/ps3mediaserver-1.82.0.ebuild
new file mode 100644
index 000000000000..f6a7f209c635
--- /dev/null
+++ b/net-misc/ps3mediaserver/ps3mediaserver-1.82.0.ebuild
@@ -0,0 +1,89 @@
+# 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="http://code.google.com/p/ps3mediaserver"
+SRC_URI="http://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
+}
diff --git a/net-misc/ps3mediaserver/ps3mediaserver-1.90.0.ebuild b/net-misc/ps3mediaserver/ps3mediaserver-1.90.0.ebuild
new file mode 100644
index 000000000000..4ef99732eae5
--- /dev/null
+++ b/net-misc/ps3mediaserver/ps3mediaserver-1.90.0.ebuild
@@ -0,0 +1,88 @@
+# 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="http://code.google.com/p/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
+}
diff --git a/net-misc/ps3mediaserver/ps3mediaserver-1.90.1.ebuild b/net-misc/ps3mediaserver/ps3mediaserver-1.90.1.ebuild
new file mode 100644
index 000000000000..ec9c6b2cb509
--- /dev/null
+++ b/net-misc/ps3mediaserver/ps3mediaserver-1.90.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2014 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="http://code.google.com/p/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
+}