summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-11-04 22:20:00 +0100
committerlado <herrlado@gmail.com>2011-11-04 22:20:00 +0100
commit046abb0fc8343c50b3009304f3b636d812af473e (patch)
treea31ea77d6c5ba75673a6f6f48c33477ea9fbbb3a
parentf7b1a915c0e3350138c629792114c77db6f69fb9 (diff)
downloadvdr-manager-046abb0fc8343c50b3009304f3b636d812af473e.tar.gz
vdr-manager-046abb0fc8343c50b3009304f3b636d812af473e.tar.bz2
MichaeL's 9999 ebuild
-rw-r--r--ebuilds/vdr-vdrmanager-9999.ebuild39
1 files changed, 32 insertions, 7 deletions
diff --git a/ebuilds/vdr-vdrmanager-9999.ebuild b/ebuilds/vdr-vdrmanager-9999.ebuild
index cd32c7b..c3c0f12 100644
--- a/ebuilds/vdr-vdrmanager-9999.ebuild
+++ b/ebuilds/vdr-vdrmanager-9999.ebuild
@@ -1,20 +1,45 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# $Header:
-IUSE=""
+EAPI=2
inherit vdr-plugin git-2
-DESCRIPTION="Helper plugin for the VDR-Manager android vdr control app"
-HOMEPAGE="http://projects.vdr-developer.org/projects/vdr-manager/wiki"
-#SRC_URI="http://projects.vdr-developer.org/attachments/download/574/${P}.tgz"
-S="${WORKDIR}/vdr-vdrmanager-0.2"
EGIT_REPO_URI="git://projects.vdr-developer.org/vdr-manager.git"
-KEYWORDS="~x86 ~amd64"
+DESCRIPTION="Helper plugin for the VDR-Manager android vdr control app"
+HOMEPAGE="http://projects.vdr-developer.org/wiki/androvdr"
SLOT="0"
LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
DEPEND=">=media-video/vdr-1.6.0"
+S=${WORKDIR}/${P}
+
RESTRICT=strip
+
+src_unpack() {
+ git-2_src_unpack
+ S=${WORKDIR}/${P}/${PN}
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /etc/conf.d
+ newins examples/vdr.vdrmanager vdr.vdrmanager
+ fperms 600 /etc/conf.d/vdr.vdrmanager
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "You should change the default password \"change\" in /etc/conf.d/vdr.vdrmanager"
+ ewarn
+ ewarn "If you want to stream from your VDR to your android device, you need to install"
+ ewarn "vdr-streamdev with USE=\"server\" set"
+ ewarn
+}
+