summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-graphtft')
-rw-r--r--media-plugins/vdr-graphtft/ChangeLog9
-rw-r--r--media-plugins/vdr-graphtft/Manifest15
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-avutil50.patch31
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-gcc44.patch15
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-glibc210.patch12
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2_gentoo.diff141
-rw-r--r--media-plugins/vdr-graphtft/vdr-graphtft-0.2.2-r1.ebuild114
7 files changed, 12 insertions, 325 deletions
diff --git a/media-plugins/vdr-graphtft/ChangeLog b/media-plugins/vdr-graphtft/ChangeLog
index 98d8624096f4..e816aa9b0f1d 100644
--- a/media-plugins/vdr-graphtft/ChangeLog
+++ b/media-plugins/vdr-graphtft/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/vdr-graphtft
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.28 2012/03/12 17:22:31 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.29 2012/03/12 17:30:52 hd_brummy Exp $
+
+ 12 Mar 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
+ -vdr-graphtft-0.2.2-r1.ebuild, -files/vdr-graphtft-0.2.2-avutil50.patch,
+ -files/vdr-graphtft-0.2.2-gcc44.patch,
+ -files/vdr-graphtft-0.2.2-glibc210.patch,
+ -files/vdr-graphtft-0.2.2_gentoo.diff:
+ cleanup
*vdr-graphtft-0.3.4 (12 Mar 2012)
diff --git a/media-plugins/vdr-graphtft/Manifest b/media-plugins/vdr-graphtft/Manifest
index 37bbce242319..1c0946339607 100644
--- a/media-plugins/vdr-graphtft/Manifest
+++ b/media-plugins/vdr-graphtft/Manifest
@@ -4,10 +4,6 @@ Hash: SHA1
AUX confd 1233 RMD160 7b0183644d7ff2f2c0488ec10190e40afc11dab3 SHA1 803cf52c0b13cc2b110f8c8706f8fda15bd532a7 SHA256 2ddbe4e535d7f18a002df6760b41f9c24a4cb95695480a210d148bc046582063
AUX graphtft-fe 995 RMD160 669a22a7bd3d5d7efdf7468f2f1692d118b77a09 SHA1 722a35ee6c93632d669e789897eaed2b48baec41 SHA256 1f97afe93133b38e0a0679baf7abfa85d532d1908801da1cd1c70e5104338107
AUX rc-addon.sh 347 RMD160 2590e2083dd556b00d528643829a4bd16cb4eacd SHA1 f3d7599243ac5d468cf1c81a6391b16570f841e7 SHA256 9e0842f058670bfc5af58e2f12a334b31e7741cd3e2f3fb6d1cb5ae8475c3efe
-AUX vdr-graphtft-0.2.2-avutil50.patch 1448 RMD160 d4793d5fb18666876876355ea1355e9ff8c15c54 SHA1 f9a726f5067d4271c539a632b2f3761e2fb10c42 SHA256 1103ff4f6cda1ffd15a7a9e765ca293aef9c6e167ef7b6a1544afd4e424eae34
-AUX vdr-graphtft-0.2.2-gcc44.patch 372 RMD160 6bec1f1b8a927d2dcf3cc3e336d90fb89366708f SHA1 ec9bde73d449620b445dec5a7619f5fece6b78a3 SHA256 510fca8189ad25caddf0f5ab6fb1c0f96eafa80fa76bb394d48d4bec3d6028ee
-AUX vdr-graphtft-0.2.2-glibc210.patch 383 RMD160 ac86a5bee44b14ef588d36470f0476be7cd13199 SHA1 05c0397c610788b1f6c723f9c574392325e10974 SHA256 4bccc54bd40e50e318446ebd71cb9becdc6f144fbd73150e63dac39471932def
-AUX vdr-graphtft-0.2.2_gentoo.diff 4745 RMD160 d12c2534c43dcee008078efed3cea1fe2b28df46 SHA1 7972126b602cebf8838074084574c3e4db547e6c SHA256 096be610a66e32a839fdbcdc974efe8e6c19c854bda89800daa375834d943f7d
AUX vdr-graphtft-0.3.2.24_ffmpeg-0.5.diff 1510 RMD160 6bf209fc3ecdfbd0e398162b1e7cfeebb926ce4a SHA1 bb9e3c0200a9d120846869b57714941fb498ec01 SHA256 5d5274914de62d77ff4fcf5f32a6b12c74be721ce986cd17074c6e1a7947339b
AUX vdr-graphtft-0.3.2.24_gcc-4.4.x.diff 2903 RMD160 c87cb78c744955797231588b49dd883f4a8916b7 SHA1 74add8c610f22cdd91c8521fc26e4e42af4f0b86 SHA256 ef4e8dcecaa103c73b3f50d1e5c2ede2b9306f6dd5c000d84e6d64151c3cc864
AUX vdr-graphtft-0.3.2.24_gentoo.diff 4754 RMD160 57ecff3f499eabf828fe5187238325b43e165eea SHA1 55dad00159b65690220bd337716b4a6a47ca3412 SHA256 d55e03ebe3a1e50b50178be79746ce6db25afde401f7d94de708715df3bb4d68
@@ -15,20 +11,17 @@ AUX vdr-graphtft-0.3.2.24_makefile.diff 2202 RMD160 9c89b2c4a1a6f1511e8185c9b3e8
AUX vdr-graphtft-0.3.4_gcc-4.4.x.diff 764 RMD160 b5b9a73d3842519969b6b53b758913e29264daf5 SHA1 4679f1f217c2296070f8d35e9bbad6877b7f9ac8 SHA256 eef74d7d0c866aa22f2755ba850d2b2f5fb6739f7d9d1a09850dedc324948545
AUX vdr-graphtft-0.3.4_gentoo.diff 4673 RMD160 3446e817f5c38555c46eac0c6103574582249b17 SHA1 103e2bc970f3c2637f36f9d82429b6b3e524c14f SHA256 a4da681ef44faa45cb6a4b5657443dee90a6f0707fd9d263c2062e5ba4f266b0
AUX vdr-graphtft-0.3.4_vdr-1.7.26_ChannelSwitch.patch 1478 RMD160 451fc490e1f8163d9da96290fa9c954f5b6cf68b SHA1 249d8f6cf86c7a4ef5d171bd7c33a7dfbd5bcb49 SHA256 c3b8d97bfe7497ba73602009640624f2be573f159b913ad238ada0b3aff4a48c
-DIST DeepBlue-horchi-0.0.11.tar.bz2 2016781 RMD160 200ee708ffa091eee849965c7604ce6fc30215d5 SHA1 3296ab697f9a30b3d02840b3837be626f9454cb4 SHA256 c8e34591e9d655b6b0fe00ad8c04db9b01955c9d677d918ee27552368c4a74d7
-DIST vdr-graphtft-0.2.2.tar.bz2 155507 RMD160 daf31f493cc440f2345b7a63a69706b8e844a522 SHA1 a2534ad7ffe285c0757bad114f8e1e3af0ddc72d SHA256 ef68a6dda13ce54ec4d6b528b030dc080eeb009f269d8a282cce2b2bf298dbee
DIST vdr-graphtft-0.3.2.24.tar.bz2 145047 RMD160 2c767a7bf0cfa76592499953fe22141073e653ac SHA1 cc80e8b86865ec2547ad8103cac03d4ac7840a9b SHA256 86c8432c12b5a8cd8818e2b9e5f326547218bbd89d165895b95d51405b4a72d7
DIST vdr-graphtft-0.3.4.tar.gz 176477 RMD160 5dcb4d6890cb6e7262dafc2a44a2b33db926d0e8 SHA1 d05647f1256ec07047507fba15645374c3bde06a SHA256 e4a6a4ebcce8aad161962a148ecb813609c838e4e9324a605934606dc1d87313
-EBUILD vdr-graphtft-0.2.2-r1.ebuild 2753 RMD160 e270014dd08a6cf5777f0fcaeac1261c8112c3b6 SHA1 3a04328dea8e5e15ccbab275f0441ffd75aff8e6 SHA256 fe38193c49ed617a377112ef97d98fc7471d3a1400203e0801c0affbfd22aa3f
EBUILD vdr-graphtft-0.3.2.24.ebuild 2383 RMD160 cd7af4a1638b60a81ea5c1504c637de64c60220e SHA1 4dfdd4d1e681fd0cea6b71b1a39304c58ef91dc8 SHA256 68ec5c3af45e9065fe3958051f31a12a410858350dcf8ffb96331b95425590cf
EBUILD vdr-graphtft-0.3.4.ebuild 2386 RMD160 878700d63530e545c6ad65f7aca7de65ebbc17af SHA1 b7218c5ad2936da5e50f7c0716d3fac20c156bd7 SHA256 d268f768be54b84f577d9de426c86caf8cbb7ed9990730b4503b07289ea08145
-MISC ChangeLog 6557 RMD160 b315967cee64a441c4cc985655ed673fbf6cb41a SHA1 51ed2ac0578fece73c73151ee2d8c263ddb36f89 SHA256 263bc46c08dd740c6ff49ff4dd6258cfaaeee70d3fb60822214e8fc981225d5c
+MISC ChangeLog 6824 RMD160 c339ebbaf96d8ec1fbc88671b51ffcec29bd8c7c SHA1 dc79f16d61b63b54c42c34726a27d9fd703ab715 SHA256 018fce9b76f664b6039dfa91ef848f333a444c5b0e663670c02d2ceaf423543d
MISC metadata.xml 659 RMD160 3fd53b58573a60e87e1f2d78f0ec7de700121244 SHA1 85ba547e5e7cf18e3554b372b9c5ffa1e94c2002 SHA256 305a976d2549db15f2261c7415fd81a8d06ec93956cd10ed271096c7cf9ad5bb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: added by hd_brummy@gentoo.org
-iD8DBQFPXjJvdn07HTTCgIoRAjEVAJ4iisS5jk0ghvCvN3IkmLNKMZtI8gCggFM2
-QdEyHDv7jvx/UvHhyqYWFI8=
-=w6x0
+iD8DBQFPXjRhdn07HTTCgIoRAr5wAJ4/x5ONqprdD4/FA2/apaEs1At4OgCgrlfM
+Yuvq1MVeWGC8RQpKrnUonYQ=
+=Gs+K
-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-avutil50.patch b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-avutil50.patch
deleted file mode 100644
index dfec5ab3aee4..000000000000
--- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-avutil50.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index: graphtft-0.2.2/imlibrenderer/dvbrenderer/mpeg2encoder.c
-===================================================================
---- graphtft-0.2.2.orig/imlibrenderer/dvbrenderer/mpeg2encoder.c
-+++ graphtft-0.2.2/imlibrenderer/dvbrenderer/mpeg2encoder.c
-@@ -126,11 +126,11 @@ mpeg_frame mpeg_draw(UINT8* buf)
- int i;
- AVPicture avpsrc;
-
-- avpicture_fill(&avpsrc, buf, PIX_FMT_RGBA32, width, height);
-+ avpicture_fill(&avpsrc, buf, PIX_FMT_RGB32, width, height);
-
- #ifndef HAVE_SWSCALE
-
-- img_convert(&pic, PIX_FMT_YUV420P, &avpsrc, PIX_FMT_RGBA32, width, height);
-+ img_convert(&pic, PIX_FMT_YUV420P, &avpsrc, PIX_FMT_RGB32, width, height);
-
- #else
-
-Index: graphtft-0.2.2/imlibrenderer/fbrenderer/fbrenderer.c
-===================================================================
---- graphtft-0.2.2.orig/imlibrenderer/fbrenderer/fbrenderer.c
-+++ graphtft-0.2.2/imlibrenderer/fbrenderer/fbrenderer.c
-@@ -192,7 +192,7 @@ int FbRenderer::init(int devnum)
-
- switch (fb_vinfo.bits_per_pixel)
- {
-- case 32: tell(4, "fbdevout.c: using 32 bit depth"); fb_type = PIX_FMT_RGBA32; break;
-+ case 32: tell(4, "fbdevout.c: using 32 bit depth"); fb_type = PIX_FMT_RGB32; break;
- case 24: tell(4, "fbdevout.c: using 24 bit depth"); fb_type = PIX_FMT_RGB24; break;
- case 16: tell(4, "fbdevout.c: using 16 bit depth"); fb_type = PIX_FMT_RGB565; break;
- default: tell(4, "fbdevout.c: color depth not supported -> %i bits per pixel",
diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-gcc44.patch b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-gcc44.patch
deleted file mode 100644
index 69b2536d7d3d..000000000000
--- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-gcc44.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -NrU5 graphtft-0.2.2.original/common.h graphtft-0.2.2/common.h
---- graphtft-0.2.2.original/common.h 2009-06-30 19:47:15.000000000 -0600
-+++ graphtft-0.2.2/common.h 2009-06-30 19:49:28.000000000 -0600
-@@ -15,10 +15,11 @@
- #ifndef ___COMMON_H
- #define ___COMMON_H
-
- #include <string>
- #include <iconv.h>
-+#include <stdint.h>
-
- using std::string;
-
- enum TimeConst
- {
diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-glibc210.patch b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-glibc210.patch
deleted file mode 100644
index 231f3989a64e..000000000000
--- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-glibc210.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur graphtft-0.2.2.orig/display.c graphtft-0.2.2/display.c
---- graphtft-0.2.2.orig/display.c 2008-11-01 16:20:50.000000000 +0200
-+++ graphtft-0.2.2/display.c 2009-07-24 21:08:35.000000000 +0300
-@@ -141,7 +141,7 @@
-
- int cGraphTFTDisplay::Init(const char* dev, const char* cfgDir, int port)
- {
-- char* pos = 0;
-+ const char* pos = 0;
- int devnum = na;
-
- #ifdef HAVE_DFB
diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2_gentoo.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2_gentoo.diff
deleted file mode 100644
index ccadb2f007b1..000000000000
--- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2_gentoo.diff
+++ /dev/null
@@ -1,141 +0,0 @@
-# fix some path for gentoo install ( LFH conform )
-# Joerg Bornkessel <hd_brummy@g.o> 24 Mar 2009
-
-diff -Naur graphtft-0.2.2.orig/dfbrenderer/dfbrenderer.c graphtft-0.2.2/dfbrenderer/dfbrenderer.c
---- graphtft-0.2.2.orig/dfbrenderer/dfbrenderer.c 2009-03-24 23:27:27.000000000 +0100
-+++ graphtft-0.2.2/dfbrenderer/dfbrenderer.c 2009-03-24 23:35:19.000000000 +0100
-@@ -231,7 +231,7 @@
- {
- // make path relative to the themes directory
-
-- asprintf(&path, "%s/graphTFT/themes/%s/%s",
-+ asprintf(&path, "%s/themes/%s/%s",
- confPath.c_str(), themePath.c_str(), p.c_str());
- }
- else
-@@ -255,7 +255,7 @@
-
- // at least add the default path
-
-- asprintf(&path, "%s/graphTFT/fonts/", confPath.c_str());
-+ asprintf(&path, "%s/fonts/", confPath.c_str());
- tell(0, "Info: Adding font path '%s'", path);
- fontPaths[count] = path;
- free(path);
-@@ -464,7 +464,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);
-@@ -538,7 +538,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);
-diff -Naur graphtft-0.2.2.orig/dspitems.c graphtft-0.2.2/dspitems.c
---- graphtft-0.2.2.orig/dspitems.c 2009-03-24 23:27:27.000000000 +0100
-+++ graphtft-0.2.2/dspitems.c 2009-03-24 23:31:38.000000000 +0100
-@@ -108,7 +108,7 @@
- if (p[0] != '/')
- {
- p = string(GraphTFTSetup.PluginConfPath)
-- + "/graphTFT/themes/"
-+ + "/themes/"
- + string(Thms::theTheme->getDir())
- + "/" + p;
- }
-diff -Naur graphtft-0.2.2.orig/graphtft.c graphtft-0.2.2/graphtft.c
---- graphtft-0.2.2.orig/graphtft.c 2009-03-24 23:27:27.000000000 +0100
-+++ graphtft-0.2.2/graphtft.c 2009-03-24 23:40:20.000000000 +0100
-@@ -21,6 +21,8 @@
- #include <graphtft.h>
- #include <span.h>
-
-+#define DATA_DIR "/usr/share/vdr/graphTFT"
-+
- //***************************************************************************
- // cGraphTFTMenu
- //***************************************************************************
-@@ -261,14 +263,8 @@
-
- #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);
-@@ -284,7 +280,7 @@
- if (loadThemes() != 0)
- return false;
-
-- if (display->Init(_dev, ConfigDirectory(), port) != success)
-+ if (display->Init(_dev, DATA_DIR, port) != success)
- {
- tell(0, "Error: Initializing graphTFT device faild, aborting!");
-
-@@ -307,8 +303,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.2.2.orig/imlibrenderer/imlibrenderer.c graphtft-0.2.2/imlibrenderer/imlibrenderer.c
---- graphtft-0.2.2.orig/imlibrenderer/imlibrenderer.c 2009-03-24 23:27:27.000000000 +0100
-+++ graphtft-0.2.2/imlibrenderer/imlibrenderer.c 2009-03-24 23:36:06.000000000 +0100
-@@ -107,7 +107,7 @@
- {
- // make path relative to the themes directory
-
-- asprintf(&path, "%s/graphTFT/themes/%s/%s",
-+ asprintf(&path, "%s/themes/%s/%s",
- confPath.c_str(), themePath.c_str(), p.c_str());
- }
- else
-@@ -130,7 +130,7 @@
-
- // at least add the default path
-
-- asprintf(&path, "%s/graphTFT/fonts/", confPath.c_str());
-+ asprintf(&path, "%s/fonts/", confPath.c_str());
- tell(0, "Info: Adding font path '%s'", path);
- imlib_add_path_to_font_path(path);
- free(path);
-@@ -201,7 +201,7 @@
- if (fname[0] == '/')
- path << fname;
- else
-- path << confPath << "/graphTFT/themes/" << themePath << "/" << fname;
-+ path << confPath << "/themes/" << themePath << "/" << fname;
-
- if (!fileExists(path.str().c_str()))
- {
-@@ -273,7 +273,7 @@
- if (fname[0] == '/')
- path << fname;
- else
-- path << confPath << "/graphTFT/themes/" << themePath << "/" << fname;
-+ path << confPath << "/themes/" << themePath << "/" << fname;
-
- if (!fileExists(path.str().c_str()))
- {
diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.2.2-r1.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.2.2-r1.ebuild
deleted file mode 100644
index d1323ad001c3..000000000000
--- a/media-plugins/vdr-graphtft/vdr-graphtft-0.2.2-r1.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2011 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.2.2-r1.ebuild,v 1.7 2011/04/06 17:08:37 idl0r Exp $
-
-EAPI="2"
-
-inherit vdr-plugin
-
-DESCRIPTION="VDR plugin: GraphTFT"
-HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin"
-SRC_URI="http://www.jwendel.de/vdr/${P}.tar.bz2
- http://www.jwendel.de/vdr/DeepBlue-horchi-0.0.11.tar.bz2"
-
-KEYWORDS="~x86 ~amd64"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2.1"
-IUSE="directfb graphtft-fe imagemagick"
-
-DEPEND=">=media-video/vdr-1.6.0_p2-r1[graphtft]
- media-libs/imlib2[png,jpeg]
- imagemagick? ( media-gfx/imagemagick[png] )
- gnome-base/libgtop
- >=virtual/ffmpeg-0.4.8_p20090201
- directfb? ( dev-libs/DirectFB )
- graphtft-fe? ( x11-libs/qt-gui:4
- media-libs/imlib2[png,jpeg,X] )"
-
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}_gentoo.diff"
- "${FILESDIR}/${P}-gcc44.patch"
- "${FILESDIR}/${P}-glibc210.patch"
- "${FILESDIR}/${P}-avutil50.patch" )
-
-extpatch_v_check() {
-
- EXTPATCH_V="`cat /var/db/pkg/media-video/vdr-*/vdr-*.ebuild | grep EXT_V | head -n 1 | cut -c8-9`"
-
- if [ "${EXTPATCH_V}" -lt "65" ]; then
- echo
- eerror "You need an update of vdr with a newer EXTENSIONSPATCH version!"
- eerror "minimal version of Extensionspatch = 65!"
- eerror "graphtft will not work fullfilled"
- echo
- fi
-}
-
-pkg_setup() {
- vdr-plugin_pkg_setup
-
- extpatch_v_check
-}
-
-src_unpack() {
- vdr-plugin_src_unpack
-
- rm -r "${S}"/documents/CVS
-}
-
-src_prepare() {
- sed -i Makefile -e "s: WITH_X_COMM = 1:#WITH_X_COMM = 1:"
-
- use graphtft-fe && sed -e Makefile \
- -i "s:#WITH_X_COMM:WITH_X_COMM:"
-
- vdr-plugin_src_prepare
-
- sed -i "${S}"/imlibrenderer/fbrenderer/fbrenderer.c \
- -i "${S}"/imlibrenderer/dvbrenderer/mpeg2encoder.c \
- -i "${S}"/imlibrenderer/fbrenderer/mpeg2decoder.c \
- -i "${S}"/imlibrenderer/fbrenderer/mpeg2decoder.h \
- -e "s:ffmpeg/avcodec.h:libavcodec/avcodec.h:"
-
- sed -i "${S}"/imlibrenderer/fbrenderer/mpeg2decoder.c \
- -i "${S}"/imlibrenderer/dvbrenderer/mpeg2encoder.c \
- -e "s:ffmpeg/swscale.h:libswscale/swscale.h:"
-}
-
-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/*
-
- 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
-
- if use graphtft-fe; then
- echo
- elog "Graphtft-fe user:"
- elog "Edit /etc/conf.d/vdr.graphtft"
- elog "/etc/init.d/graphtft-fe start"
- echo
- fi
-}