From 2f8db31405fac68eea6f7257d58529243815033b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 30 Apr 2018 21:33:31 +0100 Subject: gentoo resync : 30.04.2018 --- media-plugins/vdr-graphtft/Manifest | 10 -- media-plugins/vdr-graphtft/files/confd | 54 -------- media-plugins/vdr-graphtft/files/graphtft-fe | 33 ----- media-plugins/vdr-graphtft/files/rc-addon.sh | 13 -- .../files/vdr-graphtft-0.3.7_gcc-4.4.x.diff | 22 ---- .../files/vdr-graphtft-0.3.7_gentoo.diff | 139 --------------------- .../files/vdr-graphtft-0.3.7_makefile.diff | 67 ---------- media-plugins/vdr-graphtft/metadata.xml | 16 --- .../vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild | 107 ---------------- .../vdr-graphtft/vdr-graphtft-0.3.7.ebuild | 101 --------------- 10 files changed, 562 deletions(-) delete mode 100644 media-plugins/vdr-graphtft/Manifest delete mode 100644 media-plugins/vdr-graphtft/files/confd delete mode 100644 media-plugins/vdr-graphtft/files/graphtft-fe delete mode 100644 media-plugins/vdr-graphtft/files/rc-addon.sh delete mode 100644 media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gcc-4.4.x.diff delete mode 100644 media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff delete mode 100644 media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff delete mode 100644 media-plugins/vdr-graphtft/metadata.xml delete mode 100644 media-plugins/vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild delete mode 100644 media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild (limited to 'media-plugins/vdr-graphtft') diff --git a/media-plugins/vdr-graphtft/Manifest b/media-plugins/vdr-graphtft/Manifest deleted file mode 100644 index ec2c5e3e7c03..000000000000 --- a/media-plugins/vdr-graphtft/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX confd 1117 BLAKE2B 45753da33efe0b148ed5f0568b6fb9e76b410c05cf5d02559f19043a6745bc3d2c808868ea2695fd8ff409cbff3d1e5014cf868b5225810b3a1a17b0014067dd SHA512 16e98702d8488c644b7f278bb0fbaab54fb1cd568dc85d886192b8947a203b7237cd99f6966787dc9abb96f4220930203f3e55faabed751d8e84dbcf587ec80e -AUX graphtft-fe 996 BLAKE2B 69f9f338fcd4f02ef83624a69e201484f2f844f1336fd69a4028624030f79b1a3c0ccde89fc1232110d636d42c698629e4d7ffd319633322e16e0a560e29d2fd SHA512 3d1cecca32d6e34a6f23a16ac5fd2e07ed0f98256933ea4fd4ca944beb0ad75984daa8f5a865b6e3d6f74cd9f8a9af9204ee7d1719b973d908daa49af68115f5 -AUX rc-addon.sh 225 BLAKE2B ed6d93f601f0b1f0393fa4623afc2d924cb2ee51aa50b309c3a16085d16a25b8c2a5258cea80ec410d9161fb960caa7e32a70635d8fa3a99fc3e53713bfde4fb SHA512 96e6226b37fe63b992257ae82970ebd1141477eef20c70d755d28a0c89b540a0a010903793511b249a0cec3e19771b60fb6a279ca1b134f655e6a7c636ff74a6 -AUX vdr-graphtft-0.3.7_gcc-4.4.x.diff 764 BLAKE2B d6c17555315e75c2bb96f13e31ac4d95c93199123d7b2d40ce11cf7c898d89e280b2a5552833d6b08bc653634622097b82ecef92dc1c91bd7e0eef6bc1246ea7 SHA512 bff4b655a4eeee4c4ecdf0f5e4efc259bd2e740a4ee64b8536ad668b2e1be5b607279173c01b1dc36a0636011d0d774fd3b3f28a40efa779efb342ef2c081619 -AUX vdr-graphtft-0.3.7_gentoo.diff 4673 BLAKE2B dc664130ed9d5f0f0380292c0f12e70f794e59fbe549a07c4a1917a1def1257718dd2293e586e0d605af907181f4bb412cbd17cbb91b1f0cf59f785fd3a747e9 SHA512 1828a1e463eef00eb0097188988b8ab620c766b27c44fbfedbd4209d1c668b6c6e6b0b86c4d16c485fdc5e16300e2c03c323f6dc2e941c9338e5a866b6d47a6a -AUX vdr-graphtft-0.3.7_makefile.diff 2202 BLAKE2B 71fe295bf283defd9b6b73177f3a117778b97edf21f53a21f9a29ed8742c597a769d4188ea2b5384c548a2b7f589794499b284c7bad32bb0092ac40b04a89306 SHA512 9c8138658a18162436cf80173436c05967c4626decb640d0c304706e30b7771d1784b436dbf281ca934c7fe41b8b1edc102d05bd3d2ddd3875aefe5c33bc2ece -DIST vdr-graphtft-0.3.7.tar.bz2 147486 BLAKE2B 22766d498cbb4f5bb950e1d74c73a42350c2adb96148dba5622785cdff4a1528451afdd6c839aa3c2de7ea373269620f8ebfc672ded1596032988f1a6685eaff SHA512 9f5d8ea490c95bde42071d5010bf4dd339ee99271f9596d2d14575882f8f4101f0877c52373268a9d04d52be328018b2a7be1685c088742b252de44b9c3a387d -EBUILD vdr-graphtft-0.3.7-r1.ebuild 2701 BLAKE2B 82d8846df757d209aa43e9facbdb8ef16bfd957c26fea1b0ad09452af5fe836d0f3223af189c4690ae5b13cb2f6bfb331fb08cfdc3f78c0bde5c0244eebae270 SHA512 07df98b7de7605b272cf3d6408aa28b7e75c679677909d14a2c86aae3a0d16617e8760ec0d93cdc532ab2e8d77966a01f1caefb1a27514d0c163eeda55a3ab5d -EBUILD vdr-graphtft-0.3.7.ebuild 2505 BLAKE2B acd8848f75f2492097be490cc04860a331b929ee9c5bc0c637b89a86bcff874121b2abc483738e116b4f08a74daa49080ec466c750dd7554b257ab9cc0c9531b SHA512 1d45855912fbf54caec9df0d9b26e107e8f6937d2baef44d87ff85176ad3e27523ab2bae7cd8772cd50b98a7a99d1ace31b25bf1a15de6d15a579adb04d9766d -MISC metadata.xml 646 BLAKE2B 51274ec5c1d62ae28dd88341944f38d54325b54fef50e5fbb0ebfb925b7f7ae619600c095bb63f0ee3260266b8c959ecdd7f1b28f6889cf1e8a32e4818dc9ebb SHA512 39066ebaf80f460712ae210de55e5b5eb67778265f6cf6de2ff11db03ab3d239cf06b7e6d72912c6d98473117cfeb904bf755343218c32aa22af9e12d689ac40 diff --git a/media-plugins/vdr-graphtft/files/confd b/media-plugins/vdr-graphtft/files/confd deleted file mode 100644 index 56d4b4627f12..000000000000 --- a/media-plugins/vdr-graphtft/files/confd +++ /dev/null @@ -1,54 +0,0 @@ -# /etc/conf.d/vdr.graphtft - -####### 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/graphtft-fe b/media-plugins/vdr-graphtft/files/graphtft-fe deleted file mode 100644 index 5803b5728ed9..000000000000 --- a/media-plugins/vdr-graphtft/files/graphtft-fe +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/openrc-run -# 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 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 deleted file mode 100644 index 03fa4efc55be..000000000000 --- a/media-plugins/vdr-graphtft/files/rc-addon.sh +++ /dev/null @@ -1,13 +0,0 @@ -# -# rc-addon-script for plugin graphtft & graphtft-fe -# -# Joerg Bornkessel - -. /etc/conf.d/vdr.graphtft - -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.3.7_gcc-4.4.x.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gcc-4.4.x.diff deleted file mode 100644 index 4e32c187ac10..000000000000 --- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_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 - #include - #include -+#include - - #include - -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 - #include - #include -+#include - - #define __FRONTEND - #include <../common.h> diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff deleted file mode 100644 index ea0e7ad3d748..000000000000 --- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_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 - #include - -+#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.7_makefile.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff deleted file mode 100644 index f638be630069..000000000000 --- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff +++ /dev/null @@ -1,67 +0,0 @@ -Joerg Bornkessel 22 Okt 2009 -Matthias Schwarzott 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/metadata.xml b/media-plugins/vdr-graphtft/metadata.xml deleted file mode 100644 index 572dd1039e77..000000000000 --- a/media-plugins/vdr-graphtft/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - vdr@gentoo.org - Gentoo VDR Project - - - Install external x11 remote frontend - graphTFT Alien vs. Predato theme - graphTFT default theme - graphTFT Deep Purple theme - graphTFT Poetter theme - Enable Touchscreen support - - diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild deleted file mode 100644 index 7a006e12d58a..000000000000 --- a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -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.7.27[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() { - - # remove untranslated Language - rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po - - 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:" - - # libav9 support - sed -i \ - -e 's:avcodec.h>:avcodec.h>\n#include :' \ - imlibrenderer/dvbrenderer/mpeg2encoder.c || die - - # libav10 support, wrt bug 519448 - sed -i \ - -e "s:CODEC_ID_MPEG1VIDEO:AV_CODEC_ID_MPEG1VIDEO:" \ - -e "s:avcodec_alloc_frame:av_frame_alloc:" \ - imlibrenderer/dvbrenderer/mpeg2encoder.c || die - - vdr-plugin-2_src_prepare - - vdr_remove_i18n_include graphtft.h setup.h - - # UINT64_C is needed by ffmpeg headers - append-cxxflags -D__STDC_CONSTANT_MACROS - - if has_version ">=media-video/vdr-1.7.33"; then - sed -i dspitems.c \ - -e "s:int timerMatch = 0:eTimerMatch timerMatch = tmNone:" - 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 -} diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild deleted file mode 100644 index 654ec763257c..000000000000 --- a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -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.7.27[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() { - - # remove untranslated Language - rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po - - 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:" - - # libav9 support - sed -i \ - -e 's:avcodec.h>:avcodec.h>\n#include :' \ - imlibrenderer/dvbrenderer/mpeg2encoder.c || die - - vdr-plugin-2_src_prepare - - vdr_remove_i18n_include graphtft.h setup.h - - # UINT64_C is needed by ffmpeg headers - append-cxxflags -D__STDC_CONSTANT_MACROS - - if has_version ">=media-video/vdr-1.7.33"; then - sed -i dspitems.c \ - -e "s:int timerMatch = 0:eTimerMatch timerMatch = tmNone:" - 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 -} -- cgit v1.2.3