diff options
author | Mike Gilbert <floppym@gentoo.org> | 2011-11-04 04:16:52 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2011-11-04 04:16:52 +0000 |
commit | 05e9b0cc76d18f41aebb51476e8f4df41f01ec7f (patch) | |
tree | e18c942bc854e183f0ac313352b4c04a75ffe3a8 /net-misc/ps3mediaserver | |
parent | Add 0.6.4.1 from the gnome overlay, needed for gnome-3.2. Notable changes: ne... (diff) | |
download | gentoo-2-05e9b0cc76d18f41aebb51476e8f4df41f01ec7f.tar.gz gentoo-2-05e9b0cc76d18f41aebb51476e8f4df41f01ec7f.tar.bz2 gentoo-2-05e9b0cc76d18f41aebb51476e8f4df41f01ec7f.zip |
Version bump. Update dependencies. Create/install desktop file.
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/ps3mediaserver')
-rw-r--r-- | net-misc/ps3mediaserver/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/ps3mediaserver/metadata.xml | 4 | ||||
-rw-r--r-- | net-misc/ps3mediaserver/ps3mediaserver-1.40.0.ebuild | 72 |
3 files changed, 83 insertions, 1 deletions
diff --git a/net-misc/ps3mediaserver/ChangeLog b/net-misc/ps3mediaserver/ChangeLog index 5aa8c8226f4f..b6c9c3676f08 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.2 2011/01/07 17:03:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ps3mediaserver/ChangeLog,v 1.3 2011/11/04 04:16:52 floppym Exp $ + +*ps3mediaserver-1.40.0 (04 Nov 2011) + + 04 Nov 2011; Mike Gilbert <floppym@gentoo.org> +ps3mediaserver-1.40.0.ebuild, + metadata.xml: + Version bump. Update dependencies. Create/install desktop file. *ps3mediaserver-1.20.412-r1 (07 Jan 2011) diff --git a/net-misc/ps3mediaserver/metadata.xml b/net-misc/ps3mediaserver/metadata.xml index 02a6dad3c9dc..3e679af3e318 100644 --- a/net-misc/ps3mediaserver/metadata.xml +++ b/net-misc/ps3mediaserver/metadata.xml @@ -4,6 +4,10 @@ <maintainer> <email>vapier@gentoo.org</email> </maintainer> +<maintainer> + <email>floppym@gentoo.org</email> + <name>Mike Gilbert</name> +</maintainer> <use> <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> diff --git a/net-misc/ps3mediaserver/ps3mediaserver-1.40.0.ebuild b/net-misc/ps3mediaserver/ps3mediaserver-1.40.0.ebuild new file mode 100644 index 000000000000..70a6e944dbf9 --- /dev/null +++ b/net-misc/ps3mediaserver/ps3mediaserver-1.40.0.ebuild @@ -0,0 +1,72 @@ +# 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.40.0.ebuild,v 1.1 2011/11/04 04:16:52 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="+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} + +src_prepare() { + cat > ${PN} <<-EOF + #!/bin/sh + echo "Setting up ~/.${PN} based on /usr/share/${PN}/" + if [ ! -e ~/.${PN} ] ; then + mkdir -p ~/.${PN} + cp -pPR /usr/share/${PN}/* ~/.${PN}/ + fi + cd ~/.${PN} + PMS_HOME=\$PWD + EOF + cat PMS.sh >> ${PN} + + 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} + insinto /usr/share/${PN} + doins -r pms.jar *.conf documentation plugins renderers *.xml + use tsmuxer && { dosym /opt/tsmuxer/bin/tsMuxeR /usr/share/${PN}/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)." +} |