summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2007-12-23 22:05:10 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2007-12-23 22:05:10 +0000
commit518cfcbec3309c28ecac78f7724b943e0fe8cb33 (patch)
tree3120a137fbd6d195b65a124c62cae1847db7f63f /media-plugins
parentversion bump (diff)
downloadhistorical-518cfcbec3309c28ecac78f7724b943e0fe8cb33.tar.gz
historical-518cfcbec3309c28ecac78f7724b943e0fe8cb33.tar.bz2
historical-518cfcbec3309c28ecac78f7724b943e0fe8cb33.zip
initial ebuild, find older versions on overlay vdr-testing; Thanks to T.Kost, T.Dressler, S.Grebe for testing on graphtft-fe part
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-graphtft/ChangeLog13
-rw-r--r--media-plugins/vdr-graphtft/Manifest44
-rw-r--r--media-plugins/vdr-graphtft/files/confd55
-rw-r--r--media-plugins/vdr-graphtft/files/digest-vdr-graphtft-0.1.16_alpha6
-rw-r--r--media-plugins/vdr-graphtft/files/graphtft-fe33
-rw-r--r--media-plugins/vdr-graphtft/files/rc-addon.sh12
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.1.16_alpha-gentoo.diff99
-rw-r--r--media-plugins/vdr-graphtft/metadata.xml9
-rw-r--r--media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild98
9 files changed, 369 insertions, 0 deletions
diff --git a/media-plugins/vdr-graphtft/ChangeLog b/media-plugins/vdr-graphtft/ChangeLog
new file mode 100644
index 000000000000..10885847bcaf
--- /dev/null
+++ b/media-plugins/vdr-graphtft/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for media-plugins/vdr-graphtft
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.1 2007/12/23 22:05:09 hd_brummy Exp $
+
+*vdr-graphtft-0.1.16_alpha (23 Dec 2007)
+
+ 23 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-graphtft-0.1.16_alpha-gentoo.diff, +files/confd,
+ +files/graphtft-fe, +files/rc-addon.sh, +metadata.xml,
+ +vdr-graphtft-0.1.16_alpha.ebuild:
+ initial ebuild, find older versions on overlay vdr-testing; Thanks to
+ T.Kost, T.Dressler, S.Grebe for testing on graphtft-fe part
+
diff --git a/media-plugins/vdr-graphtft/Manifest b/media-plugins/vdr-graphtft/Manifest
new file mode 100644
index 000000000000..5ae5212fdab1
--- /dev/null
+++ b/media-plugins/vdr-graphtft/Manifest
@@ -0,0 +1,44 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX confd 1233 RMD160 7b0183644d7ff2f2c0488ec10190e40afc11dab3 SHA1 803cf52c0b13cc2b110f8c8706f8fda15bd532a7 SHA256 2ddbe4e535d7f18a002df6760b41f9c24a4cb95695480a210d148bc046582063
+MD5 0a908e7b170dfbcdc8994d9cd605fdc0 files/confd 1233
+RMD160 7b0183644d7ff2f2c0488ec10190e40afc11dab3 files/confd 1233
+SHA256 2ddbe4e535d7f18a002df6760b41f9c24a4cb95695480a210d148bc046582063 files/confd 1233
+AUX graphtft-fe 995 RMD160 669a22a7bd3d5d7efdf7468f2f1692d118b77a09 SHA1 722a35ee6c93632d669e789897eaed2b48baec41 SHA256 1f97afe93133b38e0a0679baf7abfa85d532d1908801da1cd1c70e5104338107
+MD5 9b3a9f7fd6ffe440fb17e7dcaae53fa9 files/graphtft-fe 995
+RMD160 669a22a7bd3d5d7efdf7468f2f1692d118b77a09 files/graphtft-fe 995
+SHA256 1f97afe93133b38e0a0679baf7abfa85d532d1908801da1cd1c70e5104338107 files/graphtft-fe 995
+AUX rc-addon.sh 319 RMD160 1d0638b87fa0c352efb6a0dcc4cedb9f45fbb29a SHA1 926fb7e8e104ded4ead49d25d0c2f75f0a0ed73b SHA256 12de96dd173d9de415c016178468b20aa293df3ad75b7eb62ba6fc71737ee585
+MD5 533616ed3e14a5e893583cf663c72203 files/rc-addon.sh 319
+RMD160 1d0638b87fa0c352efb6a0dcc4cedb9f45fbb29a files/rc-addon.sh 319
+SHA256 12de96dd173d9de415c016178468b20aa293df3ad75b7eb62ba6fc71737ee585 files/rc-addon.sh 319
+AUX vdr-graphtft-0.1.16_alpha-gentoo.diff 3460 RMD160 3b262e53a004a986eb0d4d29aad3e38fe0838eeb SHA1 db6308b080bd19549c0dd5ab7c2606a37ea7e8d0 SHA256 c58a38565f2471cfe5f3c99f594393555a4c340e863a9afe4b417c2c3ba7bf31
+MD5 3c7748f4b964475789633e3ffc5408a1 files/vdr-graphtft-0.1.16_alpha-gentoo.diff 3460
+RMD160 3b262e53a004a986eb0d4d29aad3e38fe0838eeb files/vdr-graphtft-0.1.16_alpha-gentoo.diff 3460
+SHA256 c58a38565f2471cfe5f3c99f594393555a4c340e863a9afe4b417c2c3ba7bf31 files/vdr-graphtft-0.1.16_alpha-gentoo.diff 3460
+DIST DeepBlue-horchi-0.0.6.tar.bz2 1660439 RMD160 8ac510b9a65f8f4becef94519cf77f083709e96e SHA1 108321c1fc2d9e4e4aae650d9b6e842dfd5d6788 SHA256 75ca7ea853ae9fc3a30b656ab0f6599bc09c10d371b76990156ad9491ad2c8ee
+DIST vdr-graphtft-0.1.16.alpha.tar.bz2 234797 RMD160 e5a491b480b37480a9c7574cb74bdc2b14113bbe SHA1 38a0af195c57ab2795ec9d566640018282aced15 SHA256 3ede1f5faeb37add03395a7296fe30ef505eb717c70c2000bfeca383f5b71457
+EBUILD vdr-graphtft-0.1.16_alpha.ebuild 2312 RMD160 29fb9a941c195fe4cb55d204aeadbffcf2755eab SHA1 35f8f36f123c0ba52e58248f9d93db61be624df2 SHA256 9c505faa61990801df80a74f2885d942d6cfee55f37d9ece67066d5e98c384ba
+MD5 044bca5510aae65d4d20aff14f72e439 vdr-graphtft-0.1.16_alpha.ebuild 2312
+RMD160 29fb9a941c195fe4cb55d204aeadbffcf2755eab vdr-graphtft-0.1.16_alpha.ebuild 2312
+SHA256 9c505faa61990801df80a74f2885d942d6cfee55f37d9ece67066d5e98c384ba vdr-graphtft-0.1.16_alpha.ebuild 2312
+MISC ChangeLog 616 RMD160 d65a99e991c2c8f30bb327821b5725c063a366a0 SHA1 6b734e2baa228c48708e7f76cb23f4825c8e7379 SHA256 552c671323337b166c7a79b2ed86e9f48c93d8a88d8d6a83d415606cf796e9b9
+MD5 add59120ccac5091cec37853a85b008f ChangeLog 616
+RMD160 d65a99e991c2c8f30bb327821b5725c063a366a0 ChangeLog 616
+SHA256 552c671323337b166c7a79b2ed86e9f48c93d8a88d8d6a83d415606cf796e9b9 ChangeLog 616
+MISC metadata.xml 262 RMD160 7546813a650c87e871e1803630eec93651cf171b SHA1 50f15b18b32db880cb94fa98480e865252f12e0e SHA256 e50bacec7fb98fb225d1d709825110afe8c6e04960458ec53758da0f067a18ff
+MD5 aff69c6b63a1aa0e15e836941b67f931 metadata.xml 262
+RMD160 7546813a650c87e871e1803630eec93651cf171b metadata.xml 262
+SHA256 e50bacec7fb98fb225d1d709825110afe8c6e04960458ec53758da0f067a18ff metadata.xml 262
+MD5 2c82bddfcbd27ddfcf2b85e206407607 files/digest-vdr-graphtft-0.1.16_alpha 551
+RMD160 fc7fa46e6610f3baa8ef596135d45f85e5e06cd0 files/digest-vdr-graphtft-0.1.16_alpha 551
+SHA256 4649e53c4797352c2569ac7ad3bf5e9236b9cb08cb6778f39c2e3644b99305c3 files/digest-vdr-graphtft-0.1.16_alpha 551
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+Comment: added by hd_brummy@gentoo.org
+
+iD8DBQFHbtuKdn07HTTCgIoRAjxOAJ9tJwlrS37/9MfmCslZrK6ICX8MCgCfdyC1
+BY8uPNpt68HmmCKOnEFl6Ew=
+=o/70
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-graphtft/files/confd b/media-plugins/vdr-graphtft/files/confd
new file mode 100644
index 000000000000..b00c4607e34b
--- /dev/null
+++ b/media-plugins/vdr-graphtft/files/confd
@@ -0,0 +1,55 @@
+# /etc/conf.d/vdr.graphtft
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/files/confd,v 1.1 2007/12/23 22:05:10 hd_brummy Exp $
+
+####### Global config for Graphtft ####################
+
+#
+# set the DIR of the Framebuffer Device
+# allowed values: device_names directFB none
+# default: /dev/fb0
+#GRAPHTFT_DEVICE=/dev/fb0
+
+
+###### Configuration for graphtft-fe ##################
+#
+# set GRAPHTFT_DEVICE="" to none
+
+# set your tft display
+# no default values
+# default: not set, exemple
+#GRAPHTFT_DISPLAY=":0.1"
+
+# switch to user
+# default user root ; depand on your x configuration
+#
+#GRAPHTFT_USER="root"
+
+# set the width of your display
+# allowed values:
+# default: 800
+#GRAPHTFT_SCREEN_WIDTH="800"
+
+# set the height of your display
+# allowed values:
+# default: 480
+#GRAPHTFT_SCREEN_HEIGHT="480"
+
+# run output without windowsframe
+# allowed values: yes no
+# default: yes
+#GRAPHTFT_NO_FRAME="yes"
+
+# set the IP to your X Display
+# allowed values: ip address
+# default: localhost IP
+#GRAPHTFT_HOST="127.0.0.1"
+
+# set the port to your X Display
+# allowed values: portnumber
+# default: 2039
+#GRAPHTFT_PORT="2039"
+
+# set the logevel for graphtft-fe
+# allowed values: 0 1 2 3
+# default: 0
+#GRAPHTFT_LOG_LEVEL="0"
diff --git a/media-plugins/vdr-graphtft/files/digest-vdr-graphtft-0.1.16_alpha b/media-plugins/vdr-graphtft/files/digest-vdr-graphtft-0.1.16_alpha
new file mode 100644
index 000000000000..972526146144
--- /dev/null
+++ b/media-plugins/vdr-graphtft/files/digest-vdr-graphtft-0.1.16_alpha
@@ -0,0 +1,6 @@
+MD5 3ae5def775b37f24b196a6e5bcabc43c DeepBlue-horchi-0.0.6.tar.bz2 1660439
+RMD160 8ac510b9a65f8f4becef94519cf77f083709e96e DeepBlue-horchi-0.0.6.tar.bz2 1660439
+SHA256 75ca7ea853ae9fc3a30b656ab0f6599bc09c10d371b76990156ad9491ad2c8ee DeepBlue-horchi-0.0.6.tar.bz2 1660439
+MD5 677103f302335248e57b0c5dc8678531 vdr-graphtft-0.1.16.alpha.tar.bz2 234797
+RMD160 e5a491b480b37480a9c7574cb74bdc2b14113bbe vdr-graphtft-0.1.16.alpha.tar.bz2 234797
+SHA256 3ede1f5faeb37add03395a7296fe30ef505eb717c70c2000bfeca383f5b71457 vdr-graphtft-0.1.16.alpha.tar.bz2 234797
diff --git a/media-plugins/vdr-graphtft/files/graphtft-fe b/media-plugins/vdr-graphtft/files/graphtft-fe
new file mode 100644
index 000000000000..32d6b915f1ce
--- /dev/null
+++ b/media-plugins/vdr-graphtft/files/graphtft-fe
@@ -0,0 +1,33 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+. /etc/conf.d/vdr.graphtft
+
+export DISPLAY=${GRAPHTFT_DISPLAY}
+
+: ${GRAPHTFT_USER:=root}
+
+OPTIONS="-h ${GRAPHTFT_HOST:=127.0.0.1}"
+OPTIONS="${OPTIONS} -p ${GRAPHTFT_PORT:=2039}"
+OPTIONS="${OPTIONS} -e ${GRAPHTFT_LOG_LEVEL:=0}"
+OPTIONS="${OPTIONS} -W ${GRAPHTFT_SCREEN_WIDTH:=800}"
+OPTIONS="${OPTIONS} -H ${GRAPHTFT_SCREEN_HEIGHT:=480}"
+[ "${GRAPHTFT_NO_FRAME}" = "yes" ] && OPTIONS="${OPTIONS} -n"
+[ "${GRAPHTFT_RESIZE_IMAGE}" = "yes" ] && OPTIONS="${OPTIONS} -r"
+
+# -d <file> dump each image to file (default off)
+
+start() {
+ ebegin "starting graphtft-fe ..."
+ start-stop-daemon --make-pidfile --background --pidfile /var/run/graphtft-fe.pid \
+ --chuid ${GRAPHTFT_USER} --start --exec /usr/bin/graphtft-fe -- ${OPTIONS}
+ eend $?
+}
+
+stop() {
+ ebegin "stopping graphtft ..."
+ start-stop-daemon --stop --pidfile /var/run/graphtft-fe.pid
+ eend $?
+}
+
diff --git a/media-plugins/vdr-graphtft/files/rc-addon.sh b/media-plugins/vdr-graphtft/files/rc-addon.sh
new file mode 100644
index 000000000000..0d191ca637a0
--- /dev/null
+++ b/media-plugins/vdr-graphtft/files/rc-addon.sh
@@ -0,0 +1,12 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/files/rc-addon.sh,v 1.1 2007/12/23 22:05:10 hd_brummy Exp $
+#
+# rc-addon-script for plugin graphtft & graphtft-fe
+#
+# Joerg Bornkessel <hd_brummy@g.o>
+
+plugin_pre_vdr_start() {
+
+ : ${GRAPHTFT_DEVICE:=/dev/fb0}
+
+ add_plugin_param "-d ${GRAPHTFT_DEVICE}"
+}
diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.1.16_alpha-gentoo.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.1.16_alpha-gentoo.diff
new file mode 100644
index 000000000000..118d23cf582e
--- /dev/null
+++ b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.1.16_alpha-gentoo.diff
@@ -0,0 +1,99 @@
+diff -Naur graphtft-0.1.16.alpha.orig/dfbrenderer/dfbrenderer.c graphtft-0.1.16.alpha/dfbrenderer/dfbrenderer.c
+--- graphtft-0.1.16.alpha.orig/dfbrenderer/dfbrenderer.c 2007-12-12 20:15:39.223026383 +0100
++++ graphtft-0.1.16.alpha/dfbrenderer/dfbrenderer.c 2007-12-12 20:17:01.430709769 +0100
+@@ -333,7 +333,7 @@
+ else
+ {
+ const char* tmp = themePath.c_str();
+- asprintf(&fpath, "%s/graphTFT/themes/%s/%s", confPath.c_str(), tmp, fname);
++ asprintf(&fpath, "%s/themes/%s/%s", confPath.c_str(), tmp, fname);
+ }
+
+ tell(4,"creating imageprovider for %s\n", fpath);
+@@ -383,7 +383,7 @@
+
+ if (!fontCache.Contains(FontFaceSize(fontName, fontSize)))
+ {
+- asprintf(&fpath, "%s/graphTFT/fonts/%s.ttf", confPath.c_str(), fontName);
++ asprintf(&fpath, "%s/fonts/%s.ttf", confPath.c_str(), fontName);
+
+ tell(4,"creating font for %s\n", fpath);
+
+@@ -444,7 +444,7 @@
+
+ if (!fontCache.Contains(FontFaceSize(font_name, size)))
+ {
+- asprintf(&fpath, "%s/graphTFT/fonts/%s.ttf", confPath.c_str(), font_name);
++ asprintf(&fpath, "%s/fonts/%s.ttf", confPath.c_str(), font_name);
+
+ tell(4,"creating font for %s\n", fpath);
+
+diff -Naur graphtft-0.1.16.alpha.orig/graphtft.c graphtft-0.1.16.alpha/graphtft.c
+--- graphtft-0.1.16.alpha.orig/graphtft.c 2007-12-12 20:15:39.246358112 +0100
++++ graphtft-0.1.16.alpha/graphtft.c 2007-12-12 20:19:52.292300174 +0100
+@@ -20,6 +20,8 @@
+ #include <graphtft.h>
+ #include <span.h>
+
++#define DATA_DIR "/usr/share/vdr/graphTFT"
++
+ //***************************************************************************
+ // cGraphTFTMenu
+ //***************************************************************************
+@@ -255,14 +257,7 @@
+
+ #endif
+
+- // try to get the config dir
+-
+- if (!ConfigDirectory())
+- return false;
+-
+- // init
+-
+- GraphTFTSetup.PluginConfPath = strdup(ConfigDirectory());
++ GraphTFTSetup.PluginConfPath = strdup(DATA_DIR);
+
+ #if APIVERSNUM < 10507
+ RegisterI18n(Phrases);
+@@ -278,7 +273,7 @@
+ if (loadThemes() != 0)
+ return false;
+
+- return display->Init(_dev, ConfigDirectory(), port);
++ return display->Init(_dev, DATA_DIR, port);
+ }
+
+ //***************************************************************************
+@@ -294,8 +289,8 @@
+
+ // look for the themes in the config directory
+
+- asprintf(&buffer, "find %s/graphTFT/themes -follow -type f -name '*.theme' | sort",
+- ConfigDirectory());
++ asprintf(&buffer, "find %s/themes -follow -type f -name '*.theme' | sort",
++ DATA_DIR);
+
+ p = popen(buffer, "r");
+
+diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/imlibrenderer.c graphtft-0.1.16.alpha/imlibrenderer/imlibrenderer.c
+--- graphtft-0.1.16.alpha.orig/imlibrenderer/imlibrenderer.c 2007-12-12 20:15:39.369682970 +0100
++++ graphtft-0.1.16.alpha/imlibrenderer/imlibrenderer.c 2007-12-12 20:20:35.006031224 +0100
+@@ -53,7 +53,7 @@
+
+ // font
+
+- std::ostringstream path; path << confPath.c_str() << "/graphTFT/fonts/";
++ std::ostringstream path; path << confPath.c_str() << "/fonts/";
+ imlib_add_path_to_font_path(path.str().c_str());
+
+ // new image
+@@ -134,7 +134,7 @@
+ if (fname[0] == '/')
+ path << fname;
+ else
+- path << confPath << "/graphTFT/themes/" << themePath << "/" << fname;
++ path << confPath << "/themes/" << themePath << "/" << fname;
+
+ new_image = imlib_load_image(path.str().c_str());
+
diff --git a/media-plugins/vdr-graphtft/metadata.xml b/media-plugins/vdr-graphtft/metadata.xml
new file mode 100644
index 000000000000..94d2eca26f15
--- /dev/null
+++ b/media-plugins/vdr-graphtft/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+ <maintainer>
+ <email>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild
new file mode 100644
index 000000000000..80bf14a53fd7
--- /dev/null
+++ b/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild,v 1.1 2007/12/23 22:05:09 hd_brummy Exp $
+
+MY_PV="${PV/_alpha/.alpha}"
+MY_P="${PN}-${MY_PV}"
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR plugin: GraphTFT"
+HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin (german)"
+SRC_URI="http://www.jwendel.de/vdr/${MY_P}.tar.bz2
+ http://www.jwendel.de/vdr/DeepBlue-horchi-0.0.6.tar.bz2"
+
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+LICENSE="GPL-2 LGPL-2.1"
+IUSE="directfb graphtft-fe"
+
+DEPEND=">=media-video/vdr-1.4.7-r9
+ media-fonts/ttf-bitstream-vera
+ media-libs/imlib2
+ media-gfx/imagemagick
+ gnome-base/libgtop
+ >=media-video/ffmpeg-0.4.8
+ directfb? ( dev-libs/DirectFB )
+ graphtft-fe? ( x11-libs/qt )"
+
+PATCHES="${FILESDIR}/${P}-gentoo.diff"
+
+S="${WORKDIR}/graphtft-${MY_PV}"
+
+pkg_setup() {
+ vdr-plugin_pkg_setup
+
+ if ! built_with_use media-video/vdr graphtft; then
+ echo
+ eerror "Please recompile VDR with USE=\"graphtft\""
+ die "Unpached VDR found"
+ echo
+ fi
+}
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ sed -i "${WORKDIR}"/DeepBlue/DeepBlue.theme -e "s:Enigma:Vera:"
+ sed -i Makefile -e "s:WITH_X_COMM = 1:#WITH_X_COMM = 1:"
+ sed -i common.h -e "s:void tell:int tell:"
+ sed -i common.c -e "s:void tell:int tell:"
+
+ if has_version ">=media-video/ffmpeg-0.4.9_p20070525" ; then
+ sed -i Makefile -e "s:#HAVE_SWSCALE:HAVE_SWSCALE:"
+ fi
+
+ use directfb && sed -i Makefile \
+ -e "s:#HAVE_DFB = 1:HAVE_DFB = 1:"
+
+ use graphtft-fe && sed -i Makefile \
+ -e "s:#WITH_X_COMM:WITH_X_COMM:"
+}
+
+src_compile() {
+ vdr-plugin_src_compile
+
+ if use graphtft-fe; then
+ cd "${S}"/graphtft-fe
+ sed -i build.sh -e "s:qmake-qt4:qmake:"
+ ./clean.sh
+ ./build.sh || die "build.sh failed"
+ fi
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /usr/share/vdr/graphTFT/themes/DeepBlue/
+ doins -r "${WORKDIR}"/DeepBlue/*
+
+ dosym /usr/share/fonts/ttf-bitstream-vera /usr/share/vdr/graphTFT/fonts
+
+ dodoc "${S}"/documents/*
+
+ if use graphtft-fe; then
+ cd "${S}"/graphtft-fe && dobin graphtft-fe
+ doinit graphtft-fe
+ fi
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ echo
+ elog "Graphtft-fe user:"
+ elog "Edit /etc/conf.d/vdr.graphtft"
+ elog "/etc/init.d/graphtft-fe start"
+ echo
+}