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