We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

diff media-tv/mediabrowser-server/mediabrowser-server-9999.ebuild @ 71:ae7769fd75f1

[mediabrowser-server] switched dev ebuild to use the git repo instead of the tip archive (gentoo doesn't re-download archives...)
author gsnerf <gsnerf@gsnerf.de>
date Mon, 01 Sep 2014 18:54:03 +0200
parents 97572feb0266
children f336c5c11bfc
line wrap: on
line diff
--- a/media-tv/mediabrowser-server/mediabrowser-server-9999.ebuild	Mon Sep 01 09:13:08 2014 +0200
+++ b/media-tv/mediabrowser-server/mediabrowser-server-9999.ebuild	Mon Sep 01 18:54:03 2014 +0200
@@ -4,13 +4,13 @@
 
 EAPI="5"
 
-inherit eutils user
+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"
-SRC_URI="https://github.com/MediaBrowser/MediaBrowser/archive/master.zip"
-#SRC_URI="https://github.com/gsnerf/MediaBrowser/archive/master.zip"
+EGIT_REPO_URI="https://github.com/MediaBrowser/MediaBrowser/"
+#EGIT_REPO_URI="https://github.com/gsnerf/MediaBrowser/"
 SLOT="0"
 LICENSE="GPL-2"
 IUSE=""
@@ -22,14 +22,13 @@
 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-master mediabrowser-server-9999
-}
+#src_unpack() {
+#	unpack ${A}
+#	mv MediaBrowser-master mediabrowser-server-9999
+#}
 
 src_compile() {
 	einfo "updating root certificates for mono certificate store"