summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2012-10-31 20:02:45 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2012-10-31 20:02:45 +0000
commitac4656500ddc32dff752441710a5f34a5ac74c86 (patch)
tree452bebc64f7e3d9e35eebce0ec33195e423d8f12
parentInterim solution to block net-libs/libproxy[spidermonkey] due to mozjs symbol... (diff)
downloadhistorical-ac4656500ddc32dff752441710a5f34a5ac74c86.tar.gz
historical-ac4656500ddc32dff752441710a5f34a5ac74c86.tar.bz2
historical-ac4656500ddc32dff752441710a5f34a5ac74c86.zip
moved to overlay vdr-devel, need min vdr-1.7.27
Package-Manager: portage-2.1.11.9/cvs/Linux i686
-rw-r--r--media-plugins/vdr-graphtft/ChangeLog8
-rw-r--r--media-plugins/vdr-graphtft/Manifest13
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_gcc-4.4.x.diff22
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_gentoo.diff139
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_makefile.diff67
-rw-r--r--media-plugins/vdr-graphtft/vdr-graphtft-0.3.6.ebuild94
6 files changed, 11 insertions, 332 deletions
diff --git a/media-plugins/vdr-graphtft/ChangeLog b/media-plugins/vdr-graphtft/ChangeLog
index 68327a9156ca..f42355b5a289 100644
--- a/media-plugins/vdr-graphtft/ChangeLog
+++ b/media-plugins/vdr-graphtft/ChangeLog
@@ -1,6 +1,12 @@
# 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.32 2012/10/31 19:23:11 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.33 2012/10/31 20:02:45 hd_brummy Exp $
+
+ 31 Oct 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
+ -vdr-graphtft-0.3.6.ebuild, -files/vdr-graphtft-0.3.6_gcc-4.4.x.diff,
+ -files/vdr-graphtft-0.3.6_gentoo.diff,
+ -files/vdr-graphtft-0.3.6_makefile.diff:
+ moved to overlay vdr-devel, need min vdr-1.7.27
31 Oct 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr-graphtft-0.3.6.ebuild:
diff --git a/media-plugins/vdr-graphtft/Manifest b/media-plugins/vdr-graphtft/Manifest
index c301bbb38ff0..5f153d29d320 100644
--- a/media-plugins/vdr-graphtft/Manifest
+++ b/media-plugins/vdr-graphtft/Manifest
@@ -12,22 +12,17 @@ AUX vdr-graphtft-0.3.2.24_makefile.diff 2202 SHA256 76ea0ceb3967c9c83a299c423114
AUX vdr-graphtft-0.3.4_gcc-4.4.x.diff 764 SHA256 eef74d7d0c866aa22f2755ba850d2b2f5fb6739f7d9d1a09850dedc324948545 SHA512 bff4b655a4eeee4c4ecdf0f5e4efc259bd2e740a4ee64b8536ad668b2e1be5b607279173c01b1dc36a0636011d0d774fd3b3f28a40efa779efb342ef2c081619 WHIRLPOOL 341838fdbf4519a14a7315249669f20bb02acd0a13633a0fdb7b27f5f14cac40c8bdc42658d2f6be0747ecc0ba12ee659bc4d6cc9d9f07f27e502df099f0471e
AUX vdr-graphtft-0.3.4_gentoo.diff 4673 SHA256 a4da681ef44faa45cb6a4b5657443dee90a6f0707fd9d263c2062e5ba4f266b0 SHA512 1828a1e463eef00eb0097188988b8ab620c766b27c44fbfedbd4209d1c668b6c6e6b0b86c4d16c485fdc5e16300e2c03c323f6dc2e941c9338e5a866b6d47a6a WHIRLPOOL fb89ee44a3bd2ca116da5b58d4fdd8614b995b8e0dde58d8fc4c76010cd0cab24757dfbd387d607d4e731da0213608b1cfbf02e8d6d03b3a4cb3568fda44f046
AUX vdr-graphtft-0.3.4_vdr-1.7.26_ChannelSwitch.patch 1478 SHA256 c3b8d97bfe7497ba73602009640624f2be573f159b913ad238ada0b3aff4a48c SHA512 3db33a9302b12b05c42509da11a8ad05c31af4ded965f31c62494217220a3c99ad266788d5ffc33a24d196a9b1ecaef7ad7ef184110804ab3963f89578c5c598 WHIRLPOOL 7f6b966c854aa31f209084b070b5229aeb43f3fc6ed22ddd217d17606e6dab50fdeaa96947443fca785170bc4bbd4a2c0d0b526148f3acd8a9f7cf6671a25538
-AUX vdr-graphtft-0.3.6_gcc-4.4.x.diff 764 SHA256 eef74d7d0c866aa22f2755ba850d2b2f5fb6739f7d9d1a09850dedc324948545 SHA512 bff4b655a4eeee4c4ecdf0f5e4efc259bd2e740a4ee64b8536ad668b2e1be5b607279173c01b1dc36a0636011d0d774fd3b3f28a40efa779efb342ef2c081619 WHIRLPOOL 341838fdbf4519a14a7315249669f20bb02acd0a13633a0fdb7b27f5f14cac40c8bdc42658d2f6be0747ecc0ba12ee659bc4d6cc9d9f07f27e502df099f0471e
-AUX vdr-graphtft-0.3.6_gentoo.diff 4673 SHA256 a4da681ef44faa45cb6a4b5657443dee90a6f0707fd9d263c2062e5ba4f266b0 SHA512 1828a1e463eef00eb0097188988b8ab620c766b27c44fbfedbd4209d1c668b6c6e6b0b86c4d16c485fdc5e16300e2c03c323f6dc2e941c9338e5a866b6d47a6a WHIRLPOOL fb89ee44a3bd2ca116da5b58d4fdd8614b995b8e0dde58d8fc4c76010cd0cab24757dfbd387d607d4e731da0213608b1cfbf02e8d6d03b3a4cb3568fda44f046
-AUX vdr-graphtft-0.3.6_makefile.diff 2202 SHA256 76ea0ceb3967c9c83a299c4231147c57dd1be40cfd390f60456b13ebe56912d0 SHA512 9c8138658a18162436cf80173436c05967c4626decb640d0c304706e30b7771d1784b436dbf281ca934c7fe41b8b1edc102d05bd3d2ddd3875aefe5c33bc2ece WHIRLPOOL 97f8561a1367ce51a8be6ac9b17c1fae391c39f4f24acd9f6d60a966872df3d0155fdf5552f90b8be63a25ab6d9c370011b13f51b752ea4ba07ae55b834511a3
DIST vdr-graphtft-0.3.2.24.tar.bz2 145047 SHA256 86c8432c12b5a8cd8818e2b9e5f326547218bbd89d165895b95d51405b4a72d7
DIST vdr-graphtft-0.3.4.tar.gz 176477 SHA256 e4a6a4ebcce8aad161962a148ecb813609c838e4e9324a605934606dc1d87313 SHA512 37621b0a6ab846d4c823b7d1f13d1b4f3f5181d5949da968086d471e1a877d1b737242e1adee5c290424eb1100db9ebf260a76e7f41080f359a561d800af6f01 WHIRLPOOL 1c7cdd8358124f1c920da0261d79269240393ebb9b61d50e0cc99c37a220389971c7965cafd4191e3221c7dc56aef382537c5a61464c3ce2d879a87ec476528d
-DIST vdr-graphtft-0.3.6.tar.bz2 153320 SHA256 43d2b7579e90ef69c451d10b70f57a71a3ef6c13d894258981f785049392c4fc SHA512 0409b9cc62747bebcbe056afc1d632e6c5a4d11cec691a63154bb3ddfd506502577c76fda797a3b707b5f4285e0da604164dff14f782f25800bc8562736ac3b2 WHIRLPOOL a45c86445435a069753de0e5471781344f7aa8aaa61975f0c3b27c8bb05970bc55cd7e6ec1ea45810ffbbdc6f45eaa2a503ce808d620003847014e8cc6d2a8f0
EBUILD vdr-graphtft-0.3.2.24.ebuild 2383 SHA256 68ec5c3af45e9065fe3958051f31a12a410858350dcf8ffb96331b95425590cf SHA512 0b45a87460e362af461f8395358b2fc6ece1f07528f88b604e9cb1c2a959a68f3c556b80c40cfe0460b9f2c9747e6863f5aa72ab8be9876c2b03da77a6c81623 WHIRLPOOL e3a0b436aa3e0fd6f52d38a8f1714524143b96bef3677a523eb0a7a7b7b84dfa659f2c916c00b3fa78109f1d937b58811f1bd47e805360d14c57edff15b2fb94
EBUILD vdr-graphtft-0.3.4.ebuild 2479 SHA256 e6454f53a823b3bd12419ef839fdd3e0aaf8777918c8bd66ca5ff4c0a1a1a585 SHA512 6e11482e7b13d404d8c13422296566bd357d0f2f005103900b34d6f3a26011e82690876418060129a365bbb25059b2a8464df2fce6ee1cbaa71ec51b20bc4630 WHIRLPOOL c2953aefef6f592190253fb6a40d51b5efaebf0571440af2ed2d30f6ad0fc4b26cc63d4d1d17f83a8b06fbf00eea0c6456c966398fee31dba25b1a80f3e66643
-EBUILD vdr-graphtft-0.3.6.ebuild 2327 SHA256 9f00d8c66cf764cdde0e2b2fc19de32673143df97d04eb4363f74a14bdad4ed1 SHA512 8a03731b24daaf6e923dfdb2ace79a344cf5894bb2958f28acb4b3d1b0b6e26491063d7e116c641a7772766e8c59c5976fd28779cf1d4403b733d577630b71d0 WHIRLPOOL 95e2cf689a60563470012ab8bdeca710483cb88d0c61b30a02bb8baf23fbba0d576832964d2774119da510a88c1d1edb03575419d867a703b4c900881a18c4fc
-MISC ChangeLog 7376 SHA256 4f7e02c3e934d1c2d216535770663e790a23eb5913d205bd1b32859c71e315cb SHA512 f7af6137cca2722f4a60edaa77d3dee892404453af2b8b9cbe350df0b3db55632eb76630e7bfb68942806e15200b905799e7afcece2d93cb3b981bf5f9dba2ca WHIRLPOOL ac87ceb3f86740fab555f3cdb4aa00267d3a6a0af8b809bd9ca5a8ad876e59ef41163a7b6ae50c3a4dfe310d89ba084d833f0a72ae70e59dff504441a92cb97d
+MISC ChangeLog 7638 SHA256 bdf416e82c7a6583f1054f935b4b8b924c716035ab77db5c28c725ffe45a6336 SHA512 552776af82049c2f9f016813698273039a98e551d500207aebbe103b1d707585d4eac62b9ae057582c3fbc05269f1819d4dbb4a12d8a460505250f9a1b358ed0 WHIRLPOOL b74680d664aec1aa7a41047fef9712e5fec150bb6fe6f2e85857c38cb807be60763d2131d8b9931f992488afad4880117bd479b8c2e79836daf553e18d081d66
MISC metadata.xml 659 SHA256 305a976d2549db15f2261c7415fd81a8d06ec93956cd10ed271096c7cf9ad5bb SHA512 409b810a9cd79f1fad18e02a01638180cdab8ea15297aef83cefe21fdb4ffdf263162d13abec47890034410b64991e190edbbeb114ef429b371ec9db829d8749 WHIRLPOOL 270ca6768ffb51dba563da5b134ec126192d272e55441d3ad200a0b7acbf3fd71708a68ecfb24702f93ef2a24a7aa14eb2402c65475d7b46056ee27d1b62b2d1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: added by hd_brummy@gentoo.org
-iD8DBQFQkXwmdn07HTTCgIoRCK4EAKCWD6R+XGEy72P0sJYSbnnXkfQDowCgokOi
-Ew1Cjgrku4V7EiXF+3CwCug=
-=skJ6
+iD8DBQFQkYQ2dn07HTTCgIoRCClzAKCWAgU7vvXL3QPAFH7KJo0VzPyhsACfQAbO
+kBdHeXPTlA49t4eUX1lYOy4=
+=CI3h
-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_gcc-4.4.x.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_gcc-4.4.x.diff
deleted file mode 100644
index 4e32c187ac10..000000000000
--- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_gcc-4.4.x.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur graphtft-30.orig/graphtft-fe/common.cc graphtft-30/graphtft-fe/common.cc
---- graphtft-30.orig/graphtft-fe/common.cc 2012-03-12 02:10:38.000000000 +0100
-+++ graphtft-30/graphtft-fe/common.cc 2012-03-12 02:30:16.000000000 +0100
-@@ -11,6 +11,7 @@
- #include <time.h>
- #include <stdio.h>
- #include <string.h>
-+#include <stdint.h>
-
- #include <graphtft.hpp>
-
-diff -Naur graphtft-30.orig/graphtft-fe/graphtft.hpp graphtft-30/graphtft-fe/graphtft.hpp
---- graphtft-30.orig/graphtft-fe/graphtft.hpp 2012-03-12 02:10:38.000000000 +0100
-+++ graphtft-30/graphtft-fe/graphtft.hpp 2012-03-12 02:30:57.000000000 +0100
-@@ -16,6 +16,7 @@
- #include <X11/Xlib.h>
- #include <Imlib2.h>
- #include <string.h>
-+#include <stdint.h>
-
- #define __FRONTEND
- #include <../common.h>
diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_gentoo.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_gentoo.diff
deleted file mode 100644
index ea0e7ad3d748..000000000000
--- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_gentoo.diff
+++ /dev/null
@@ -1,139 +0,0 @@
-diff -Naur graphtft-30.orig/dfbrenderer/dfbrenderer.c graphtft-30/dfbrenderer/dfbrenderer.c
---- graphtft-30.orig/dfbrenderer/dfbrenderer.c 2012-03-12 03:27:38.000000000 +0100
-+++ graphtft-30/dfbrenderer/dfbrenderer.c 2012-03-12 03:29:35.000000000 +0100
-@@ -257,7 +257,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
-@@ -281,7 +281,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);
-@@ -483,7 +483,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", fpath);
-@@ -561,7 +561,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", fpath);
-diff -Naur graphtft-30.orig/dspitems.c graphtft-30/dspitems.c
---- graphtft-30.orig/dspitems.c 2012-03-12 03:27:38.000000000 +0100
-+++ graphtft-30/dspitems.c 2012-03-12 03:30:16.000000000 +0100
-@@ -107,7 +107,7 @@
- if (p[0] != '/')
- {
- p = string(GraphTFTSetup.PluginConfPath)
-- + "/graphTFT/themes/"
-+ + "/themes/"
- + string(Thms::theTheme->getDir())
- + "/" + p;
- }
-diff -Naur graphtft-30.orig/graphtft.c graphtft-30/graphtft.c
---- graphtft-30.orig/graphtft.c 2012-03-12 03:27:38.000000000 +0100
-+++ graphtft-30/graphtft.c 2012-03-12 03:32:48.000000000 +0100
-@@ -22,6 +22,8 @@
- #include <graphtft.h>
- #include <span.h>
-
-+#define DATA_DIR "/usr/share/vdr/graphTFT"
-+
- //***************************************************************************
- // cGraphTFTMenu
- //***************************************************************************
-@@ -300,13 +302,13 @@
-
- // try to get the config dir
-
-- if (!ConfigDirectory())
-- return false;
-+// if (!ConfigDirectory())
-+// return false;
-
- // init
-
- GraphTFTSetup.setClient(this);
-- GraphTFTSetup.PluginConfPath = strdup(ConfigDirectory());
-+ GraphTFTSetup.PluginConfPath = strdup(DATA_DIR);
-
- #if APIVERSNUM < 10507
- RegisterI18n(Phrases);
-@@ -322,7 +324,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!");
-
-@@ -355,8 +357,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-30.orig/imlibrenderer/imlibrenderer.c graphtft-30/imlibrenderer/imlibrenderer.c
---- graphtft-30.orig/imlibrenderer/imlibrenderer.c 2012-03-12 03:27:38.000000000 +0100
-+++ graphtft-30/imlibrenderer/imlibrenderer.c 2012-03-12 03:33:54.000000000 +0100
-@@ -123,7 +123,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
-@@ -146,7 +146,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);
-@@ -217,7 +217,7 @@
- if (fname[0] == '/')
- path << fname;
- else
-- path << confPath << "/graphTFT/themes/" << themePath << "/" << fname;
-+ path << confPath << "/themes/" << themePath << "/" << fname;
-
- if (!fileExists(path.str().c_str()))
- {
-@@ -291,7 +291,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/files/vdr-graphtft-0.3.6_makefile.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_makefile.diff
deleted file mode 100644
index f638be630069..000000000000
--- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.6_makefile.diff
+++ /dev/null
@@ -1,67 +0,0 @@
-Joerg Bornkessel <hd_brummy@g.o> 22 Okt 2009
-Matthias Schwarzott <zzam@g.o> 23 Okt 2009
-diff -Naur graphtft-24.orig/Makefile graphtft-24/Makefile
---- graphtft-24.orig/Makefile 2009-10-21 21:53:56.000000000 +0200
-+++ graphtft-24/Makefile 2009-10-21 21:57:24.000000000 +0200
-@@ -158,10 +158,10 @@
- DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
-
- ifdef HAVE_IMLIB
-- LIBS += `imlib2-config --libs`
-+ LIBS += $(shell imlib2-config --libs)
-
- ifdef HAVE_IMAGE_MAGICK
-- LIBS += `Magick++-config --libs`
-+ LIBS += $(shell Magick++-config --libs)
- DEFINES += -DHAVE_IMAGE_MAGICK
- endif
-
-@@ -170,8 +170,8 @@
- endif
-
- ifdef HAVE_GTOP
-- GTOP_INC = `pkg-config libgtop-2.0 --cflags`
-- GTOP_LIB = `pkg-config libgtop-2.0 --libs`
-+ GTOP_INC = $(shell pkg-config libgtop-2.0 --cflags)
-+ GTOP_LIB = $(shell pkg-config libgtop-2.0 --libs)
-
- DEFINES += -DWITH_SYSINFO
- LIBS += $(GTOP_LIB)
-@@ -186,8 +186,8 @@
- endif
-
- ifdef HAVE_DFB
-- INCLUDES += `directfb-config --cflags`
-- LIBS += `directfb-config --libs`
-+ INCLUDES += $(shell directfb-config --cflags)
-+ LIBS += $(shell directfb-config --libs)
- DEFINES += -DHAVE_DFB
- endif
-
-diff -Naur graphtft-24.orig/graphtft-fe/Makefile graphtft-24/graphtft-fe/Makefile
---- graphtft-24.orig/graphtft-fe/Makefile 2009-10-22 17:39:55.000000000 +0200
-+++ graphtft-24/graphtft-fe/Makefile 2009-10-22 17:41:29.000000000 +0200
-@@ -1,9 +1,9 @@
-
- CXX = g++
- CXXFLAGS = -pipe -ggdb -O2 -Wall -W -D_REENTRANT -fPIC
--INCPATH = -I. `Magick++-config --cppflags`
-+INCPATH = -I. $(shell Magick++-config --cppflags)
- LFLAGS = -Wl,--no-undefined
--LIBS = -lpthread `imlib2-config --libs` `Magick++-config --libs`
-+LIBS = -lpthread $(shell imlib2-config --libs) $(shell Magick++-config --libs)
- AR = ar
-
- TARGET = graphtft-fe
-diff -Naur graphtft-24.orig/graphtft-fe/Makefile graphtft-24/graphtft-fe/Makefile
---- graphtft-24.orig/graphtft-fe/Makefile 2009-10-23 16:20:43.000000000 +0200
-+++ graphtft-24/graphtft-fe/Makefile 2009-10-23 16:21:20.000000000 +0200
-@@ -17,7 +17,7 @@
-
- all:
- echo Build graphTFT Frontend
-- @(make $(TARGET))
-+ @$(MAKE) $(TARGET)
-
-
- $(TARGET): $(OBJECTS)
diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.6.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.6.ebuild
deleted file mode 100644
index a3ae29f0552e..000000000000
--- a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.6.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2012 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.3.6.ebuild,v 1.2 2012/10/31 19:23:11 hd_brummy Exp $
-
-EAPI="4"
-
-inherit vdr-plugin-2 flag-o-matic
-
-RESTRICT="test"
-
-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"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2.1"
-
-IUSE_THEMES="+theme_deepblue theme_avp theme_deeppurple theme_poetter"
-IUSE="${IUSE_THEMES} directfb graphtft-fe imagemagick touchscreen"
-
-DEPEND=">=media-video/vdr-1.6.0_p2-r1[graphtft]
- media-libs/imlib2[png,jpeg]
- gnome-base/libgtop
- >=virtual/ffmpeg-0.4.8_p20090201
- imagemagick? ( media-gfx/imagemagick[png,jpeg,cxx] )
- directfb? ( dev-libs/DirectFB )
- graphtft-fe? ( media-libs/imlib2[png,jpeg,X] )"
-
-RDEPEND="${DEPEND}"
-
-PDEPEND="theme_deepblue? ( =x11-themes/vdrgraphtft-deepblue-0.3.1 )
- theme_avp? ( =x11-themes/vdrgraphtft-avp-0.3.1 )
- theme_deeppurple? ( =x11-themes/vdrgraphtft-deeppurple-0.3.2 )
- theme_poetter? ( =x11-themes/vdrgraphtft-poetter-0.3.2 )"
-
-PATCHES=("${FILESDIR}/${P}_gentoo.diff"
- "${FILESDIR}/${P}_makefile.diff"
- "${FILESDIR}/${P}_gcc-4.4.x.diff")
-
-src_prepare() {
-
- sed -i Makefile -e "s: WITH_X_COMM = 1:#WITH_X_COMM = 1:"
-
- ! use touchscreen && sed -i Makefile \
- -e "s:WITH_TOUCH = 1:#WITH_TOUCH = 1:"
-
- use graphtft-fe && sed -i Makefile \
- -e "s:#WITH_X_COMM:WITH_X_COMM:"
-
- vdr-plugin-2_src_prepare
-
- remove_i18n_include graphtft.h setup.h
-
- # UINT64_C is needed by ffmpeg headers
- append-cxxflags -D__STDC_CONSTANT_MACROS
-
- #backport <vdr-1.7.27, bug 440610
- if has_version "<media-video/vdr-1.7.27"; then
- sed -e "s:Start():start:" -i dspitems.c
- fi
-}
-
-src_compile() {
- vdr-plugin-2_src_compile
-
- if use graphtft-fe; then
- cd "${S}"/graphtft-fe
- emake
- fi
-}
-
-src_install() {
- vdr-plugin-2_src_install
-
- dodoc "${S}"/documents/{README,HISTORY,HOWTO.Themes,INSTALL}
-
- if use graphtft-fe; then
- cd "${S}"/graphtft-fe && dobin graphtft-fe
- doinit graphtft-fe
- fi
-}
-
-pkg_postinst() {
- vdr-plugin-2_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
-}