summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-11-30 06:38:30 +0000
committerMike Gilbert <floppym@gentoo.org>2011-11-30 06:38:30 +0000
commit91d8e31ce6930652cf5c99cd929dd71a60e69f38 (patch)
treea0879d50ec20021de3122f8e751a2bffccc74e5b /net-misc/ps3mediaserver
parentNew snapshot, thanks to Nikoli <nikoli@lavabit.com> for the updated ebuild in... (diff)
downloadhistorical-91d8e31ce6930652cf5c99cd929dd71a60e69f38.tar.gz
historical-91d8e31ce6930652cf5c99cd929dd71a60e69f38.tar.bz2
historical-91d8e31ce6930652cf5c99cd929dd71a60e69f38.zip
Version bump. Add multiuser use flag to control launcher behavior.
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'net-misc/ps3mediaserver')
-rw-r--r--net-misc/ps3mediaserver/ChangeLog8
-rw-r--r--net-misc/ps3mediaserver/Manifest12
-rw-r--r--net-misc/ps3mediaserver/metadata.xml1
-rw-r--r--net-misc/ps3mediaserver/ps3mediaserver-1.50.0.ebuild89
4 files changed, 104 insertions, 6 deletions
diff --git a/net-misc/ps3mediaserver/ChangeLog b/net-misc/ps3mediaserver/ChangeLog
index b6c9c3676f08..311ca05db0c3 100644
--- a/net-misc/ps3mediaserver/ChangeLog
+++ b/net-misc/ps3mediaserver/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/ps3mediaserver
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ps3mediaserver/ChangeLog,v 1.3 2011/11/04 04:16:52 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ps3mediaserver/ChangeLog,v 1.4 2011/11/30 06:38:30 floppym Exp $
+
+*ps3mediaserver-1.50.0 (30 Nov 2011)
+
+ 30 Nov 2011; Mike Gilbert <floppym@gentoo.org> +ps3mediaserver-1.50.0.ebuild,
+ metadata.xml:
+ Version bump. Add multiuser use flag to control launcher behavior.
*ps3mediaserver-1.40.0 (04 Nov 2011)
diff --git a/net-misc/ps3mediaserver/Manifest b/net-misc/ps3mediaserver/Manifest
index a022cb2f216c..48c0cad4e7f4 100644
--- a/net-misc/ps3mediaserver/Manifest
+++ b/net-misc/ps3mediaserver/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST pms-generic-linux-unix-1.20.412.tgz 7900523 RMD160 abd47aad0365da3467d767b7fc0d6afaf9d38462 SHA1 c7b609a27aeab358e870b5c490425206e067bd01 SHA256 079005710f738782194740cbb79e5968e2cad44cd33872a2e2eccba08b504eaf
DIST pms-generic-linux-unix-1.40.0.tgz 10712683 RMD160 2dab0ddac33b6279eda3eaff1987cc3872f85c74 SHA1 856024890f4e024da32169c1243deba08e597c08 SHA256 7a13184defc89c15d9a2f47c5a32472ba479b9d267fcfecf8224528f9cd59a50
+DIST pms-generic-linux-unix-1.50.0.tgz 12336817 RMD160 8f9fd855a18bdc185f32f691e7a347125bef6a6f SHA1 2bd968a792a4409f45aa4cf25c8796c021fd1dd2 SHA256 22bcb820a89b771ce2ca8455e671b0b8372f29b22e0d9ca9c303d30d58ddbdde
EBUILD ps3mediaserver-1.20.412-r1.ebuild 1407 RMD160 1163b63dca9218c811296d9c61b21e2d71f71606 SHA1 4eab383ddd250c8bf015ca388b07a774b721b1b3 SHA256 ce168534764353897f1fc1ba84f533d5b44cc16edb93f39a52b61ff23baaacb2
EBUILD ps3mediaserver-1.40.0.ebuild 1855 RMD160 31f13a5f746ee63e9fcf2d45d0cb43c2ea56c98f SHA1 0329709134e75169b379aa791d73328761f07f75 SHA256 ed36389eeb0df2fe198261777a55beee3a7e22e06c47e3271522f7d6666a3128
-MISC ChangeLog 822 RMD160 7779812c6d3935e6554f90135c1e877192cd9dd8 SHA1 47be973ee630cce683da24416db36b3f501770b3 SHA256 770e9d952a846422a3d7b3e3dfd4cc989af6ac1151e9df9164095ae9156a3ecc
-MISC metadata.xml 518 RMD160 717b7dec70c563edd656902159147f9c790eb9ae SHA1 64e049ee047533db2ad68e8bbe730fb449d4a143 SHA256 ff82a8a557647837a47e1b97e80856216f1eef4ca108188fb958b0305784eb72
+EBUILD ps3mediaserver-1.50.0.ebuild 2202 RMD160 6c3495318bb9e6fcee4bbec30464a905b758d2cb SHA1 418fc486184b536ccd42b7d4f66d6452c5afc7e5 SHA256 f82eabb296537439a7029cee0c585e8f7101fcd319dcd745a35318f8c12cca6f
+MISC ChangeLog 1026 RMD160 db740eface2b07b495a5ff29fc1e5258472848d3 SHA1 0e96ecee5a2f0df924197325f69b694734c60408 SHA256 d876a75e550500a288727d8e5f12df39f33bb81bb7db161e7bc77cfb453c5620
+MISC metadata.xml 588 RMD160 8f41bbc5f6644c2e78aa97fcbad9428c278d5466 SHA1 0cfc20f715272cf11d5b6d90a0a05ca78deb9ef6 SHA256 b2fd207adfb181a20cfaeaa43364774f92030e4a36c54594b3b363043f7f899e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk6zZz0ACgkQC77qH+pIQ6SxSwD+NxMnfGHZcdjDMQudkeptXBuk
-G+6GmVKcHyVN1CKwvlQA/inafq5OLZYezaFcEeTnquvMBdUHP/qHxxmrv1x+vdyN
-=ubci
+iF4EAREIAAYFAk7Vz24ACgkQC77qH+pIQ6ScqgD/fQNqw2dJ0yx/fC1SgswDCf4x
+vrJoXFpwF38iDwSEbTsA/0eSG4IN/dXB4KXhRYa9cv6eBd/S1yjss6/hS+o1Dpq7
+=G9ux
-----END PGP SIGNATURE-----
diff --git a/net-misc/ps3mediaserver/metadata.xml b/net-misc/ps3mediaserver/metadata.xml
index 3e679af3e318..780e66f87fba 100644
--- a/net-misc/ps3mediaserver/metadata.xml
+++ b/net-misc/ps3mediaserver/metadata.xml
@@ -9,6 +9,7 @@
<name>Mike Gilbert</name>
</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>
diff --git a/net-misc/ps3mediaserver/ps3mediaserver-1.50.0.ebuild b/net-misc/ps3mediaserver/ps3mediaserver-1.50.0.ebuild
new file mode 100644
index 000000000000..bf508bd21083
--- /dev/null
+++ b/net-misc/ps3mediaserver/ps3mediaserver-1.50.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ps3mediaserver/ps3mediaserver-1.50.0.ebuild,v 1.1 2011/11/30 06:38:30 floppym Exp $
+
+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-linux-${PV}
+PMS_HOME=/opt/${PN}
+
+src_prepare() {
+ if use multiuser; then
+ echo multiuser is on
+ cat > ${PN} <<-EOF
+ #!/bin/sh
+ if [ ! -e ~/.${PN} ]; then
+ echo "Copying ${PMS_HOME} to ~/.${PN}"
+ cp -pPR "${PMS_HOME}" ~/.${PN}
+ fi
+ export PMS_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 README
+
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins icon-32.png ${PN}.png
+ insinto /usr/share/icons/hicolor/256x256/apps
+ newins icon-256.png ${PN}.png
+
+ domenu ${PN}.desktop
+}
+
+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
+}