# HG changeset patch # User Daniel Neugebauer # Date 1459192330 -7200 # Node ID 6932551759342eed84a2c9a574c3d26b3ceca5b8 # Parent 2ce94546a682e6a3e9112adcde5705a9ff49f99b# Parent 56f8a6108f7d42eea684ee40debaf148c5b7448f merge diff -r 2ce94546a682 -r 693255175934 dev-python/celery/Manifest --- a/dev-python/celery/Manifest Sun Aug 10 22:33:43 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -DIST celery-2.2.10.tar.gz 1502041 RMD160 86b71987a524f8dd80925df793dc78536752a030 SHA1 17b2f27915c581e60264706ec12e1926aadec99d SHA256 dc6379c9bd0d799ed44e6a905d54b29fc0c7a514152e366bb3ef939e03291ab6 -EBUILD celery-2.2.10.ebuild 1091 RMD160 01fe1cf50860c2cf1a3acebc4f3804166f679860 SHA1 a02d13c74011288b58105d5dd9aaeed1990bd982 SHA256 92b632276e78a95817efcf638813508d38018c71891b7cff09e520dd2a2d6962 diff -r 2ce94546a682 -r 693255175934 dev-python/celery/celery-2.2.10.ebuild --- a/dev-python/celery/celery-2.2.10.ebuild Sun Aug 10 22:33:43 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils - -DESCRIPTION="Celery is an open source asynchronous task queue/job queue based on distributed message passing." -HOMEPAGE="http://www.celeryproject.org/ http://pypi.python.org/pypi/celery" - -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -# dependencies are likely to be incomplete or not restrictive enough -# this library ebuild has been added for rhodecode which may have restricted them in -# another way, you are encouraged to submit corrections to gentoo-overlay@megacoffee.net -# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -DEPEND=">=dev-python/kombu-1.1.2 - /dev/null - insinto /usr/share/doc/${PF}/html - doins -r [a-z]* _static || die "Installation of documentation failed" - popd > /dev/null - fi -} diff -r 2ce94546a682 -r 693255175934 dev-vcs/rhodecode/Manifest --- a/dev-vcs/rhodecode/Manifest Sun Aug 10 22:33:43 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -DIST edfff9f37916389144d3a3644d0a7d7adfd79b11.zip 2240778 RMD160 5f6fb2737678b31b137b6c473bcf5f1916d75b98 SHA1 ddcc0d789cf55dbd11db3026ec1fd9f35e8b9ecb SHA256 c7203c1cb5a771acc7b89a5a1d06748db9619ce1b7fcfcb94107d0d712dc7961 -EBUILD rhodecode-1.3.6.ebuild 1695 RMD160 1a9fe5c32676ecc7b393169446cc528e3e08694f SHA1 d74daf3fb1c475ecbec983187c4b3cb37587b9b0 SHA256 6af7c3f2f888d50f560f26b8bbbde7643b2a3802fc07e259f15273bf28f937cd diff -r 2ce94546a682 -r 693255175934 dev-vcs/rhodecode/rhodecode-1.3.6.ebuild --- a/dev-vcs/rhodecode/rhodecode-1.3.6.ebuild Sun Aug 10 22:33:43 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils - -DESCRIPTION="a web-based frontend and middleware to Mercurial repositories" -HOMEPAGE="http://rhodecode.org/" - -#SRC_URI="https://secure.rhodecode.org/rhodecode/archive/edfff9f37916389144d3a3644d0a7d7adfd79b11.zip?subrepos=true" -SRC_URI="https://secure.rhodecode.org/rhodecode/archive/edfff9f37916389144d3a3644d0a7d7adfd79b11.zip" - -DEPEND=">=dev-vcs/mercurial-2.2.1 - =dev-python/pygments-1.4 - >=dev-python/whoosh-2.4.0 - =dev-python/python-dateutil-1.5 - =dev-python/dulwich-0.8.5 - =dev-python/pyparsing-1.5.0 - =dev-python/anyjson-0.3.1 - >=dev-python/amqplib-1.0 -" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RESTRICT_PYTHON_ABIS="3.*" - -ACTUALDIR="rhodecode-edfff9f37916" - -distutils_src_compile_pre_hook() { - cd ${ACTUALDIR} -} - -distutils_src_install_pre_hook() { - cd ${ACTUALDIR} -} - -pkg_postinst() { - einfo "You need to setup RhodeCode according to the instructions at:" - einfo " http://packages.python.org/RhodeCode/setup.html" -} diff -r 2ce94546a682 -r 693255175934 media-libs/blackmagic-desktop-video/Manifest --- a/media-libs/blackmagic-desktop-video/Manifest Sun Aug 10 22:33:43 2014 +0200 +++ b/media-libs/blackmagic-desktop-video/Manifest Mon Mar 28 21:12:10 2016 +0200 @@ -1,2 +1,3 @@ +AUX 9-8-strict-prototypes.patch 600 SHA256 bdd692ad335f6b66f88149e52d59ee59e8401e0eb36234a3d175cccc04ccad91 SHA512 1c6ac8c6e8d97e1c428f720695831101568a51ebb47aaa346eef5fadca15bd9bc36ab1884156c1de5474f70b153097b04e7939c710c13338a7a9ed69086441ea WHIRLPOOL 34204ad2e7e3c18ee129876bbd93f0c22e94344694672ccb465ec8dfeae380ecc2f35a9e68fd33fef4745fde85cd3a2381ee7787361fbe1da155a2ac5ee97031 DIST Blackmagic_Desktop_Video_Linux_9.8.tar.gz 141900528 SHA256 6977360490c806f9952028d50bc10782d5878e5d42bd7c0f5eb070b3b6e1116c SHA512 af4ccd5f9732633c4b3756766cd54c3329bf9edeb640462bb316e9c2b782550399806973a51e51c52fa47eaa018a11889b343cc3c1531282cc6524c6f630fce1 WHIRLPOOL 6497d43c147db98e433edb3639a666b1f39036c44fe317f835407458924969ca0ae1741c577bb7b92853cc720eb0fd6cda09aca820c8222adcbfe66bd9540fb9 -EBUILD blackmagic-desktop-video-9.8.ebuild 4123 SHA256 a7fc2c6539e7c4979f05500e15124755b2eb61ffd1d4896be00284ea50cfb330 SHA512 7842ea6c8a26c0cf0f1281e412eece5ace31ca9fd097f34354258c1a422d5f5499d91466851e2a7c3f2fd86ef775ee3ee7432351ad97abc3d83265818bd6d683 WHIRLPOOL 98b26e805ee6f8259dcfaba8bc3dfef1c818b3d7a4545448f83bc53c33aeae1d489a1a7d3000b51c06a2d4df72ce83ea856cbb173fdc4f08b918d4f9469dc4a3 +EBUILD blackmagic-desktop-video-9.8.ebuild 4164 SHA256 95301cff3c1901ef3ade16d0e043b5354c53f5795cf56950b0f5f07678a9054a SHA512 5028ba85c878f41baad35457aa75c3f785768ca3759519caafd9c90b73c181712b83ba5dd48d3ddf65583ef7e32b88db673ce4840af237ce9ae1f0e19189765c WHIRLPOOL 70d6a04f80dbfd2131e8d2845c4b909dbfb932c9aa88198b5ed97d947780584a7f0e0cd21370f0bbd038df0a72d99f7fe7a71f607394814bfd4e4475d4ad876f diff -r 2ce94546a682 -r 693255175934 media-libs/blackmagic-desktop-video/blackmagic-desktop-video-9.8.ebuild --- a/media-libs/blackmagic-desktop-video/blackmagic-desktop-video-9.8.ebuild Sun Aug 10 22:33:43 2014 +0200 +++ b/media-libs/blackmagic-desktop-video/blackmagic-desktop-video-9.8.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -48,7 +48,7 @@ } src_prepare() { - return + epatch "${FILESDIR}/9-8-strict-prototypes.patch" } src_compile() { @@ -121,7 +121,7 @@ einfo " # grep VmallocUsed /proc/meminfo" einfo "" einfo "We are reloading udev rules now..." - /sbin/udevadm control --reload-rules || einfo " ... failed, you may want to check this before rebooting!" + /bin/udevadm control --reload-rules || einfo " ... failed, you may want to check this before rebooting!" } pkg_postrm() { diff -r 2ce94546a682 -r 693255175934 media-libs/blackmagic-desktop-video/files/9-8-strict-prototypes.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-libs/blackmagic-desktop-video/files/9-8-strict-prototypes.patch Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,11 @@ +--- a/blackmagic-desktop-video-9.8/usr/src/desktopvideo-9.8a2/blackmagic_iml.h 2014-10-19 15:27:24.042563486 +0200 ++++ b/blackmagic-desktop-video-9.8/usr/src/desktopvideo-9.8a2/blackmagic_iml.h 2014-10-19 15:27:43.826053672 +0200 +@@ -42,7 +42,7 @@ + + /* Init and Startup */ + extern int blackmagic_ioctl_private(void *, void *, unsigned int, unsigned long); +-extern void *dl_alloc_driver(); ++extern void *dl_alloc_driver(void); + extern int dl_start_driver(void *, void *, unsigned int* flags); + extern void *dl_create_and_init_user_client(void *, void *); + extern void dl_release_user_client(void *); diff -r 2ce94546a682 -r 693255175934 media-libs/libwebp/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-libs/libwebp/Manifest Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,2 @@ +DIST libwebp-0.4.1.tar.gz 966358 SHA256 00b646e6f66550a8faa998711fe70aabee9ed3bc562a8437c89042901674d027 SHA512 0b2e61aa431292f2f7616f4e2f3bfe20d0b596a875b6d6e4e11ba4c7ce2709815bd936d5402ffc3c927732cb2b28c8d46c2411b25c82442b5adfa631c8548676 WHIRLPOOL e3faab32355b75d04f61e02cf2039a6d6b3111a1cf1c6ad3877ce653d4cb830ffabc9541b14e98e125754b2f083a61bc2eabec279e29cecebe806a865b079f26 +EBUILD libwebp-0.4.1.ebuild 2005 SHA256 23d5494cb1bd980236fb14c09c3f417edcc32075a01297148418c12391528605 SHA512 61027ea88d8be0354fa960437cf14a4cbe30519b938783cf64766a5ca6da2d4b893b483f39b0778475a67a23567353f1b159fb426065bfe8c2cadb986bba328d WHIRLPOOL b9471ec1d93317afb4b3278ab26585a7a972e627dd6771e84b044214907c1dea94cc1237bfaaeaef67aa4d7b3796aa072474b3dfab25feac5f831668a29a7a61 diff -r 2ce94546a682 -r 693255175934 media-libs/libwebp/libwebp-0.4.1.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-libs/libwebp/libwebp-0.4.1.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,67 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libwebp/libwebp-0.4.0.ebuild,v 1.15 2014/04/28 17:45:42 mgorny Exp $ + +EAPI=5 +inherit eutils libtool multilib-minimal + +DESCRIPTION="A lossy image compression format" +HOMEPAGE="http://code.google.com/p/webp/" +SRC_URI="http://downloads.webmproject.org/releases/webp/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/5" # subslot = libwebp soname version +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~m68k-mint" +IUSE="experimental gif +jpeg opengl +png static-libs swap-16bit-csp tiff" + +# TODO: dev-lang/swig bindings in swig/ subdirectory +RDEPEND="gif? ( media-libs/giflib:= ) + jpeg? ( virtual/jpeg:0= ) + opengl? ( + media-libs/freeglut + virtual/opengl + ) + png? ( media-libs/libpng:0= ) + tiff? ( media-libs/tiff:0= )" +DEPEND="${RDEPEND}" + +RESTRICT="mirror" + +ECONF_SOURCE=${S} + +src_prepare() { + # This is conflicting with `usex` later on, upstream is using ac_cv_ wrong + # If modifying configure.ac, eautoreconf is required because of "Maintainer mode" + sed -i -e '/unset ac_cv_header_GL_glut_h/d' configure || die + + # Fix libtool relinking, bug 499270. + elibtoolize +} + +multilib_src_configure() { + # Only used for gif2webp binary wrt #486646 + local build_gif2webp=$(usex gif) + multilib_is_native_abi || build_gif2webp=no + + ac_cv_header_gif_lib_h=${build_gif2webp} \ + ac_cv_header_jpeglib_h=$(usex jpeg) \ + ac_cv_header_png_h=$(usex png) \ + ac_cv_header_GL_glut_h=$(usex opengl) \ + ac_cv_header_tiffio_h=$(usex tiff) \ + econf \ + $(use_enable static-libs static) \ + $(use_enable swap-16bit-csp) \ + $(use_enable experimental) \ + --enable-libwebpmux \ + --enable-libwebpdemux \ + --enable-libwebpdecoder +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + prune_libtool_files + dodoc AUTHORS ChangeLog doc/*.txt NEWS README{,.mux} +} diff -r 2ce94546a682 -r 693255175934 media-plugins/gimp-dds/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-plugins/gimp-dds/Manifest Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,2 @@ +DIST gimp-dds-3.0.1.tar.bz2 470026 SHA256 6e53df3b8b98c55f22fa7ea2c3ed17478626c924b24c69d499f5d813c3c2788a SHA512 0fbace84175b83d60803a3277044adf259af89d1ae7678277dd186a01336c0fd430490cdd8726c32dc5d66a17b957261007e223bba73ea14ceea14ba8d54c5b9 WHIRLPOOL ca4627f504ebc76080ebe5b4ee62bf7007bcb5136c2260b4b377c0cec061d46f23fe9477c1b1f5f5c15abbc0e437dda7d342603cb7dec55a23e9e8cf1d5e9365 +EBUILD gimp-dds-3.0.1.ebuild 1077 SHA256 08ee02aa13c32adf62b0b382a482a086424fb80e0e7135ac7a851d479068da64 SHA512 4fca6d87285ed8548ea5ad8ee014e872312f26f04ee7f280e13436f55b6cd7d256a7e71da20bc98e5baad63f67655c020287370d978543e01ce5d0f23364956b WHIRLPOOL b711e50bcd760d7983197f0b7ef1c8304454717afdd4892b06fec34181fe0639d430251d3f2451e051cfcb645986c3bc3c080f6413510d485647f893308644cb diff -r 2ce94546a682 -r 693255175934 media-plugins/gimp-dds/gimp-dds-3.0.1.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-plugins/gimp-dds/gimp-dds-3.0.1.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="DirectDraw Surface (DDS) format plugin for Gimp 2" +HOMEPAGE="http://code.google.com/p/gimp-dds/" +SRC_URI="http://gimp-dds.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=media-gfx/gimp-2.8 + +- +- + +- ++ + +diff --git a/MediaBrowser.Server.Mono/MediaBrowser.MediaInfo.dll.config b/MediaBrowser.Server.Mono/MediaBrowser.MediaInfo.dll.config +index ab6cdb1..fe0f27d 100644 +--- a/MediaBrowser.Server.Mono/MediaBrowser.MediaInfo.dll.config ++++ b/MediaBrowser.Server.Mono/MediaBrowser.MediaInfo.dll.config +@@ -1,6 +1,4 @@ + +- +- + +- ++ + diff -r 2ce94546a682 -r 693255175934 media-tv/mediabrowser-server/files/system_libraries_2.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/mediabrowser-server/files/system_libraries_2.patch Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,12 @@ +diff --git a/MediaBrowser.Server.Mono/Imazen.WebP.dll.config b/MediaBrowser.Server.Mono/Imazen.WebP.dll.config +index 1ebdf8a..f5b127e 100644 +--- a/MediaBrowser.Server.Mono/Imazen.WebP.dll.config ++++ b/MediaBrowser.Server.Mono/Imazen.WebP.dll.config +@@ -1,6 +1,4 @@ + +- +- + +- ++ + diff -r 2ce94546a682 -r 693255175934 media-tv/mediabrowser-server/mediabrowser-server-3.0.5390.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/mediabrowser-server/mediabrowser-server-3.0.5390.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,118 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils user + +DESCRIPTION="MediaBrowser Server is a software that indexes a lot of different kinds of media and allows for them to be retrieved and played through the DLNA protocol on any device capable of processing them." +HOMEPAGE="http://mediabrowser.tv/" +KEYWORDS="-* ~arm ~amd64 ~x86" +#EGIT_REPO_URI="https://github.com/MediaBrowser/MediaBrowser/" +#EGIT_REPO_URI="https://github.com/gsnerf/MediaBrowser/" +REVISION="c70ca517a1f450d28439cd45b9389bbb926a4adb" +SRC_URI="https://github.com/MediaBrowser/MediaBrowser/archive/${REVISION}.zip" +SLOT="0" +LICENSE="GPL-2" +IUSE="" +RESTRICT="mirror test" + +RDEPEND=">=dev-lang/mono-3.2.7 + >=dev-dotnet/libgdiplus-2.10 + media-video/ffmpeg[vpx] + >=media-libs/libmediainfo-0.7 + >=media-libs/libwebp-0.4.1[jpeg]" +DEPEND="app-arch/unzip ${RDEPEND}" + +INSTALL_DIR="/opt/mediabrowser-server" +DATA_DIR="/usr/lib/mediabrowser-server" +STARTUP_LOG="/var/log/mediabrowser_start.log" +INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server" + +# gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here +src_unpack() { + unpack ${A} + mv MediaBrowser-${REVISION} mediabrowser-server-${PV} +} + +# we don't want to use the third party drivers, so we patch the config files to use system ones instead +# attention: do NOT remove the third party libraries before compiling as the build process might fail! +src_prepare() { + epatch "${FILESDIR}/system_libraries_1.patch" +} + +src_compile() { + einfo "updating root certificates for mono certificate store" + mozroots --import --sync + einfo "now actually compile" + xbuild /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln || die "building failed" +} + +src_install() { + einfo "preparing startup scripts" + newinitd "${FILESDIR}"/initd_1 ${PN} + dodir /var/log/ + touch ${D}${STARTUP_LOG} + chown mediabrowser:mediabrowser ${D}${STARTUP_LOG} + + einfo "installing compiled files" + diropts -omediabrowser -gmediabrowser + dodir ${INSTALL_DIR} + cp -R ${S}/MediaBrowser.Server.Mono/bin/Release\ Mono/* ${D}${INSTALL_DIR}/ || die "install failed, possibly compile did not succeed earlier?" + chown mediabrowser:mediabrowser -R ${D}${INSTALL_DIR} + + # as we use the system libraries, we delete the local ones now as we couldn't do it before + rm -R ${D}${INSTALL_DIR}/libwebp + rm -R ${D}${INSTALL_DIR}/MediaInfo + + einfo "prepare data directory" + dodir ${DATA_DIR} +} + +pkg_setup() { + einfo "creating user for MediaBrowser" + enewgroup mediabrowser + enewuser mediabrowser -1 /bin/bash ${INSTALL_DIR} "mediabrowser" --system +} + +#pkg_preinst() { + #cd ${D} + #einfo "preparing compiled package for install" + #mkdir -p opt/mediabrowser-server + #cp -R ${WORKDIR}/${P}/MediaBrowser.Server.Mono/bin/Release\ Mono/* opt/mediabrowser-server/ || die + #cp ${FILESDIR}/start.sh opt/mediabrowser-server/start.sh + #chown mediabrowser:mediabrowser -R opt/mediabrowser-server + #chmod 755 opt/mediabrowser-server/start.sh + + #einfo "adding init script" + #mkdir -p etc/init.d + #cp "${FILESDIR}"/initd_1 etc/init.d/mediabrowser-server + #chmod 755 etc/init.d/mediabrowser-server + #mkdir -p var/log + #touch var/log/mediabrowser_start.log + #chown mediabrowser:mediabrowser var/log/mediabrowser_start.log + + #einfo "preparing data directory" + #mkdir -p usr/lib/mediabrowser-server + #chown mediabrowser:mediabrowser usr/lib/mediabrowser-server + + #einfo "Stopping running instances of MediaBrowser Server for actual install" + #if [ -e "${INIT_SCRIPT}" ]; then + # ${INIT_SCRIPT} stop + #fi +#} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "MediaBrowser-server was installed to ${INSTALL_DIR}, to start please use the init script provided." + einfo "All data generated and used by MediaBrowser can be found at ${DATA_DIR} after the first start." + einfo "" + einfo "If you just updated from an earlier version make sure to restart the service!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/mediabrowser-server/mediabrowser-server-3.0.5395.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/mediabrowser-server/mediabrowser-server-3.0.5395.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,118 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils user + +DESCRIPTION="MediaBrowser Server is a software that indexes a lot of different kinds of media and allows for them to be retrieved and played through the DLNA protocol on any device capable of processing them." +HOMEPAGE="http://mediabrowser.tv/" +KEYWORDS="-* ~arm ~amd64 ~x86" +#EGIT_REPO_URI="https://github.com/MediaBrowser/MediaBrowser/" +#EGIT_REPO_URI="https://github.com/gsnerf/MediaBrowser/" +REVISION="80200363d2b6f60a89f09cbe3b939fc56eba3f7a" +SRC_URI="https://github.com/MediaBrowser/MediaBrowser/archive/${REVISION}.zip" +SLOT="0" +LICENSE="GPL-2" +IUSE="" +RESTRICT="mirror test" + +RDEPEND=">=dev-lang/mono-3.2.7 + >=dev-dotnet/libgdiplus-2.10 + >=media-video/ffmpeg-2[vpx] + >=media-libs/libmediainfo-0.7 + >=media-libs/libwebp-0.4.1[jpeg]" +DEPEND="app-arch/unzip ${RDEPEND}" + +INSTALL_DIR="/opt/mediabrowser-server" +DATA_DIR="/usr/lib/mediabrowser-server" +STARTUP_LOG="/var/log/mediabrowser_start.log" +INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server" + +# gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here +src_unpack() { + unpack ${A} + mv MediaBrowser-${REVISION} mediabrowser-server-${PV} +} + +# we don't want to use the third party drivers, so we patch the config files to use system ones instead +# attention: do NOT remove the third party libraries before compiling as the build process might fail! +src_prepare() { + epatch "${FILESDIR}/system_libraries_2.patch" +} + +src_compile() { + einfo "updating root certificates for mono certificate store" + mozroots --import --sync + einfo "now actually compile" + xbuild /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln || die "building failed" +} + +src_install() { + einfo "preparing startup scripts" + newinitd "${FILESDIR}"/initd_1 ${PN} + dodir /var/log/ + touch ${D}${STARTUP_LOG} + chown mediabrowser:mediabrowser ${D}${STARTUP_LOG} + + einfo "installing compiled files" + diropts -omediabrowser -gmediabrowser + dodir ${INSTALL_DIR} + cp -R ${S}/MediaBrowser.Server.Mono/bin/Release\ Mono/* ${D}${INSTALL_DIR}/ || die "install failed, possibly compile did not succeed earlier?" + chown mediabrowser:mediabrowser -R ${D}${INSTALL_DIR} + + # as we use the system libraries, we delete the local ones now as we couldn't do it before + rm -R ${D}${INSTALL_DIR}/libwebp + rm -R ${D}${INSTALL_DIR}/MediaInfo + + einfo "prepare data directory" + dodir ${DATA_DIR} +} + +pkg_setup() { + einfo "creating user for MediaBrowser" + enewgroup mediabrowser + enewuser mediabrowser -1 /bin/bash ${INSTALL_DIR} "mediabrowser" --system +} + +#pkg_preinst() { + #cd ${D} + #einfo "preparing compiled package for install" + #mkdir -p opt/mediabrowser-server + #cp -R ${WORKDIR}/${P}/MediaBrowser.Server.Mono/bin/Release\ Mono/* opt/mediabrowser-server/ || die + #cp ${FILESDIR}/start.sh opt/mediabrowser-server/start.sh + #chown mediabrowser:mediabrowser -R opt/mediabrowser-server + #chmod 755 opt/mediabrowser-server/start.sh + + #einfo "adding init script" + #mkdir -p etc/init.d + #cp "${FILESDIR}"/initd_1 etc/init.d/mediabrowser-server + #chmod 755 etc/init.d/mediabrowser-server + #mkdir -p var/log + #touch var/log/mediabrowser_start.log + #chown mediabrowser:mediabrowser var/log/mediabrowser_start.log + + #einfo "preparing data directory" + #mkdir -p usr/lib/mediabrowser-server + #chown mediabrowser:mediabrowser usr/lib/mediabrowser-server + + #einfo "Stopping running instances of MediaBrowser Server for actual install" + #if [ -e "${INIT_SCRIPT}" ]; then + # ${INIT_SCRIPT} stop + #fi +#} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "MediaBrowser-server was installed to ${INSTALL_DIR}, to start please use the init script provided." + einfo "All data generated and used by MediaBrowser can be found at ${DATA_DIR} after the first start." + einfo "" + einfo "If you just updated from an earlier version make sure to restart the service!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/mediabrowser-server/mediabrowser-server-3.0.5490.2.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/mediabrowser-server/mediabrowser-server-3.0.5490.2.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,118 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils user + +DESCRIPTION="MediaBrowser Server is a software that indexes a lot of different kinds of media and allows for them to be retrieved and played through the DLNA protocol on any device capable of processing them." +HOMEPAGE="http://mediabrowser.tv/" +KEYWORDS="-* ~arm ~amd64 ~x86" +#EGIT_REPO_URI="https://github.com/MediaBrowser/MediaBrowser/" +#EGIT_REPO_URI="https://github.com/gsnerf/MediaBrowser/" +REVISION="0e553d393aa2dea420b8478d2576362330da07de" +SRC_URI="https://github.com/MediaBrowser/MediaBrowser/archive/${REVISION}.zip" +SLOT="0" +LICENSE="GPL-2" +IUSE="" +RESTRICT="mirror test" + +RDEPEND=">=dev-lang/mono-3.2.7 + >=dev-dotnet/libgdiplus-2.10 + >=media-video/ffmpeg-2[vpx] + >=media-libs/libmediainfo-0.7 + >=media-libs/libwebp-0.4.1[jpeg]" +DEPEND="app-arch/unzip ${RDEPEND}" + +INSTALL_DIR="/opt/mediabrowser-server" +DATA_DIR="/usr/lib/mediabrowser-server" +STARTUP_LOG="/var/log/mediabrowser_start.log" +INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server" + +# gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here +src_unpack() { + unpack ${A} + mv MediaBrowser-${REVISION} mediabrowser-server-${PV} +} + +# we don't want to use the third party drivers, so we patch the config files to use system ones instead +# attention: do NOT remove the third party libraries before compiling as the build process might fail! +#src_prepare() { +# epatch "${FILESDIR}/system_libraries_2.patch" +#} + +src_compile() { + einfo "updating root certificates for mono certificate store" + mozroots --import --sync + einfo "now actually compile" + xbuild /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln || die "building failed" +} + +src_install() { + einfo "preparing startup scripts" + newinitd "${FILESDIR}"/initd_1 ${PN} + dodir /var/log/ + touch ${D}${STARTUP_LOG} + chown mediabrowser:mediabrowser ${D}${STARTUP_LOG} + + einfo "installing compiled files" + diropts -omediabrowser -gmediabrowser + dodir ${INSTALL_DIR} + cp -R ${S}/MediaBrowser.Server.Mono/bin/Release\ Mono/* ${D}${INSTALL_DIR}/ || die "install failed, possibly compile did not succeed earlier?" + chown mediabrowser:mediabrowser -R ${D}${INSTALL_DIR} + + # as we use the system libraries, we delete the local ones now as we couldn't do it before + rm -R ${D}${INSTALL_DIR}/libwebp + rm -R ${D}${INSTALL_DIR}/MediaInfo + + einfo "prepare data directory" + dodir ${DATA_DIR} +} + +pkg_setup() { + einfo "creating user for MediaBrowser" + enewgroup mediabrowser + enewuser mediabrowser -1 /bin/bash ${INSTALL_DIR} "mediabrowser" --system +} + +#pkg_preinst() { + #cd ${D} + #einfo "preparing compiled package for install" + #mkdir -p opt/mediabrowser-server + #cp -R ${WORKDIR}/${P}/MediaBrowser.Server.Mono/bin/Release\ Mono/* opt/mediabrowser-server/ || die + #cp ${FILESDIR}/start.sh opt/mediabrowser-server/start.sh + #chown mediabrowser:mediabrowser -R opt/mediabrowser-server + #chmod 755 opt/mediabrowser-server/start.sh + + #einfo "adding init script" + #mkdir -p etc/init.d + #cp "${FILESDIR}"/initd_1 etc/init.d/mediabrowser-server + #chmod 755 etc/init.d/mediabrowser-server + #mkdir -p var/log + #touch var/log/mediabrowser_start.log + #chown mediabrowser:mediabrowser var/log/mediabrowser_start.log + + #einfo "preparing data directory" + #mkdir -p usr/lib/mediabrowser-server + #chown mediabrowser:mediabrowser usr/lib/mediabrowser-server + + #einfo "Stopping running instances of MediaBrowser Server for actual install" + #if [ -e "${INIT_SCRIPT}" ]; then + # ${INIT_SCRIPT} stop + #fi +#} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "MediaBrowser-server was installed to ${INSTALL_DIR}, to start please use the init script provided." + einfo "All data generated and used by MediaBrowser can be found at ${DATA_DIR} after the first start." + einfo "" + einfo "If you just updated from an earlier version make sure to restart the service!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/mediabrowser-server/mediabrowser-server-3.0.5518.7.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/mediabrowser-server/mediabrowser-server-3.0.5518.7.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,115 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils user + +DESCRIPTION="MediaBrowser Server is a software that indexes a lot of different kinds of media and allows for them to be retrieved and played through the DLNA protocol on any device capable of processing them." +HOMEPAGE="http://mediabrowser.tv/" +KEYWORDS="-* ~arm ~amd64 ~x86" +SRC_URI="https://github.com/MediaBrowser/MediaBrowser/archive/${PV}.zip" +SLOT="0" +LICENSE="GPL-2" +IUSE="" +RESTRICT="mirror test" + +RDEPEND=">=dev-lang/mono-3.2.7 + >=dev-dotnet/libgdiplus-2.10 + >=media-video/ffmpeg-2[vpx] + >=media-libs/libmediainfo-0.7 + >=media-libs/libwebp-0.4.1[jpeg]" +DEPEND="app-arch/unzip ${RDEPEND}" + +INSTALL_DIR="/opt/mediabrowser-server" +DATA_DIR="/usr/lib/mediabrowser-server" +STARTUP_LOG="/var/log/mediabrowser_start.log" +INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server" + +# gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here +src_unpack() { + unpack ${A} + mv MediaBrowser-${PV} mediabrowser-server-${PV} +} + +# we don't want to use the third party drivers, so we patch the config files to use system ones instead +# attention: do NOT remove the third party libraries before compiling as the build process might fail! +#src_prepare() { +# epatch "${FILESDIR}/system_libraries_2.patch" +#} + +src_compile() { + einfo "updating root certificates for mono certificate store" + mozroots --import --sync + einfo "now actually compile" + xbuild /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln || die "building failed" +} + +src_install() { + einfo "preparing startup scripts" + newinitd "${FILESDIR}"/initd_1 ${PN} + dodir /var/log/ + touch ${D}${STARTUP_LOG} + chown mediabrowser:mediabrowser ${D}${STARTUP_LOG} + + einfo "installing compiled files" + diropts -omediabrowser -gmediabrowser + dodir ${INSTALL_DIR} + cp -R ${S}/MediaBrowser.Server.Mono/bin/Release\ Mono/* ${D}${INSTALL_DIR}/ || die "install failed, possibly compile did not succeed earlier?" + chown mediabrowser:mediabrowser -R ${D}${INSTALL_DIR} + + # as we use the system libraries, we delete the local ones now as we couldn't do it before + rm -R ${D}${INSTALL_DIR}/libwebp + rm -R ${D}${INSTALL_DIR}/MediaInfo + + einfo "prepare data directory" + dodir ${DATA_DIR} +} + +pkg_setup() { + einfo "creating user for MediaBrowser" + enewgroup mediabrowser + enewuser mediabrowser -1 /bin/bash ${INSTALL_DIR} "mediabrowser" --system +} + +#pkg_preinst() { + #cd ${D} + #einfo "preparing compiled package for install" + #mkdir -p opt/mediabrowser-server + #cp -R ${WORKDIR}/${P}/MediaBrowser.Server.Mono/bin/Release\ Mono/* opt/mediabrowser-server/ || die + #cp ${FILESDIR}/start.sh opt/mediabrowser-server/start.sh + #chown mediabrowser:mediabrowser -R opt/mediabrowser-server + #chmod 755 opt/mediabrowser-server/start.sh + + #einfo "adding init script" + #mkdir -p etc/init.d + #cp "${FILESDIR}"/initd_1 etc/init.d/mediabrowser-server + #chmod 755 etc/init.d/mediabrowser-server + #mkdir -p var/log + #touch var/log/mediabrowser_start.log + #chown mediabrowser:mediabrowser var/log/mediabrowser_start.log + + #einfo "preparing data directory" + #mkdir -p usr/lib/mediabrowser-server + #chown mediabrowser:mediabrowser usr/lib/mediabrowser-server + + #einfo "Stopping running instances of MediaBrowser Server for actual install" + #if [ -e "${INIT_SCRIPT}" ]; then + # ${INIT_SCRIPT} stop + #fi +#} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "MediaBrowser-server was installed to ${INSTALL_DIR}, to start please use the init script provided." + einfo "All data generated and used by MediaBrowser can be found at ${DATA_DIR} after the first start." + einfo "" + einfo "If you just updated from an earlier version make sure to restart the service!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/mediabrowser-server/mediabrowser-server-3.0.5572.0-r1.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/mediabrowser-server/mediabrowser-server-3.0.5572.0-r1.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,118 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils user git-r3 + +DESCRIPTION="MediaBrowser Server is a software that indexes a lot of different kinds of media and allows for them to be retrieved and played through the DLNA protocol on any device capable of processing them." +HOMEPAGE="http://mediabrowser.tv/" +KEYWORDS="-* ~arm ~amd64 ~x86" +SRC_URI="https://github.com/MediaBrowser/MediaBrowser/archive/${PV}.zip" +SLOT="0" +LICENSE="GPL-2" +IUSE="" +RESTRICT="mirror test" + +RDEPEND=">=dev-lang/mono-3.2.7 + >=media-video/ffmpeg-2[vpx] + >=media-libs/libmediainfo-0.7 + media-gfx/imagemagick[jpeg,jpeg2k,webp,png] + !media-tv/emby-server" +DEPEND="app-arch/unzip ${RDEPEND}" + +INSTALL_DIR="/opt/mediabrowser-server" +DATA_DIR="/usr/lib/mediabrowser-server" +STARTUP_LOG="/var/log/mediabrowser_start.log" +INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server" + +# gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here +src_unpack() { + unpack ${A} + mv MediaBrowser-${PV} mediabrowser-server-${PV} +} + +src_prepare() { + MAGICKWAND=$(ldconfig -p | grep MagickWand.*.so$ | cut -d" " -f4) + MAGICKWAND=${MAGICKWAND##*/} + einfo "adapting to imagemagick library to: ${MAGICKWAND}" + sed -i -e "s/\"libMagickWand-6.Q8.so\"/\"${MAGICKWAND}\"/" MediaBrowser.Server.Mono/ImageMagickSharp.dll.config || die "could not update libMagickWand reference!" +} + +src_compile() { + einfo "updating root certificates for mono certificate store" + mozroots --import --sync + einfo "now actually compile" + xbuild /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln || die "building failed" +} + +src_install() { + einfo "preparing startup scripts" + newinitd "${FILESDIR}"/initd_1 ${PN} + dodir /var/log/ + touch ${D}${STARTUP_LOG} + chown mediabrowser:mediabrowser ${D}${STARTUP_LOG} + + einfo "installing compiled files" + diropts -omediabrowser -gmediabrowser + dodir ${INSTALL_DIR} + cp -R ${S}/MediaBrowser.Server.Mono/bin/Release\ Mono/* ${D}${INSTALL_DIR}/ || die "install failed, possibly compile did not succeed earlier?" + chown mediabrowser:mediabrowser -R ${D}${INSTALL_DIR} + + # as we use the system libraries, we delete the local ones now as we couldn't do it before + rm -R ${D}${INSTALL_DIR}/MediaInfo + + einfo "prepare data directory" + dodir ${DATA_DIR} +} + +pkg_setup() { + einfo "creating user for MediaBrowser" + enewgroup mediabrowser + enewuser mediabrowser -1 /bin/bash ${INSTALL_DIR} "mediabrowser" --system +} + +#pkg_preinst() { + #cd ${D} + #einfo "preparing compiled package for install" + #mkdir -p opt/mediabrowser-server + #cp -R ${WORKDIR}/${P}/MediaBrowser.Server.Mono/bin/Release\ Mono/* opt/mediabrowser-server/ || die + #cp ${FILESDIR}/start.sh opt/mediabrowser-server/start.sh + #chown mediabrowser:mediabrowser -R opt/mediabrowser-server + #chmod 755 opt/mediabrowser-server/start.sh + + #einfo "adding init script" + #mkdir -p etc/init.d + #cp "${FILESDIR}"/initd_1 etc/init.d/mediabrowser-server + #chmod 755 etc/init.d/mediabrowser-server + #mkdir -p var/log + #touch var/log/mediabrowser_start.log + #chown mediabrowser:mediabrowser var/log/mediabrowser_start.log + + #einfo "preparing data directory" + #mkdir -p usr/lib/mediabrowser-server + #chown mediabrowser:mediabrowser usr/lib/mediabrowser-server + + #einfo "Stopping running instances of MediaBrowser Server for actual install" + #if [ -e "${INIT_SCRIPT}" ]; then + # ${INIT_SCRIPT} stop + #fi +#} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "MediaBrowser-server was installed to ${INSTALL_DIR}, to start please use the init script provided." + einfo "All data generated and used by MediaBrowser can be found at ${DATA_DIR} after the first start." + einfo "" + einfo "If you just updated from an earlier version make sure to restart the service!" + einfo "" + ewarn "ATTENTION: This package is renamed to emby-server in the following releases!" + ewarn "Make sure to remove mediabrowser-server and reinstall with emby-server shortly!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/mediabrowser-server/mediabrowser-server-3.0.5572.0.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/mediabrowser-server/mediabrowser-server-3.0.5572.0.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,112 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils user git-r3 + +DESCRIPTION="MediaBrowser Server is a software that indexes a lot of different kinds of media and allows for them to be retrieved and played through the DLNA protocol on any device capable of processing them." +HOMEPAGE="http://mediabrowser.tv/" +KEYWORDS="-* ~arm ~amd64 ~x86" +SRC_URI="https://github.com/MediaBrowser/MediaBrowser/archive/${PV}.zip" +SLOT="0" +LICENSE="GPL-2" +IUSE="" +RESTRICT="mirror test" + +RDEPEND=">=dev-lang/mono-3.2.7 + >=media-video/ffmpeg-2[vpx] + >=media-libs/libmediainfo-0.7 + media-gfx/imagemagick[jpeg,jpeg2k,webp,png] + !media-tv/emby-server" +DEPEND="app-arch/unzip ${RDEPEND}" + +INSTALL_DIR="/opt/mediabrowser-server" +DATA_DIR="/usr/lib/mediabrowser-server" +STARTUP_LOG="/var/log/mediabrowser_start.log" +INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server" + +# gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here +src_unpack() { + unpack ${A} + mv MediaBrowser-${PV} mediabrowser-server-${PV} +} + + +src_compile() { + einfo "updating root certificates for mono certificate store" + mozroots --import --sync + einfo "now actually compile" + xbuild /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln || die "building failed" +} + +src_install() { + einfo "preparing startup scripts" + newinitd "${FILESDIR}"/initd_1 ${PN} + dodir /var/log/ + touch ${D}${STARTUP_LOG} + chown mediabrowser:mediabrowser ${D}${STARTUP_LOG} + + einfo "installing compiled files" + diropts -omediabrowser -gmediabrowser + dodir ${INSTALL_DIR} + cp -R ${S}/MediaBrowser.Server.Mono/bin/Release\ Mono/* ${D}${INSTALL_DIR}/ || die "install failed, possibly compile did not succeed earlier?" + chown mediabrowser:mediabrowser -R ${D}${INSTALL_DIR} + + # as we use the system libraries, we delete the local ones now as we couldn't do it before + rm -R ${D}${INSTALL_DIR}/MediaInfo + + einfo "prepare data directory" + dodir ${DATA_DIR} +} + +pkg_setup() { + einfo "creating user for MediaBrowser" + enewgroup mediabrowser + enewuser mediabrowser -1 /bin/bash ${INSTALL_DIR} "mediabrowser" --system +} + +#pkg_preinst() { + #cd ${D} + #einfo "preparing compiled package for install" + #mkdir -p opt/mediabrowser-server + #cp -R ${WORKDIR}/${P}/MediaBrowser.Server.Mono/bin/Release\ Mono/* opt/mediabrowser-server/ || die + #cp ${FILESDIR}/start.sh opt/mediabrowser-server/start.sh + #chown mediabrowser:mediabrowser -R opt/mediabrowser-server + #chmod 755 opt/mediabrowser-server/start.sh + + #einfo "adding init script" + #mkdir -p etc/init.d + #cp "${FILESDIR}"/initd_1 etc/init.d/mediabrowser-server + #chmod 755 etc/init.d/mediabrowser-server + #mkdir -p var/log + #touch var/log/mediabrowser_start.log + #chown mediabrowser:mediabrowser var/log/mediabrowser_start.log + + #einfo "preparing data directory" + #mkdir -p usr/lib/mediabrowser-server + #chown mediabrowser:mediabrowser usr/lib/mediabrowser-server + + #einfo "Stopping running instances of MediaBrowser Server for actual install" + #if [ -e "${INIT_SCRIPT}" ]; then + # ${INIT_SCRIPT} stop + #fi +#} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "MediaBrowser-server was installed to ${INSTALL_DIR}, to start please use the init script provided." + einfo "All data generated and used by MediaBrowser can be found at ${DATA_DIR} after the first start." + einfo "" + einfo "If you just updated from an earlier version make sure to restart the service!" + einfo "" + ewarn "ATTENTION: This package is renamed to emby-server in the following releases!" + ewarn "Make sure to remove mediabrowser-server and reinstall with emby-server shortly!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/mediabrowser-server/mediabrowser-server-9999.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/mediabrowser-server/mediabrowser-server-9999.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,87 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils user git-r3 + +DESCRIPTION="MediaBrowser Server is a software that indexes a lot of different kinds of media and allows for them to be retrieved and played through the DLNA protocol on any device capable of processing them." +HOMEPAGE="http://mediabrowser.tv/" +KEYWORDS="-* ~9999" +EGIT_REPO_URI="https://github.com/MediaBrowser/MediaBrowser/" +EGIT_BRANCH="dev" +SLOT="0" +LICENSE="GPL-2" +IUSE="" +RESTRICT="mirror test" + +RDEPEND=">=dev-lang/mono-3.2.7 + >=media-video/ffmpeg-2[vpx] + >=media-libs/libmediainfo-0.7 + media-gfx/imagemagick[jpeg,jpeg2k,webp,png] + !media-tv/emby-server" +DEPEND="app-arch/unzip ${RDEPEND}" + +INSTALL_DIR="/opt/mediabrowser-server" +DATA_DIR="/usr/lib/mediabrowser-server" +STARTUP_LOG="/var/log/mediabrowser_start.log" +INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server" + +src_prepare() { + MAGICKWAND=$(ldconfig -p | grep MagickWand.*.so$ | cut -d" " -f4) + MAGICKWAND=${MAGICKWAND##*/} + einfo "adapting to imagemagick library to: ${MAGICKWAND}" + sed -i -e "s/\"libMagickWand-6.Q8.so\"/\"${MAGICKWAND}\"/" MediaBrowser.Server.Mono/ImageMagickSharp.dll.config || die "could not update libMagickWand reference!" +} + +src_compile() { + einfo "updating root certificates for mono certificate store" + mozroots --import --sync + einfo "now actually compile" + xbuild /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln || die "building failed" +} + +src_install() { + einfo "preparing startup scripts" + newinitd "${FILESDIR}"/initd_1 ${PN} + dodir /var/log/ + touch ${D}${STARTUP_LOG} + chown mediabrowser:mediabrowser ${D}${STARTUP_LOG} + + einfo "installing compiled files" + diropts -omediabrowser -gmediabrowser + dodir ${INSTALL_DIR} + cp -R ${S}/MediaBrowser.Server.Mono/bin/Release\ Mono/* ${D}${INSTALL_DIR}/ || die "install failed, possibly compile did not succeed earlier?" + chown mediabrowser:mediabrowser -R ${D}${INSTALL_DIR} + + # as we use the system libraries, we delete the local ones now as we couldn't do it before + rm -R ${D}${INSTALL_DIR}/libwebp + rm -R ${D}${INSTALL_DIR}/MediaInfo + + einfo "prepare data directory" + dodir ${DATA_DIR} +} + +pkg_setup() { + einfo "creating user for MediaBrowser" + enewgroup mediabrowser + enewuser mediabrowser -1 /bin/bash ${INSTALL_DIR} "mediabrowser" --system +} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "MediaBrowser-server was installed to ${INSTALL_DIR}, to start please use the init script provided." + einfo "All data generated and used by MediaBrowser can be found at ${DATA_DIR} after the first start." + einfo "" + einfo "If you just updated from an earlier version make sure to restart the service!" + einfo "" + ewarn "ATTENTION: This package is renamed to emby-server in the following releases!" + ewarn "Make sure to remove mediabrowser-server and reinstall with emby-server shortly!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/plex-media-server/Manifest --- a/media-tv/plex-media-server/Manifest Sun Aug 10 22:33:43 2014 +0200 +++ b/media-tv/plex-media-server/Manifest Mon Mar 28 21:12:10 2016 +0200 @@ -3,6 +3,18 @@ AUX plex-media-server-startup_fix.patch 4420 SHA256 ff5b092907a24f533cb72a517e4c5ec717ca64271d4d99a38aae4695e3e39c14 SHA512 7f01a5e5b3253b74639a868818e40c57e4a803db07d765e0e762275a0ddc8793a625752acce1bff6a70050622ed3386243e722b7f908c882ba9ec3057148955f WHIRLPOOL 2a8c95a4ae87701e3d283e4951ec3ec5d145dbbcc3f4e8eec9bebf6272deca721fc419b348fb216e4573c91a3d48fd9d32a930965b816981d40c5e1970869f2b AUX pms_initd_1 592 SHA256 0975b95c166bedbfda3f138e45e2bd0633d524c29ab452966e9fcbc6d2415be0 SHA512 29b0e5d45364b73f9d162a813e574c892ec4f252829fd9b4143ad7e16e2e32852fbf1a8d81476900da0dbf9d3935c98800554df9fac816b8f3c3edd2137dfbff WHIRLPOOL 7089bf5a1cbbbf1fe79a26c0a50dec3ee30fdc576f16f0814e0afdf8869d22e5b7be3c62c7f907918c7fcd5021ed051b93d5c50cc81d1473c6fdb206386d2cec AUX start_pms_1.patch 764 SHA256 47f92d85d31041d8fe64e732385ae7fa423779e2db1745af7129486fc26a1f82 SHA512 87552834e7ff08987b5f00998d949a2ad836d65d94289de7e1b73b19d4b2205659b7e60d926b3e08154f1f2ebc9230a7839af92bf31ed21b3883483879ff180f WHIRLPOOL 733ba1fa1b60bfab7d6e31269f4f738d516d28a3a45a837daa1daea0e59e9886f736fd36033500782baf918ce0cc6db09b2c45dd24d75ae1cd23f0ca69705fe1 +DIST plexmediaserver_0.9.11.7.803-87d0708_amd64.deb 120064606 SHA256 b2af6db4608280eabdda18da8a34d1d9bac0b3cb2e78381af25cb78129385273 SHA512 295f262c87255d0a94b2e51581347b74a25c4981f971806775aa9196e0199b4b591cdc38c56322d107545a34718e2a79fbdd3f3886ad01e2643ab0639641b469 WHIRLPOOL 3692c851c1d786c686bc7e815df3a9559daff7dacb48da135d925861bcaad15797720a64290d0c12c18b0d834c818f6ec279b4c16e7bc8088841c1db4bffa327 +DIST plexmediaserver_0.9.11.7.803-87d0708_i386.deb 107886292 SHA256 09f2fe1b071864210309887df60feef0b0a554de66976e1717a4dfc7d54ee9e2 SHA512 43cee30e93362f219f9627d4c8b58583dcbf0d9ddff4d3aa7097afdb6711ba4d4de9fd0e7e52d0cd9481b85621c4c9b61ef0219d7107a3c30049b214ab316ab8 WHIRLPOOL 4697215df314513787f27654c275b05b9326ef397218996e5d98e8057cd7f9440ba85be75dc41a7c17e975299a458da95153d83c99b65e658eb954cb2c7d65f8 +DIST plexmediaserver_0.9.12.11.1406-8403350_amd64.deb 127116924 SHA256 6cadaf6381b4c03b65a98866c25dfda53b8b373fcb08219e3ea3de8e783251fd SHA512 b7da8b48fe60836e87e36b0f53e298a50403a8d1f21f9710018aa0d8bc74b913f9f9de3ba6627b0acac01c9518a11bb6b0aef1707035b7aeeb081fbcdf9e20f7 WHIRLPOOL 2ee5768848d61773d46ddfc58c3afdfaf061f94e4a03a498b271f33fd75494222a9218466231e2bb3d2be8b8640e909752619ef357592521c9b9bbbf7b544062 +DIST plexmediaserver_0.9.12.11.1406-8403350_i386.deb 113426824 SHA256 09989e0738595f61cd1440cd8b5a10dac6a20a8501daba1f964eedb74e70cc38 SHA512 71b934e8577a23d8b5a1ec13df11669a30c08835844be51707de4176645f3e220e97214bca7ba6e473f5b375e02350fecac26533acdcb0749b6c6fc42ca9ea5a WHIRLPOOL 1e26bf7f9afd7ccb56f56a2cb5b36985988cceecfd3412e777a47cb7e207f7254e9965136a2be1189f7bc65d9bc478537b0263ebf3c6e484cd35bde9e5996905 +DIST plexmediaserver_0.9.12.18.1520-6833552_amd64.deb 127274658 SHA256 91154abc456c26179afe6e7fef09bad8cbe002f5e0908072ea09be797cc8b661 SHA512 2e81e3fe16e86fca4bc18da4d8acf60b94ec12d3919342f5715d9325ee7671cd39dc0320854c3c7b301a0fd29dd5566566de38e44249427b1eb97aa373380ace WHIRLPOOL 70305be1e5e2f0d39468ee5cd0e6eb2d21913de954bbc0cbefb844fc3d737fe6f1dcef23b168e638c581c0834e31acf0a12bbece9a2d08137b09f159e726239f +DIST plexmediaserver_0.9.12.18.1520-6833552_i386.deb 113574872 SHA256 83b65659ec4fb3dcc8c43f8a1595ba1b62d17fa8d1f45438e6c0df7af3aa96d7 SHA512 ad977a85af970e33a3a496b2dcd24c48ed9ae88a99ac46d397c55b34542bcf3eaa4c92592a66a9f7aff7975ddf51a4e9710890be3f75cbfbd717602a47ae5013 WHIRLPOOL e2e638dea34240ccf185c4cf88a0115a6445f40242842bc414687fe76904911ecba9352acb36842e5574c092e81b24f6d22a8eb0c92621416978bd2896d683fa +DIST plexmediaserver_0.9.12.19.1537-f38ac80_amd64.deb 127267970 SHA256 3df6c79093927df1c99e95fc5e49217f9ad65e5e1ed804e9a095efa8935787c4 SHA512 fb0151507e805e59c92ef2a328d2dd0932db0dd624d431c68ee409a38e76b4947f55a3a62cce1acb5647f1cacb19cde62d70ac8081f1acd71c42952b89d6e8ba WHIRLPOOL 71a434d7afd08bd5e0cac61db82f003c3e5085efafa7bc4127e92d6b0d61b45a7c9d004be9bf5f5e333e70268f5f15761552cb0bb9f07b981e30169389716556 +DIST plexmediaserver_0.9.12.19.1537-f38ac80_i386.deb 113574214 SHA256 8d7af56dd8d469accdc201ced330bd934fe1ef2860c3789fddc257fdb94d410f SHA512 26c49c5143ff0ce787dd2781c2ea657c9d5e79cbd1dca0ac0b2db1047f1bbc6924b67b4f6498c5168bb837f8bc56a8e1c057df9e7346ed00c7bd616139a0a20d WHIRLPOOL 0e4ec6174b122c10a2315274c4d76ae8d33316ded378d406e1314a775da7a83af2577fd3e70d080c93da107a54f9cf52bc725b432b2eb956109252ebe158c0c6 +DIST plexmediaserver_0.9.12.4.1192-9a47d21_amd64.deb 127794506 SHA256 e014827dcfc3bbf4e8a0f977f129296f57c75e8a324c488f1f09e027eb09d9cf SHA512 c4a9812e42fe4e0078d95df4a820dd359ec6fa82fb741ff7d30fe8074febbb74b3937bcb032d4207dec65ac14a622179bf08ac8cb7eddf814ed625302d7ba976 WHIRLPOOL 1e702a594cd6b9947f0c7a9f88f5665d6b3308c94d95581255c9eae316987600ad933c356735e2bb7fa949c773cd5dedb4e85b7707fb083109af9c3e3425a3ef +DIST plexmediaserver_0.9.12.4.1192-9a47d21_i386.deb 114109972 SHA256 cf52bffc27b2dc91f3caacc5314c5483f5804dedaf21c0c8de33bb859b026a5f SHA512 b28dedfe8cc9ef41a412d279c67912083c2ecc09eb2eae41d0255bf04edd09c6103d23a9b9bc0df7584b9a20c5a44b70c1339eb829904a8fe99c2519c1ead829 WHIRLPOOL f30994b609947c40872b71200b2559adc135f0b0bb4e9cfd7d6eb2d0811eb5f892f2bd80850c35601b2df9ff5143680d355efd08d54dd150ca7da2417691e89a +DIST plexmediaserver_0.9.15.2.1663-7efd046_amd64.deb 128067006 SHA256 99dc174b6f5ddd276feed6c629c4be7ecc78cbee000ef4f2b7544534be515140 SHA512 05b4614359d99ed49bc1cea0926a65ebfc98a094cdd67e2e331ab159e46ee192d6c6d6f04ddbc72c633aeb525be8dd5852104ba950db46c92feb054fd0aaad17 WHIRLPOOL a3f0cdfc673a5feb032065df2fed3c19005355665482c20d53af87d8dfda4cb3722a9c8acc4d1e8663ba31fe2485836ccf11242c62b83afddebac8df87bc303d +DIST plexmediaserver_0.9.15.2.1663-7efd046_i386.deb 114358086 SHA256 b449cc1293edc1bfee9f081defa77556e7c0e12072a34c4e183923c4228b2004 SHA512 44eb689b9e6b6304d0470c96375af961653b683354e71f03ce4583fc6e2c893349a47180aff129d7befee8fbe1f66f08f11e204211a2ebc0f87e5ba5bcffe8ed WHIRLPOOL 87c82022884dc5e8ffe1ab93a8aa2f8886a7f562de3e7bc22b2f48e286ec88957909bf3e8160b8cb314fcfebaf3d1674fb865635e50b4642799eed790c92a09b DIST plexmediaserver_0.9.3.5ubuntu1_amd64.deb 57612284 SHA256 6faa001061cc408361702d380f1219c66a3f1842642d8bf996f99a8aa74f73e0 DIST plexmediaserver_0.9.3.5ubuntu1_i386.deb 57584476 SHA256 d54e948d4aca89d9348a69829169756e861463024cbdd5c4448307f508cdbda5 DIST plexmediaserver_0.9.5.2-7a18da4_amd64.deb 56473538 SHA256 1c66fe886f3dd4e8f0850d2f9cf6bddde29c0daa4c00b81e1fa97d2c390acd51 @@ -53,10 +65,18 @@ DIST plexmediaserver_0.9.8.6.175-88ffbb2_i386.deb 66817224 SHA256 c82f690f81de38f1f1aa7e4ee938ffbb43343800cd2e28dcf0a8b581a04bd8cc SHA512 e049c88e089d9d13e350f3fff1f61193dbe0939619ad95c887856257126594b55a2169110cea56f7dfd4d97eff87590eb211486a91dbf87d5995e0fae98e96fd WHIRLPOOL 2b5bca432d9493d55188d087904180fa452aa0159b63644cd25e8b943c1616b450e46abe8ae655f35a114b3c1eea6c3e29d44c2fed54f7c32074a1972ec918b6 DIST plexmediaserver_0.9.9.12.504-3e7f93c_amd64.deb 66882638 SHA256 40afda28cfe67dd794aef3119bad24072cfa272bc6c1482ed6743921aad76ef2 SHA512 75f41df7478481dd4e4f7b4194f6f59290051922c4eaadf6eed53296fd0a61b4d4f5c918539b3d46fc0c7f06d62c0203a978be4a188eba711e2f7f1a7cf6046d WHIRLPOOL ed0929c55e9669a5d6931dc04687c538630f2cbd72b0ec1c9a0a851b85fb25b56f8adee0e5712e6c1508bd835454e82c5eca6b1743e253344c2cc3dc2f1d7196 DIST plexmediaserver_0.9.9.12.504-3e7f93c_i386.deb 65443800 SHA256 166d064d05c99e34cd9a6f58181b13f992ca3f18ed09db0b0846a433383c660a SHA512 78c79ae399603b159658027f471efbec39d66f77c90e13ff20c28c212a3995e3ffb5f3aae005e76a87534640f4ed7297f3afe51763ae4d0a7bd9f6ff08978678 WHIRLPOOL 858312ba763321ab1aa53326e8c3b2390bd588948d6eae1a794ad93d6803b3e6be17ab18da971e7929e8b0799b11b444b9e23d990373a37d9693c9ccdfecd265 +DIST plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb 69200620 SHA256 d4058c71e05285c645c9cdd1a9c60ca2c748239b11e005035a86e66db0576303 SHA512 66a3787344b67a83c773ff87b19c84feb0226b665a2d5596db62de17819d6d6648c21a169841d374281008b8da291a709ef140492fff1cb3382e57852cd0a734 WHIRLPOOL 0331c7a78ffc3eb43900101752363358f9ac1352ec84192f8c59ecb0b9b08875c68e19634f54c10d8185e137ede7720987c5036a0e2aabd2021cf8458f01e954 +DIST plexmediaserver_0.9.9.14.531-7eef8c6_i386.deb 67625904 SHA256 24e4837f529d1e951de4f63d93cc20380f44c8166d0c8940979bcce110d557b6 SHA512 448d08071e4d54b0d478aa7bce09d0fb33a4ffd04e7bda289af0d7321e724bc321db114ed232741f92a85f6f4ad035b68108a836b75090f7781743b6fc00744d WHIRLPOOL e4de84267688e2ea1920f89aaade686e9e4ff0f7f12014c1baabef0db5ad09b1c54f8101f3f7c78cdd680980a2b13929eefbbf9ccae4d873b9d310a4dcc9bb42 DIST plexmediaserver_0.9.9.5.411-da1d892_amd64.deb 69740762 SHA256 a3d34a6e67c31a3a4228fb685b9b167bbbf2b587e0ec7d3418a72dfef073a0ba SHA512 e3f1e18df9476c21ab08845c2394b98e7a9a9d98d03a677a2783ea4d4f59a6d1df0fd558a67ba762186fe6ae0b8bd701e06174be656bf01f2c778ef732332ddd WHIRLPOOL 7fbea456aaabe306498eedbbc37b86166bb447d4aa4a6c19fc074be646ad8e56acdced9bfcbf92123b8e2306a9e7578cad03d51611e60198c38bc5aae0651801 DIST plexmediaserver_0.9.9.5.411-da1d892_i386.deb 68294804 SHA256 8a682e8079442a2fb0ab7a3d6854f6685afc9d1493ac717887b8b367c66a402f SHA512 94a69684d65ffdb7cd6c0d609b5fe33621228a4dc961a98800c4b96ab15843dfd1fe543459f2a2c0ef856a0e4bafc3b40d3ee0eda4aa599c47835f82e6c66991 WHIRLPOOL a55a7c3bae7864477abe47397a42f075d57da00209cc010b4269304b1820c78b73f2bbd97543da41d05642fdd44c4efac9ff5a8b68002e329e7d6510af897024 DIST plexmediaserver_0.9.9.7.429-f80a8d6_amd64.deb 69772210 SHA256 227898f1d4f0cddfd38fd057579dc05bb7412dbb90167f262cab4625e69c2ce7 SHA512 d0a0523017616aba346e6e2bc1c9a4cdef4b5925437a7c983062cdeeee98f0ef97ee25eb92abc6c28f99adbb05771c3d9cb6874097a9db27d8843d82537ee4bc WHIRLPOOL 7ebc0e43e203829154a8b83f443259de6c16771d55a77e3407852e98afcbcc167663de0637ca79b994810c652cc7bdce8a06b184d3bf99f6e281d77d1ec062ce DIST plexmediaserver_0.9.9.7.429-f80a8d6_i386.deb 68330174 SHA256 11ead9337aa2cc114bf27be3275c3f9ec06c6d35aa220fbfeafb786c879f2c63 SHA512 fc89d911344d2590fc9b32ec2cb0baac82af3df9ef0f087d4b7260e9c7bdc7a8aeb86c99cc5b3f1402407f85b9894d9d3dc2c6b73933d43d03aeb55aa938ce2d WHIRLPOOL 8cf5e45bf62161c2905fb1a3e182d2354a7651774580f79018bfcb0367543b967b2d6b4265f36b8b987bf7bed2715c2f68c02306c17489843d5b56f673745067 +EBUILD plex-media-server-0.9.11.7.ebuild 3612 SHA256 b718002b5d8c0020036aad016ef5b8568cd0335d96edbe330a57d2e7b83046f7 SHA512 2ccbc773227529e5bb81e4503e9c220e61799684f25b6269c3f4a0c535e77e7ba3456aaf32288513e899afb0a83cad152f41176d2985f10668687a3f232ccc66 WHIRLPOOL 1d6396320cd459eb7a84097b3d812816f3cbc13502e108ed585aa068e075d9f5c456de48c56edc5dcd4bc0c906aa2602631fe365ceaecdbdee1d57d720d4f421 +EBUILD plex-media-server-0.9.12.11.ebuild 3613 SHA256 2207fc7bdc1d616dc4d2c00f9762b1ab82918a576fd1e83458f04927d7b61f99 SHA512 7e750acf2705454bf4e483da783dc7b9df2d260611ee504647f0de1ea4b254e4950b7a48a58823f258f43fea458073e59ec3e368ddc4ee83fd614b8d4eb85b4a WHIRLPOOL 067ad9920e74f8ef9f976eff27d853225fbe9dbdf15cc64aeadca0fec7bc415ab84e7f576bcbf2db9126c2e07d5fb17f46fea7d8c383b4354a6dd0ae67be716d +EBUILD plex-media-server-0.9.12.18.ebuild 3613 SHA256 0391c86597835cedc5ec66461e85c5db4190c5d72ca4d7e66014eac8083e5339 SHA512 94ac9f8f5c33432cbef2f915a949fd1f5a3ef1e8bb4091deb6e4f7252859457776e8e4c2dddf45b2a4fbfa5f7076bcbfac02fc38137903838fbf1f4c441bd79b WHIRLPOOL ff810e20fcd2762c72dad8d065a7d36865c41cde8cadb4b5cf63271f5a0df63a74dfd411b69c119facc89b9a3a33e98805274b127c0fc7a1a15fcac2bc817c66 +EBUILD plex-media-server-0.9.12.19.ebuild 3613 SHA256 0b2799d6877125c56496be85c09ba3ff28768bc3ecd6e99650f2f34ec239b270 SHA512 cf5a4ccadd83f38040afe141920a7b3f35b8ee7696920098a96d1b2e313cd5459c4e73f23645b997537a334293830e649efa4ea8cfd6bbcf0d0d745c3ee5da14 WHIRLPOOL b60ffd53e4cbc9def668a25a2c387aa2b2d0986fc3849f56cf79c38e9ca486df1208dacca677079d2ac38644f3605b5ac877b83b2d81e8b59fb8e25724d543c0 +EBUILD plex-media-server-0.9.12.4.ebuild 3613 SHA256 577731599108d80e2b83f776598c662824f0dff9109247a2d1ba783229c4dd17 SHA512 b9867260845b9102796ee14a11cba382950e7941cf85d5f0d98f5a36ee9e84e2d1d527bb1dd34073a4c99d2862a53bb7fe2a4bcf96fa0c19a88562b2486b4ba6 WHIRLPOOL ebe281b78a337b397fd11077077972ebe6a02852d22ec8a60d2ad4ac0132c5f5209c8bc6f971c9df45f3bf784606390916470d2264e1d9522c255986f4ef2ce0 +EBUILD plex-media-server-0.9.15.2.ebuild 3613 SHA256 bda27d87b324000bf6c28c3e0c509eee1d0ed274d7ac249fc80ab9f9cbbbc255 SHA512 37a802129d87d90cb25bd7bef47774b9c4cdef3d5fc28f56a3e5b6381265f7693a72b20edc3de8d6fa409f56ec5136fbec608ec1b40d733c6cf30d10b467f99d WHIRLPOOL f3dee4e9281bc3124e479a624628dcb7e484cc41bae0c92e069f261f3af72204df18ae49055cb667d8d7b7c8828322b7d1cc1ea32e77bfa489615a5f2c5a926d EBUILD plex-media-server-0.9.3.5-r1.ebuild 1941 SHA256 250f58aae0ef2b0566631ef6a16bc9bea06a2c3ac9dc63e322824b7630daea52 SHA512 f6dad51e28fbdfe4e1fec20906c1193ed1a6e9cf5f1321435dc5f71ca8ae24ceac2d7ed11597531032743b6cac382e4edb5b9847c0c077c952899983c229c1cc WHIRLPOOL d1a4c72ffacd5c8f93e153bef56ac3d53ba98782f17dc8dd8b09efadd0fb26d40e35a69ffeca0e783dfdd8bfc83cfc39719b605c289836ceccf447987d6507c7 EBUILD plex-media-server-0.9.3.5.ebuild 1801 SHA256 df605eb4cb9f0882ff7195c8446aeb263fe76111dc0127efdd847f537f2c2565 SHA512 004ff98931e03481b56d949ca46edde11632a09543691cb59bf3fa9e900137bea2143212b9efa0e92f56043cbeed8ca3e4ae36e11fe007b0006e2a0bf8b2a868 WHIRLPOOL 74e320af4bd50426a44c0ea0cc683df0b288eca76fa72c85f08a411619489d7089196ee0ebc7a4406c36c8853cd937a3ed6e9c92b2762939b19de31f42b64da9 EBUILD plex-media-server-0.9.5.2.ebuild 2131 SHA256 a17494211238022372e27511cae61691decd40399f27a345d17d7354b70cbdf9 SHA512 6982f58549beebd88fda6296cdc953ebd881bc05baacb3abf615338fe2aa774c21494a3e0ae5b5fe5356f70ec6a62da19de3e73606e8c748a4868817f4680d5d WHIRLPOOL b817db3a8eebefdaf11579da2056003764652a674bae5a27886655084f18c9eee7e133c9320ce0e0289fa52d4282849964303d01c3c9a2aa6a9012ea751704e2 @@ -85,6 +105,7 @@ EBUILD plex-media-server-0.9.8.18.ebuild 3722 SHA256 a80e0b498d5bfbd9e1ac8e2f5a1d11d5264a2053656c7968b4de37279939eef2 SHA512 aa9b6ede9607b6e54ee982a77678971677eea16896aeb1b895d14590a16ddab5c4a23946a03dff13c510bc860c0cb2cfe74251232f1150e20887a746f5433e59 WHIRLPOOL 0797a697f7acdd269517facd5ae386f4423d58fd51eec2daf5f5154454c1b2add86a7a556b2b254d98f009f8cc6f9ee0dffa2c711a7332d2e38add27338032e4 EBUILD plex-media-server-0.9.8.6.ebuild 3722 SHA256 cbb9d6d66734e18932dff23a7126d8c74d4e0409a812f6eba3dbca5784fc2569 SHA512 0f01acf9a08284d8636a8125873f973b7f24435925ddd6122cd0626d112403b1f548e899f5ea95ff7bf22ff6170075ae26721d08b658bdf38f1a4fa57e8ace4e WHIRLPOOL 18b1f4654fe28a4bc04a2f5148746dc4c4a278546ad413aab31ac95899c661ba30e59d4bce84cf9601284a4fa9998318e246028d244799a39d70b0496375b576 EBUILD plex-media-server-0.9.9.12.ebuild 3612 SHA256 d1a5c752794635c010657196e6da0d88e4d6e939f208c87eda00c398f752d91d SHA512 f7d2c1e12ac50ff0143dbe6057fccc71b67dc95fa41fc31a447a7438f11379de9e064b80e431bebe9d49d524309c84d22656f04525e663360200d9e99aeab9f8 WHIRLPOOL e921a54a295ff97ccf5426296f19a31d8fbfb4fbb75b9c2b664357a4fc54fc2531b2604357bd759dcde8264c056ded77255029444f9b502b5b01ca59f661d76c +EBUILD plex-media-server-0.9.9.14.ebuild 3612 SHA256 874a88119849d66483d8985b9189192d55e8552d6e919a782ee40edeb19a5ac9 SHA512 812daea03a3c3bf00c33fdfb23c0bda3d8b5c4df5c7f81c48b121e87fa2f51c8aa061525dabe5f836a976b2ec65dc14a465677cc1fa5409df640c1fce23e2390 WHIRLPOOL 8fa11345bfd22934fe8e80fedbbd8a2af5c75284277ec58e62323d51a61993ef35d5c7594a92aa72ae4bf15a609524038df5dd6fee31e4622781c8ea75341678 EBUILD plex-media-server-0.9.9.5.ebuild 3727 SHA256 08e304dfc05f5259e7f887229132a2458ed2dcde8c7580343b4acd10c3593bca SHA512 8c14845c0a7244006e5fde12609887b4f73fb2e0efd7cc5d5afbac2421031e360f5934648c79ac9c5d047e1773082d672737a2e675f09dab2ab27978015c5994 WHIRLPOOL cc5d550f9fa94cbf3f8cd14de2fc33942ceaeba4af0cfd9f9560322c842bf346fec0457198257e28727ec7f90c34bce975fb3e06680470c0acd6b1acd1e2cfbb EBUILD plex-media-server-0.9.9.7.ebuild 3727 SHA256 9f3a291264911ae4c6ed01eb7e620b2bff3a2f5a8aebad433c15aa0f18cb9646 SHA512 659269d23338e2efe6caf2fd0013f12a6ba2c5882c45f2a048cdd53c755d60ff51d7666a64b59932415994409846793c459935227e1fd2a77afc05f0a8f537f0 WHIRLPOOL 2dd9ed834324cec418537a7ed4e30067d8477f2d3e4b6052be4e0afc0a9a857c1ab7f0e2c4a81491089d2b83625555a8cbf51ec672090f7e5e9f807f5f2eb67e MISC PMS-EULA 18877 SHA256 20d18b87bcd6a6f7669917b01975296dd0a67b54392865539761d3a2eaf85759 SHA512 bcf8022e9b87eebfc6c27e08eb090e5671ca16efa8da4561b1073b60e1c39ea511541c3ddacb2eee466961aff96f4e4270b71164672585d5410ed291a959141f WHIRLPOOL 3c84ae64e83764022e2dfbdd5375beaea6188efff9f4513495b64d12b322cbaf839c90685e7c28620f764c5f37b57ac8b6b2dfc8a40267a501f6dac1e49da365 diff -r 2ce94546a682 -r 693255175934 media-tv/plex-media-server/plex-media-server-0.9.11.7.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/plex-media-server/plex-media-server-0.9.11.7.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,105 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils user + +MAGIC="803-87d0708" +# URI_PRE="http://plexapp.com/repo/pool/main/p/plexmediaserver/plexmediaserver_${PV}.${MAGIC}_" +# this does not seem to work atm(/anymore?) +URI_PRE="http://downloads.plexapp.com/plex-media-server/${PV}.${MAGIC}/plexmediaserver_${PV}.${MAGIC}_" + +DESCRIPTION="Plex Media Server is a free media library that is intended for use with a plex client available for OS X, iOS and Android systems. It is a standalone product which can be used in conjunction with every program, that knows the API. For managing the library a web based interface is provided." +HOMEPAGE="http://www.plexapp.com/" +KEYWORDS="-* ~x86 ~amd64" +SRC_URI="x86? ( ${URI_PRE}i386.deb ) + amd64? ( ${URI_PRE}amd64.deb )" +SLOT="0" +LICENSE="PMS-License" +IUSE="" +RESTRICT="mirror" + +RDEPEND="net-dns/avahi" +DEPEND="${RDEPEND}" + +INIT_SCRIPT="${ROOT}/etc/init/plexmediaserver" + +pkg_setup() { + enewgroup plex + enewuser plex -1 /bin/bash /var/lib/plexmediaserver "plex" --system +} + +pkg_preinst() { + einfo "unpacking DEB File" + cd ${WORKDIR} + # ar x ${DISTDIR}/${A} + mkdir data + mkdir control + tar -xzf data.tar.gz -C data + tar -xzf control.tar.gz -C control + + einfo "updating init script" + # replace debian specific init scripts with gentoo specific ones + rm data/etc/init.d/plexmediaserver + rm -r data/etc/init + cp "${FILESDIR}"/pms_initd_1 data/etc/init.d/plex-media-server + chmod 755 data/etc/init.d/plex-media-server + + einfo "moving config files" + # move the config to the correct place + mkdir data/etc/plex + mv data/etc/default/plexmediaserver data/etc/plex/plexmediaserver.conf + rmdir data/etc/default + + einfo "cleaning apt config entry" + rm -r data/etc/apt + + einfo "patching startup" + # apply patch for start_pms to use the new config file + cd data/usr/sbin + epatch "${FILESDIR}"/start_pms_1.patch + cd ../../.. + # remove debian specific useless files + rm data/usr/share/doc/plexmediaserver/README.Debian + + # as the patch doesn't seem to correctly set the permissions on new files do this now + # now copy to image directory for actual installation + cp -R data/* ${D} + + einfo "preparing logging targets" + # make sure the logging directory is created + mkdir ${D}var + mkdir ${D}var/log + mkdir ${D}var/log/pms + chown plex:plex ${D}var/log/pms + + einfo "prepare default library destination" + # also make sure the default library folder is pre created with correct permissions + mkdir ${D}var/lib + mkdir ${D}var/lib/plexmediaserver + chown plex:plex ${D}var/lib/plexmediaserver + + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "" + elog "Plex Media Server is now fully installed. Please check the configuration file in /etc/plex if the defaults please your needs." + elog "To start please call '/etc/init.d/plex-media-server start'. You can manage your library afterwards by navigating to http://:32400/web/" + einfo "" + + ewarn "Please note, that the URL to the library management has changed from http://:32400/manage to http://:32400/web!" + ewarn "If the new management interface forces you to log into myPlex and afterwards gives you an error that you need to be a plex-pass subscriber please delete the folder WebClient.bundle inside the Plug-Ins folder found in your library!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/plex-media-server/plex-media-server-0.9.12.11.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/plex-media-server/plex-media-server-0.9.12.11.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,105 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils user + +MAGIC="1406-8403350" +# URI_PRE="http://plexapp.com/repo/pool/main/p/plexmediaserver/plexmediaserver_${PV}.${MAGIC}_" +# this does not seem to work atm(/anymore?) +URI_PRE="http://downloads.plexapp.com/plex-media-server/${PV}.${MAGIC}/plexmediaserver_${PV}.${MAGIC}_" + +DESCRIPTION="Plex Media Server is a free media library that is intended for use with a plex client available for OS X, iOS and Android systems. It is a standalone product which can be used in conjunction with every program, that knows the API. For managing the library a web based interface is provided." +HOMEPAGE="http://www.plexapp.com/" +KEYWORDS="-* ~x86 ~amd64" +SRC_URI="x86? ( ${URI_PRE}i386.deb ) + amd64? ( ${URI_PRE}amd64.deb )" +SLOT="0" +LICENSE="PMS-License" +IUSE="" +RESTRICT="mirror" + +RDEPEND="net-dns/avahi" +DEPEND="${RDEPEND}" + +INIT_SCRIPT="${ROOT}/etc/init/plexmediaserver" + +pkg_setup() { + enewgroup plex + enewuser plex -1 /bin/bash /var/lib/plexmediaserver "plex" --system +} + +pkg_preinst() { + einfo "unpacking DEB File" + cd ${WORKDIR} + # ar x ${DISTDIR}/${A} + mkdir data + mkdir control + tar -xzf data.tar.gz -C data + tar -xzf control.tar.gz -C control + + einfo "updating init script" + # replace debian specific init scripts with gentoo specific ones + rm data/etc/init.d/plexmediaserver + rm -r data/etc/init + cp "${FILESDIR}"/pms_initd_1 data/etc/init.d/plex-media-server + chmod 755 data/etc/init.d/plex-media-server + + einfo "moving config files" + # move the config to the correct place + mkdir data/etc/plex + mv data/etc/default/plexmediaserver data/etc/plex/plexmediaserver.conf + rmdir data/etc/default + + einfo "cleaning apt config entry" + rm -r data/etc/apt + + einfo "patching startup" + # apply patch for start_pms to use the new config file + cd data/usr/sbin + epatch "${FILESDIR}"/start_pms_1.patch + cd ../../.. + # remove debian specific useless files + rm data/usr/share/doc/plexmediaserver/README.Debian + + # as the patch doesn't seem to correctly set the permissions on new files do this now + # now copy to image directory for actual installation + cp -R data/* ${D} + + einfo "preparing logging targets" + # make sure the logging directory is created + mkdir ${D}var + mkdir ${D}var/log + mkdir ${D}var/log/pms + chown plex:plex ${D}var/log/pms + + einfo "prepare default library destination" + # also make sure the default library folder is pre created with correct permissions + mkdir ${D}var/lib + mkdir ${D}var/lib/plexmediaserver + chown plex:plex ${D}var/lib/plexmediaserver + + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "" + elog "Plex Media Server is now fully installed. Please check the configuration file in /etc/plex if the defaults please your needs." + elog "To start please call '/etc/init.d/plex-media-server start'. You can manage your library afterwards by navigating to http://:32400/web/" + einfo "" + + ewarn "Please note, that the URL to the library management has changed from http://:32400/manage to http://:32400/web!" + ewarn "If the new management interface forces you to log into myPlex and afterwards gives you an error that you need to be a plex-pass subscriber please delete the folder WebClient.bundle inside the Plug-Ins folder found in your library!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/plex-media-server/plex-media-server-0.9.12.18.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/plex-media-server/plex-media-server-0.9.12.18.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,105 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils user + +MAGIC="1520-6833552" +# URI_PRE="http://plexapp.com/repo/pool/main/p/plexmediaserver/plexmediaserver_${PV}.${MAGIC}_" +# this does not seem to work atm(/anymore?) +URI_PRE="http://downloads.plexapp.com/plex-media-server/${PV}.${MAGIC}/plexmediaserver_${PV}.${MAGIC}_" + +DESCRIPTION="Plex Media Server is a free media library that is intended for use with a plex client available for OS X, iOS and Android systems. It is a standalone product which can be used in conjunction with every program, that knows the API. For managing the library a web based interface is provided." +HOMEPAGE="http://www.plexapp.com/" +KEYWORDS="-* ~x86 ~amd64" +SRC_URI="x86? ( ${URI_PRE}i386.deb ) + amd64? ( ${URI_PRE}amd64.deb )" +SLOT="0" +LICENSE="PMS-License" +IUSE="" +RESTRICT="mirror" + +RDEPEND="net-dns/avahi" +DEPEND="${RDEPEND}" + +INIT_SCRIPT="${ROOT}/etc/init/plexmediaserver" + +pkg_setup() { + enewgroup plex + enewuser plex -1 /bin/bash /var/lib/plexmediaserver "plex" --system +} + +pkg_preinst() { + einfo "unpacking DEB File" + cd ${WORKDIR} + # ar x ${DISTDIR}/${A} + mkdir data + mkdir control + tar -xzf data.tar.gz -C data + tar -xzf control.tar.gz -C control + + einfo "updating init script" + # replace debian specific init scripts with gentoo specific ones + rm data/etc/init.d/plexmediaserver + rm -r data/etc/init + cp "${FILESDIR}"/pms_initd_1 data/etc/init.d/plex-media-server + chmod 755 data/etc/init.d/plex-media-server + + einfo "moving config files" + # move the config to the correct place + mkdir data/etc/plex + mv data/etc/default/plexmediaserver data/etc/plex/plexmediaserver.conf + rmdir data/etc/default + + einfo "cleaning apt config entry" + rm -r data/etc/apt + + einfo "patching startup" + # apply patch for start_pms to use the new config file + cd data/usr/sbin + epatch "${FILESDIR}"/start_pms_1.patch + cd ../../.. + # remove debian specific useless files + rm data/usr/share/doc/plexmediaserver/README.Debian + + # as the patch doesn't seem to correctly set the permissions on new files do this now + # now copy to image directory for actual installation + cp -R data/* ${D} + + einfo "preparing logging targets" + # make sure the logging directory is created + mkdir ${D}var + mkdir ${D}var/log + mkdir ${D}var/log/pms + chown plex:plex ${D}var/log/pms + + einfo "prepare default library destination" + # also make sure the default library folder is pre created with correct permissions + mkdir ${D}var/lib + mkdir ${D}var/lib/plexmediaserver + chown plex:plex ${D}var/lib/plexmediaserver + + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "" + elog "Plex Media Server is now fully installed. Please check the configuration file in /etc/plex if the defaults please your needs." + elog "To start please call '/etc/init.d/plex-media-server start'. You can manage your library afterwards by navigating to http://:32400/web/" + einfo "" + + ewarn "Please note, that the URL to the library management has changed from http://:32400/manage to http://:32400/web!" + ewarn "If the new management interface forces you to log into myPlex and afterwards gives you an error that you need to be a plex-pass subscriber please delete the folder WebClient.bundle inside the Plug-Ins folder found in your library!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/plex-media-server/plex-media-server-0.9.12.19.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/plex-media-server/plex-media-server-0.9.12.19.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,105 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils user + +MAGIC="1537-f38ac80" +# URI_PRE="http://plexapp.com/repo/pool/main/p/plexmediaserver/plexmediaserver_${PV}.${MAGIC}_" +# this does not seem to work atm(/anymore?) +URI_PRE="http://downloads.plexapp.com/plex-media-server/${PV}.${MAGIC}/plexmediaserver_${PV}.${MAGIC}_" + +DESCRIPTION="Plex Media Server is a free media library that is intended for use with a plex client available for OS X, iOS and Android systems. It is a standalone product which can be used in conjunction with every program, that knows the API. For managing the library a web based interface is provided." +HOMEPAGE="http://www.plexapp.com/" +KEYWORDS="-* ~x86 ~amd64" +SRC_URI="x86? ( ${URI_PRE}i386.deb ) + amd64? ( ${URI_PRE}amd64.deb )" +SLOT="0" +LICENSE="PMS-License" +IUSE="" +RESTRICT="mirror" + +RDEPEND="net-dns/avahi" +DEPEND="${RDEPEND}" + +INIT_SCRIPT="${ROOT}/etc/init/plexmediaserver" + +pkg_setup() { + enewgroup plex + enewuser plex -1 /bin/bash /var/lib/plexmediaserver "plex" --system +} + +pkg_preinst() { + einfo "unpacking DEB File" + cd ${WORKDIR} + # ar x ${DISTDIR}/${A} + mkdir data + mkdir control + tar -xzf data.tar.gz -C data + tar -xzf control.tar.gz -C control + + einfo "updating init script" + # replace debian specific init scripts with gentoo specific ones + rm data/etc/init.d/plexmediaserver + rm -r data/etc/init + cp "${FILESDIR}"/pms_initd_1 data/etc/init.d/plex-media-server + chmod 755 data/etc/init.d/plex-media-server + + einfo "moving config files" + # move the config to the correct place + mkdir data/etc/plex + mv data/etc/default/plexmediaserver data/etc/plex/plexmediaserver.conf + rmdir data/etc/default + + einfo "cleaning apt config entry" + rm -r data/etc/apt + + einfo "patching startup" + # apply patch for start_pms to use the new config file + cd data/usr/sbin + epatch "${FILESDIR}"/start_pms_1.patch + cd ../../.. + # remove debian specific useless files + rm data/usr/share/doc/plexmediaserver/README.Debian + + # as the patch doesn't seem to correctly set the permissions on new files do this now + # now copy to image directory for actual installation + cp -R data/* ${D} + + einfo "preparing logging targets" + # make sure the logging directory is created + mkdir ${D}var + mkdir ${D}var/log + mkdir ${D}var/log/pms + chown plex:plex ${D}var/log/pms + + einfo "prepare default library destination" + # also make sure the default library folder is pre created with correct permissions + mkdir ${D}var/lib + mkdir ${D}var/lib/plexmediaserver + chown plex:plex ${D}var/lib/plexmediaserver + + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "" + elog "Plex Media Server is now fully installed. Please check the configuration file in /etc/plex if the defaults please your needs." + elog "To start please call '/etc/init.d/plex-media-server start'. You can manage your library afterwards by navigating to http://:32400/web/" + einfo "" + + ewarn "Please note, that the URL to the library management has changed from http://:32400/manage to http://:32400/web!" + ewarn "If the new management interface forces you to log into myPlex and afterwards gives you an error that you need to be a plex-pass subscriber please delete the folder WebClient.bundle inside the Plug-Ins folder found in your library!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/plex-media-server/plex-media-server-0.9.12.4.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/plex-media-server/plex-media-server-0.9.12.4.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,105 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils user + +MAGIC="1192-9a47d21" +# URI_PRE="http://plexapp.com/repo/pool/main/p/plexmediaserver/plexmediaserver_${PV}.${MAGIC}_" +# this does not seem to work atm(/anymore?) +URI_PRE="http://downloads.plexapp.com/plex-media-server/${PV}.${MAGIC}/plexmediaserver_${PV}.${MAGIC}_" + +DESCRIPTION="Plex Media Server is a free media library that is intended for use with a plex client available for OS X, iOS and Android systems. It is a standalone product which can be used in conjunction with every program, that knows the API. For managing the library a web based interface is provided." +HOMEPAGE="http://www.plexapp.com/" +KEYWORDS="-* ~x86 ~amd64" +SRC_URI="x86? ( ${URI_PRE}i386.deb ) + amd64? ( ${URI_PRE}amd64.deb )" +SLOT="0" +LICENSE="PMS-License" +IUSE="" +RESTRICT="mirror" + +RDEPEND="net-dns/avahi" +DEPEND="${RDEPEND}" + +INIT_SCRIPT="${ROOT}/etc/init/plexmediaserver" + +pkg_setup() { + enewgroup plex + enewuser plex -1 /bin/bash /var/lib/plexmediaserver "plex" --system +} + +pkg_preinst() { + einfo "unpacking DEB File" + cd ${WORKDIR} + # ar x ${DISTDIR}/${A} + mkdir data + mkdir control + tar -xzf data.tar.gz -C data + tar -xzf control.tar.gz -C control + + einfo "updating init script" + # replace debian specific init scripts with gentoo specific ones + rm data/etc/init.d/plexmediaserver + rm -r data/etc/init + cp "${FILESDIR}"/pms_initd_1 data/etc/init.d/plex-media-server + chmod 755 data/etc/init.d/plex-media-server + + einfo "moving config files" + # move the config to the correct place + mkdir data/etc/plex + mv data/etc/default/plexmediaserver data/etc/plex/plexmediaserver.conf + rmdir data/etc/default + + einfo "cleaning apt config entry" + rm -r data/etc/apt + + einfo "patching startup" + # apply patch for start_pms to use the new config file + cd data/usr/sbin + epatch "${FILESDIR}"/start_pms_1.patch + cd ../../.. + # remove debian specific useless files + rm data/usr/share/doc/plexmediaserver/README.Debian + + # as the patch doesn't seem to correctly set the permissions on new files do this now + # now copy to image directory for actual installation + cp -R data/* ${D} + + einfo "preparing logging targets" + # make sure the logging directory is created + mkdir ${D}var + mkdir ${D}var/log + mkdir ${D}var/log/pms + chown plex:plex ${D}var/log/pms + + einfo "prepare default library destination" + # also make sure the default library folder is pre created with correct permissions + mkdir ${D}var/lib + mkdir ${D}var/lib/plexmediaserver + chown plex:plex ${D}var/lib/plexmediaserver + + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "" + elog "Plex Media Server is now fully installed. Please check the configuration file in /etc/plex if the defaults please your needs." + elog "To start please call '/etc/init.d/plex-media-server start'. You can manage your library afterwards by navigating to http://:32400/web/" + einfo "" + + ewarn "Please note, that the URL to the library management has changed from http://:32400/manage to http://:32400/web!" + ewarn "If the new management interface forces you to log into myPlex and afterwards gives you an error that you need to be a plex-pass subscriber please delete the folder WebClient.bundle inside the Plug-Ins folder found in your library!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/plex-media-server/plex-media-server-0.9.15.2.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/plex-media-server/plex-media-server-0.9.15.2.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,105 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils user + +MAGIC="1663-7efd046" +# URI_PRE="http://plexapp.com/repo/pool/main/p/plexmediaserver/plexmediaserver_${PV}.${MAGIC}_" +# this does not seem to work atm(/anymore?) +URI_PRE="http://downloads.plexapp.com/plex-media-server/${PV}.${MAGIC}/plexmediaserver_${PV}.${MAGIC}_" + +DESCRIPTION="Plex Media Server is a free media library that is intended for use with a plex client available for OS X, iOS and Android systems. It is a standalone product which can be used in conjunction with every program, that knows the API. For managing the library a web based interface is provided." +HOMEPAGE="http://www.plexapp.com/" +KEYWORDS="-* ~x86 ~amd64" +SRC_URI="x86? ( ${URI_PRE}i386.deb ) + amd64? ( ${URI_PRE}amd64.deb )" +SLOT="0" +LICENSE="PMS-License" +IUSE="" +RESTRICT="mirror" + +RDEPEND="net-dns/avahi" +DEPEND="${RDEPEND}" + +INIT_SCRIPT="${ROOT}/etc/init/plexmediaserver" + +pkg_setup() { + enewgroup plex + enewuser plex -1 /bin/bash /var/lib/plexmediaserver "plex" --system +} + +pkg_preinst() { + einfo "unpacking DEB File" + cd ${WORKDIR} + # ar x ${DISTDIR}/${A} + mkdir data + mkdir control + tar -xzf data.tar.gz -C data + tar -xzf control.tar.gz -C control + + einfo "updating init script" + # replace debian specific init scripts with gentoo specific ones + rm data/etc/init.d/plexmediaserver + rm -r data/etc/init + cp "${FILESDIR}"/pms_initd_1 data/etc/init.d/plex-media-server + chmod 755 data/etc/init.d/plex-media-server + + einfo "moving config files" + # move the config to the correct place + mkdir data/etc/plex + mv data/etc/default/plexmediaserver data/etc/plex/plexmediaserver.conf + rmdir data/etc/default + + einfo "cleaning apt config entry" + rm -r data/etc/apt + + einfo "patching startup" + # apply patch for start_pms to use the new config file + cd data/usr/sbin + epatch "${FILESDIR}"/start_pms_1.patch + cd ../../.. + # remove debian specific useless files + rm data/usr/share/doc/plexmediaserver/README.Debian + + # as the patch doesn't seem to correctly set the permissions on new files do this now + # now copy to image directory for actual installation + cp -R data/* ${D} + + einfo "preparing logging targets" + # make sure the logging directory is created + mkdir ${D}var + mkdir ${D}var/log + mkdir ${D}var/log/pms + chown plex:plex ${D}var/log/pms + + einfo "prepare default library destination" + # also make sure the default library folder is pre created with correct permissions + mkdir ${D}var/lib + mkdir ${D}var/lib/plexmediaserver + chown plex:plex ${D}var/lib/plexmediaserver + + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "" + elog "Plex Media Server is now fully installed. Please check the configuration file in /etc/plex if the defaults please your needs." + elog "To start please call '/etc/init.d/plex-media-server start'. You can manage your library afterwards by navigating to http://:32400/web/" + einfo "" + + ewarn "Please note, that the URL to the library management has changed from http://:32400/manage to http://:32400/web!" + ewarn "If the new management interface forces you to log into myPlex and afterwards gives you an error that you need to be a plex-pass subscriber please delete the folder WebClient.bundle inside the Plug-Ins folder found in your library!" +} diff -r 2ce94546a682 -r 693255175934 media-tv/plex-media-server/plex-media-server-0.9.9.14.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-tv/plex-media-server/plex-media-server-0.9.9.14.ebuild Mon Mar 28 21:12:10 2016 +0200 @@ -0,0 +1,105 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils user + +MAGIC="531-7eef8c6" +# URI_PRE="http://plexapp.com/repo/pool/main/p/plexmediaserver/plexmediaserver_${PV}.${MAGIC}_" +# this does not seem to work atm(/anymore?) +URI_PRE="http://downloads.plexapp.com/plex-media-server/${PV}.${MAGIC}/plexmediaserver_${PV}.${MAGIC}_" + +DESCRIPTION="Plex Media Server is a free media library that is intended for use with a plex client available for OS X, iOS and Android systems. It is a standalone product which can be used in conjunction with every program, that knows the API. For managing the library a web based interface is provided." +HOMEPAGE="http://www.plexapp.com/" +KEYWORDS="-* ~x86 ~amd64" +SRC_URI="x86? ( ${URI_PRE}i386.deb ) + amd64? ( ${URI_PRE}amd64.deb )" +SLOT="0" +LICENSE="PMS-License" +IUSE="" +RESTRICT="mirror" + +RDEPEND="net-dns/avahi" +DEPEND="${RDEPEND}" + +INIT_SCRIPT="${ROOT}/etc/init/plexmediaserver" + +pkg_setup() { + enewgroup plex + enewuser plex -1 /bin/bash /var/lib/plexmediaserver "plex" --system +} + +pkg_preinst() { + einfo "unpacking DEB File" + cd ${WORKDIR} + # ar x ${DISTDIR}/${A} + mkdir data + mkdir control + tar -xzf data.tar.gz -C data + tar -xzf control.tar.gz -C control + + einfo "updating init script" + # replace debian specific init scripts with gentoo specific ones + rm data/etc/init.d/plexmediaserver + rm -r data/etc/init + cp "${FILESDIR}"/pms_initd_1 data/etc/init.d/plex-media-server + chmod 755 data/etc/init.d/plex-media-server + + einfo "moving config files" + # move the config to the correct place + mkdir data/etc/plex + mv data/etc/default/plexmediaserver data/etc/plex/plexmediaserver.conf + rmdir data/etc/default + + einfo "cleaning apt config entry" + rm -r data/etc/apt + + einfo "patching startup" + # apply patch for start_pms to use the new config file + cd data/usr/sbin + epatch "${FILESDIR}"/start_pms_1.patch + cd ../../.. + # remove debian specific useless files + rm data/usr/share/doc/plexmediaserver/README.Debian + + # as the patch doesn't seem to correctly set the permissions on new files do this now + # now copy to image directory for actual installation + cp -R data/* ${D} + + einfo "preparing logging targets" + # make sure the logging directory is created + mkdir ${D}var + mkdir ${D}var/log + mkdir ${D}var/log/pms + chown plex:plex ${D}var/log/pms + + einfo "prepare default library destination" + # also make sure the default library folder is pre created with correct permissions + mkdir ${D}var/lib + mkdir ${D}var/lib/plexmediaserver + chown plex:plex ${D}var/lib/plexmediaserver + + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_prerm() { + einfo "Stopping running instances of Media Server" + if [ -e "${INIT_SCRIPT}" ]; then + ${INIT_SCRIPT} stop + fi +} + +pkg_postinst() { + einfo "" + elog "Plex Media Server is now fully installed. Please check the configuration file in /etc/plex if the defaults please your needs." + elog "To start please call '/etc/init.d/plex-media-server start'. You can manage your library afterwards by navigating to http://:32400/web/" + einfo "" + + ewarn "Please note, that the URL to the library management has changed from http://:32400/manage to http://:32400/web!" + ewarn "If the new management interface forces you to log into myPlex and afterwards gives you an error that you need to be a plex-pass subscriber please delete the folder WebClient.bundle inside the Plug-Ins folder found in your library!" +}