Permalink
Browse files

Added ps3mediaserver-1.72.0.ebuild

  • Loading branch information...
1 parent 64ed1a2 commit 057492da0c9ccac1113a56909a5bc5346ca53a2b @andersevenrud committed Nov 18, 2012
Showing with 100 additions and 9 deletions.
  1. +11 −9 net-misc/ps3mediaserver/Manifest
  2. +89 −0 net-misc/ps3mediaserver/ps3mediaserver-1.72.0.ebuild
@@ -1,9 +1,11 @@
-AUX ps3mediaserver.confd 295 RMD160 5cc1d1e4705285c477572e22b56f48f2cf1dd40a SHA1 9e1f38ab0ed06543962e2df404c30db144ace871 SHA256 cc648aa4ccaa6e1abcfe96570f53f539d351415f0e97838e216c68c97d898665
-AUX ps3mediaserver.initd 524 RMD160 308fea859487b1a49b49a2c273ac31935691c9a4 SHA1 46e757adb7ef5c452ebefa172edf15a19b7a5949 SHA256 750d8e1c0ae6b3e6540475fc085f4efdca99302e9be59b4bb95e926e87bd2ee9
-DIST pms-generic-linux-unix-1.50.0-b1.tgz 12324560 RMD160 03570aa2275f4f3ccb38847770052bfcd4d55e6d SHA1 602622ab7c98c5f24496697cc7a276e5b926b2b0 SHA256 3181ce04134a9aa83ded7bb9dd435d93c4d7e75236c6b6cfcdf07872c4d25a17
-DIST pms-generic-linux-unix-1.50.0.tgz 12336817 RMD160 8f9fd855a18bdc185f32f691e7a347125bef6a6f SHA1 2bd968a792a4409f45aa4cf25c8796c021fd1dd2 SHA256 22bcb820a89b771ce2ca8455e671b0b8372f29b22e0d9ca9c303d30d58ddbdde
-DIST pms-generic-linux-unix-1.60.0.tgz 12512888 RMD160 c7111fee3ed4009cfc06282e481dd1142a4a810e SHA1 7b4e6a901e74ef26c10fc68ddeac9b9ed1c4b884 SHA256 6981b6e58bb0fb0a5c3ba495c3529e8676394eeed13493205b15687ee72f1b77
-EBUILD ps3mediaserver-1.50.0.ebuild 1361 RMD160 3b49a58ecf698fbfff1a77808607587757411b52 SHA1 c475da288eb272c33b892ebd69dd55dacc4f2b90 SHA256 14ba580067a3ef02bbbe81af82ac8ffe3d7201556e080bc37978aaa46ca29622
-EBUILD ps3mediaserver-1.50.0_beta1.ebuild 1364 RMD160 823f3fd7dbb2699ca6db5628894ec69bc934466a SHA1 b2ae8a2efaf74d36f8c38e8486f64d38020ea231 SHA256 208c2617effaffe6bf90b6ef5a406f155e54f015499d68a65827db42e833c933
-EBUILD ps3mediaserver-1.50.0_beta2.ebuild 1364 RMD160 823f3fd7dbb2699ca6db5628894ec69bc934466a SHA1 b2ae8a2efaf74d36f8c38e8486f64d38020ea231 SHA256 208c2617effaffe6bf90b6ef5a406f155e54f015499d68a65827db42e833c933
-EBUILD ps3mediaserver-1.60.0.ebuild 2388 RMD160 597ad18539d30df6da77f850f44cdbd63f7bcf98 SHA1 ca7fb0ac0da6cff6eae7cadc14149d5c3bbc2b7a SHA256 ce381e87d5e2d67a0e917c1c4ac6487129bed0ca436740f689fdcf8d6179894e
+AUX ps3mediaserver.confd 295 SHA256 cc648aa4ccaa6e1abcfe96570f53f539d351415f0e97838e216c68c97d898665 SHA512 51ff3de39598b2d1c98d94f31dd02eb7c702589d22faf8d085ed51a7d6d7def363a91a65895905f6dca05c7f3805043b6a8047b3ce5efef17efbd47a55183714 WHIRLPOOL a0cb1788b57d56640c44c756f9313ef3f960e19f38e5dee5a56aaa150d7b6f464c89db92f15be6bca4a900761aa86a36c181f3e130fca06478ea89bcff36b32a
+AUX ps3mediaserver.initd 524 SHA256 750d8e1c0ae6b3e6540475fc085f4efdca99302e9be59b4bb95e926e87bd2ee9 SHA512 038e0d582bac73b5072c22d7034cee3646e41e02b526a631bd788411c6e271408ad6537f717d4e816981b8e0ed934b6b4082d573defccfc2dd0353c97e76da98 WHIRLPOOL 16b12cf3824b43289e1b7b5e346e1c1521299c103afff4f132d48f51026c9cdf39faa9af505118a98bc7e7d56976d5a8ba010e949b90fc83854b067549d54451
+DIST pms-generic-linux-unix-1.50.0-b1.tgz 12324560 SHA256 3181ce04134a9aa83ded7bb9dd435d93c4d7e75236c6b6cfcdf07872c4d25a17
+DIST pms-generic-linux-unix-1.50.0.tgz 12336817 SHA256 22bcb820a89b771ce2ca8455e671b0b8372f29b22e0d9ca9c303d30d58ddbdde
+DIST pms-generic-linux-unix-1.60.0.tgz 12512888 SHA256 6981b6e58bb0fb0a5c3ba495c3529e8676394eeed13493205b15687ee72f1b77 SHA512 343cca05d363cb6e7e67775edb1f6101a1857a0da2ec264658eba04231894286237fa3930349c942b97b3deb5516ccdac20c5af947b80faaa99ff1efbb565f97 WHIRLPOOL 8310279e3d32414b11e9988b9f065d7206f6a81dac8c6d18cb0618fb6b126852fbcc92f46b8ee17d8ed1fff6b917a131b8c5fb0c31a28eddeeb2ed48b11b4341
+DIST pms-generic-linux-unix-1.72.0.tgz 13786323 SHA256 dddf6d5fd5a352a92d28bdeca3e279e916da505a2cf85df56ca34f352966e9ba SHA512 d0217ffb9b00a29cecbe2973206c08a5baeb5b24d96a178cac055b3e9acda4fa09d8b42315a78112843dd6ba9122f5c13c61636f31a8265fe1190403123d1dee WHIRLPOOL c46a5fd78c546742c6ead39272f75d4a6d799cc8e8d36407b478b1d54a31fcd5a2fde452eb73c809cd7fe2a50a92771bea02246bd3eb2c6d40be118f223542ce
+EBUILD ps3mediaserver-1.50.0.ebuild 1361 SHA256 14ba580067a3ef02bbbe81af82ac8ffe3d7201556e080bc37978aaa46ca29622 SHA512 1db5505edbae8bd7d57cc67c844f8eafb00242fb4c562d92b4c032b22558587be0396ca372d7af94a10ad27cef9a64bfeceb7fd499c7ce1c8dd55f15a7c6d9a9 WHIRLPOOL 41c940ce044d3de05c51a9161ac402871a9a92f78fef13307ab20180cb8ddaf54320922189f47da3d01d94e2313de2a046f59fd73e7283586ed00929cae6e823
+EBUILD ps3mediaserver-1.50.0_beta1.ebuild 1364 SHA256 208c2617effaffe6bf90b6ef5a406f155e54f015499d68a65827db42e833c933 SHA512 0ff8f80ef02d52895bdec9054c2cdc2809f2b6b71331c63b19006f67a04dd02f9b3257e85f3c29232dc7ae9c769670bf578b23d63cf055a229e599850a9172b2 WHIRLPOOL 1ef954fa73f001f08f47ad7970831eb965ed777f7ad1152fab2d3258b799bda65f38b8f53db099942d99c1221168e8690e9010ad2e759126af768db25eb3dc26
+EBUILD ps3mediaserver-1.50.0_beta2.ebuild 1364 SHA256 208c2617effaffe6bf90b6ef5a406f155e54f015499d68a65827db42e833c933 SHA512 0ff8f80ef02d52895bdec9054c2cdc2809f2b6b71331c63b19006f67a04dd02f9b3257e85f3c29232dc7ae9c769670bf578b23d63cf055a229e599850a9172b2 WHIRLPOOL 1ef954fa73f001f08f47ad7970831eb965ed777f7ad1152fab2d3258b799bda65f38b8f53db099942d99c1221168e8690e9010ad2e759126af768db25eb3dc26
+EBUILD ps3mediaserver-1.60.0.ebuild 2388 SHA256 ce381e87d5e2d67a0e917c1c4ac6487129bed0ca436740f689fdcf8d6179894e SHA512 95d4046d81ea6194e90b0c9da9dfb87af287bfff80e8f9e21b52d373ce27d2bc0e92d2dc5858c75fb760103a2af33518c83b64a98efd105ce2b4d128655dc099 WHIRLPOOL fc37f82f44ef0c2590143376fa0afb19935e02dd083eb3f985172adce1fdd13be316bf52e48a236fd9e5fb936418f4444fcb836c768a774be1c4385152947fed
+EBUILD ps3mediaserver-1.72.0.ebuild 2191 SHA256 052c60cccaec1fec72cb1ca6e9503cdf236fd3c1d402e6517212daee8d4b821d SHA512 313640a4ba9aee826d91f2ce833b5d0f6a9e217475a53aa696e86b3330004f442f4b3e820ab232c3ba663cdefc184ca8844571fec533d47c760ce7242e9ec41d WHIRLPOOL 7bfcfb3b13417932f64a68ad98835c279fa31a734e0e86bf3e7c523b472a58d5169235de6ed715ddfead3c378eac2d9e1bf32268a9cb9caf1bcfc5c310c41a1c
@@ -0,0 +1,89 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ps3mediaserver/ps3mediaserver-1.70.0.ebuild,v 1.1 2012/09/11 00:13:38 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-${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 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
+}

0 comments on commit 057492d

Please sign in to comment.