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

comparison 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
comparison
equal deleted inserted replaced
70:97572feb0266 71:ae7769fd75f1
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $ 3 # $Header: $
4 4
5 EAPI="5" 5 EAPI="5"
6 6
7 inherit eutils user 7 inherit eutils user git-r3
8 8
9 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." 9 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."
10 HOMEPAGE="http://mediabrowser.tv/" 10 HOMEPAGE="http://mediabrowser.tv/"
11 KEYWORDS="-* ~9999" 11 KEYWORDS="-* ~9999"
12 SRC_URI="https://github.com/MediaBrowser/MediaBrowser/archive/master.zip" 12 EGIT_REPO_URI="https://github.com/MediaBrowser/MediaBrowser/"
13 #SRC_URI="https://github.com/gsnerf/MediaBrowser/archive/master.zip" 13 #EGIT_REPO_URI="https://github.com/gsnerf/MediaBrowser/"
14 SLOT="0" 14 SLOT="0"
15 LICENSE="GPL-2" 15 LICENSE="GPL-2"
16 IUSE="" 16 IUSE=""
17 RESTRICT="mirror test" 17 RESTRICT="mirror test"
18 18
20 DEPEND="app-arch/unzip ${RDEPEND}" 20 DEPEND="app-arch/unzip ${RDEPEND}"
21 21
22 INSTALL_DIR="/opt/mediabrowser-server" 22 INSTALL_DIR="/opt/mediabrowser-server"
23 DATA_DIR="/usr/lib/mediabrowser-server" 23 DATA_DIR="/usr/lib/mediabrowser-server"
24 STARTUP_LOG="/var/log/mediabrowser_start.log" 24 STARTUP_LOG="/var/log/mediabrowser_start.log"
25
26 INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server" 25 INIT_SCRIPT="${ROOT}/etc/init.d/mediabrowser-server"
27 26
28 # gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here 27 # gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here
29 src_unpack() { 28 #src_unpack() {
30 unpack ${A} 29 # unpack ${A}
31 mv MediaBrowser-master mediabrowser-server-9999 30 # mv MediaBrowser-master mediabrowser-server-9999
32 } 31 #}
33 32
34 src_compile() { 33 src_compile() {
35 einfo "updating root certificates for mono certificate store" 34 einfo "updating root certificates for mono certificate store"
36 mozroots --import --sync 35 mozroots --import --sync
37 einfo "now actually compile" 36 einfo "now actually compile"