Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-graphtft: ChangeLog vdr-graphtft-0.3.7.ebuild
Date: Sun, 31 Mar 2013 12:25:09
Message-Id: 20130331122505.8DDDC2171E@flycatcher.gentoo.org
1 hd_brummy 13/03/31 12:25:05
2
3 Modified: ChangeLog
4 Added: vdr-graphtft-0.3.7.ebuild
5 Log:
6 bump
7
8 (Portage version: 2.1.11.50/cvs/Linux i686, signed Manifest commit with key 34C2808A)
9
10 Revision Changes Path
11 1.35 media-plugins/vdr-graphtft/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 24 Jan 2013 13:05:14 -0000 1.34
24 +++ ChangeLog 31 Mar 2013 12:25:05 -0000 1.35
25 @@ -1,6 +1,14 @@
26 # ChangeLog for media-plugins/vdr-graphtft
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.34 2013/01/24 13:05:14 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.35 2013/03/31 12:25:05 hd_brummy Exp $
30 +
31 +*vdr-graphtft-0.3.7 (31 Mar 2013)
32 +
33 + 31 Mar 2013; Joerg Bornkessel <hd_brummy@g.o>
34 + +vdr-graphtft-0.3.7.ebuild, +files/vdr-graphtft-0.3.7_gcc-4.4.x.diff,
35 + +files/vdr-graphtft-0.3.7_gentoo.diff,
36 + +files/vdr-graphtft-0.3.7_makefile.diff:
37 + bump
38
39 24 Jan 2013; Alexis Ballier <aballier@g.o> vdr-graphtft-0.3.4.ebuild,
40 +files/vdr-graphtft-0.3.4_ffmpeg-1.patch:
41
42
43
44 1.1 media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild?rev=1.1&content-type=text/plain
48
49 Index: vdr-graphtft-0.3.7.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild,v 1.1 2013/03/31 12:25:05 hd_brummy Exp $
54
55 EAPI="5"
56
57 inherit vdr-plugin-2 flag-o-matic
58
59 RESTRICT="test"
60
61 DESCRIPTION="VDR plugin: GraphTFT"
62 HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin"
63 SRC_URI="http://www.jwendel.de/vdr/${P}.tar.bz2"
64
65 KEYWORDS="~amd64 ~x86"
66 SLOT="0"
67 LICENSE="GPL-2 LGPL-2.1"
68
69 IUSE_THEMES="+theme_deepblue theme_avp theme_deeppurple theme_poetter"
70 IUSE="${IUSE_THEMES} directfb graphtft-fe imagemagick touchscreen"
71
72 DEPEND=">=media-video/vdr-1.7.27[graphtft]
73 media-libs/imlib2[png,jpeg]
74 gnome-base/libgtop
75 >=virtual/ffmpeg-0.4.8_p20090201
76 imagemagick? ( media-gfx/imagemagick[png,jpeg,cxx] )
77 directfb? ( dev-libs/DirectFB )
78 graphtft-fe? ( media-libs/imlib2[png,jpeg,X] )"
79
80 RDEPEND="${DEPEND}"
81
82 PDEPEND="theme_deepblue? ( =x11-themes/vdrgraphtft-deepblue-0.3.1 )
83 theme_avp? ( =x11-themes/vdrgraphtft-avp-0.3.1 )
84 theme_deeppurple? ( =x11-themes/vdrgraphtft-deeppurple-0.3.2 )
85 theme_poetter? ( =x11-themes/vdrgraphtft-poetter-0.3.2 )"
86
87 PATCHES=("${FILESDIR}/${P}_gentoo.diff"
88 "${FILESDIR}/${P}_makefile.diff"
89 "${FILESDIR}/${P}_gcc-4.4.x.diff")
90
91 src_prepare() {
92
93 # remove untranslated Language
94 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
95
96 sed -i Makefile -e "s: WITH_X_COMM = 1:#WITH_X_COMM = 1:"
97
98 ! use touchscreen && sed -i Makefile \
99 -e "s:WITH_TOUCH = 1:#WITH_TOUCH = 1:"
100
101 use graphtft-fe && sed -i Makefile \
102 -e "s:#WITH_X_COMM:WITH_X_COMM:"
103
104 vdr-plugin-2_src_prepare
105
106 remove_i18n_include graphtft.h setup.h
107
108 # UINT64_C is needed by ffmpeg headers
109 append-cxxflags -D__STDC_CONSTANT_MACROS
110
111 if has_version ">=media-video/vdr-1.7.33"; then
112 sed -i dspitems.c \
113 -e "s:int timerMatch = 0:eTimerMatch timerMatch = tmNone:"
114 fi
115 }
116
117 src_compile() {
118 vdr-plugin-2_src_compile
119
120 if use graphtft-fe; then
121 cd "${S}"/graphtft-fe
122 emake
123 fi
124 }
125
126 src_install() {
127 vdr-plugin-2_src_install
128
129 dodoc "${S}"/documents/{README,HISTORY,HOWTO.Themes,INSTALL}
130
131 if use graphtft-fe; then
132 cd "${S}"/graphtft-fe && dobin graphtft-fe
133 doinit graphtft-fe
134 fi
135 }
136
137 pkg_postinst() {
138 vdr-plugin-2_pkg_postinst
139
140 if use graphtft-fe; then
141 echo
142 elog "Graphtft-fe user:"
143 elog "Edit /etc/conf.d/vdr.graphtft"
144 elog "/etc/init.d/graphtft-fe start"
145 echo
146 fi
147 }