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: vdr-graphtft-0.2.2-r1.ebuild ChangeLog vdr-graphtft-0.2.2.ebuild |
Date: | Wed, 25 Mar 2009 09:11:01 |
Message-Id: | E1LmP8V-0003aH-An@stork.gentoo.org |
1 | hd_brummy 09/03/25 09:10:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: vdr-graphtft-0.2.2-r1.ebuild |
5 | Removed: vdr-graphtft-0.2.2.ebuild |
6 | Log: |
7 | some major fixes for makefile graphtft-fe detection |
8 | (Portage version: 2.1.6.7/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.15 media-plugins/vdr-graphtft/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog?rev=1.15&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog?rev=1.15&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog?r1=1.14&r2=1.15 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v |
20 | retrieving revision 1.14 |
21 | retrieving revision 1.15 |
22 | diff -u -r1.14 -r1.15 |
23 | --- ChangeLog 24 Mar 2009 23:04:25 -0000 1.14 |
24 | +++ ChangeLog 25 Mar 2009 09:10:59 -0000 1.15 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for media-plugins/vdr-graphtft |
27 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.14 2009/03/24 23:04:25 hd_brummy Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.15 2009/03/25 09:10:59 hd_brummy Exp $ |
30 | + |
31 | +*vdr-graphtft-0.2.2-r1 (25 Mar 2009) |
32 | + |
33 | + 25 Mar 2009; Joerg Bornkessel <hd_brummy@g.o> |
34 | + -vdr-graphtft-0.2.2.ebuild, +vdr-graphtft-0.2.2-r1.ebuild: |
35 | + some major fixes for makefile graphtft-fe detection |
36 | |
37 | 24 Mar 2009; Joerg Bornkessel <hd_brummy@g.o> |
38 | files/vdr-graphtft-0.2.2_gentoo.diff: |
39 | |
40 | |
41 | |
42 | 1.1 media-plugins/vdr-graphtft/vdr-graphtft-0.2.2-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.2.2-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.2.2-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: vdr-graphtft-0.2.2-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 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.2.2-r1.ebuild,v 1.1 2009/03/25 09:10:59 hd_brummy Exp $ |
52 | |
53 | EAPI="2" |
54 | |
55 | inherit vdr-plugin |
56 | |
57 | DESCRIPTION="VDR plugin: GraphTFT" |
58 | HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin" |
59 | SRC_URI="http://www.jwendel.de/vdr/${P}.tar.bz2 |
60 | http://www.jwendel.de/vdr/DeepBlue-horchi-0.0.11.tar.bz2" |
61 | # http://www.jwendel.de/vdr/alien-vs-predator-0.0.11.tar.bz2" |
62 | |
63 | |
64 | KEYWORDS="~x86 ~amd64" |
65 | SLOT="0" |
66 | LICENSE="GPL-2 LGPL-2.1" |
67 | IUSE="directfb graphtft-fe imagemagick" |
68 | |
69 | DEPEND=">=media-video/vdr-1.6.0_p2-r1[graphtft] |
70 | media-fonts/ttf-bitstream-vera |
71 | media-libs/imlib2[png] |
72 | imagemagick? ( media-gfx/imagemagick[png] ) |
73 | gnome-base/libgtop |
74 | >=media-video/ffmpeg-0.4.8_p20090201 |
75 | directfb? ( dev-libs/DirectFB ) |
76 | graphtft-fe? ( x11-libs/qt-gui:4 )" |
77 | |
78 | RDEPEND="${DEPEND}" |
79 | |
80 | PATCHES=( "${FILESDIR}/${P}_gentoo.diff" ) |
81 | |
82 | extpatch_v_check() { |
83 | |
84 | EXTPATCH_V="`cat /var/db/pkg/media-video/vdr-*/vdr-*.ebuild | grep EXT_V | head -n 1 | cut -c8-9`" |
85 | |
86 | if [ "${EXTPATCH_V}" -lt "65" ]; then |
87 | echo |
88 | eerror "You need an update of vdr with a newer EXTENSIONSPATCH version!" |
89 | eerror "minimal version of Extensionspatch = 65!" |
90 | eerror "graphtft will not work fullfilled" |
91 | echo |
92 | fi |
93 | } |
94 | |
95 | pkg_setup() { |
96 | vdr-plugin_pkg_setup |
97 | |
98 | extpatch_v_check |
99 | } |
100 | |
101 | src_unpack() { |
102 | vdr-plugin_src_unpack |
103 | |
104 | rm -r "${S}"/documents/CVS |
105 | } |
106 | |
107 | src_prepare() { |
108 | sed -i Makefile -e "s: WITH_X_COMM = 1:#WITH_X_COMM = 1:" |
109 | |
110 | use graphtft-fe && sed -e Makefile \ |
111 | -i "s:#WITH_X_COMM:WITH_X_COMM:" |
112 | |
113 | vdr-plugin_src_prepare |
114 | |
115 | sed -i "${S}"/imlibrenderer/fbrenderer/fbrenderer.c \ |
116 | -i "${S}"/imlibrenderer/dvbrenderer/mpeg2encoder.c \ |
117 | -i "${S}"/imlibrenderer/fbrenderer/mpeg2decoder.c \ |
118 | -i "${S}"/imlibrenderer/fbrenderer/mpeg2decoder.h \ |
119 | -e "s:ffmpeg/avcodec.h:libavcodec/avcodec.h:" |
120 | |
121 | sed -i "${S}"/imlibrenderer/fbrenderer/mpeg2decoder.c \ |
122 | -i "${S}"/imlibrenderer/dvbrenderer/mpeg2encoder.c \ |
123 | -e "s:ffmpeg/swscale.h:libswscale/swscale.h:" |
124 | } |
125 | |
126 | src_compile() { |
127 | vdr-plugin_src_compile |
128 | |
129 | if use graphtft-fe; then |
130 | cd "${S}"/graphtft-fe |
131 | sed -i build.sh -e "s:qmake-qt4:qmake:" |
132 | ./clean.sh |
133 | ./build.sh || die "build.sh failed" |
134 | fi |
135 | } |
136 | |
137 | src_install() { |
138 | vdr-plugin_src_install |
139 | |
140 | insinto /usr/share/vdr/graphTFT/themes/DeepBlue/ |
141 | doins -r "${WORKDIR}"/DeepBlue/* |
142 | |
143 | # insinto /usr/share/vdr/graphTFT/themes/avp/ |
144 | # doins -r "${WORKDIR}"/avp/* |
145 | |
146 | dosym /usr/share/fonts/ttf-bitstream-vera /usr/share/vdr/graphTFT/fonts |
147 | |
148 | dodoc "${S}"/documents/* |
149 | |
150 | if use graphtft-fe; then |
151 | cd "${S}"/graphtft-fe && dobin graphtft-fe |
152 | doinit graphtft-fe |
153 | fi |
154 | } |
155 | |
156 | pkg_postinst() { |
157 | vdr-plugin_pkg_postinst |
158 | |
159 | echo |
160 | elog "Graphtft-fe user:" |
161 | elog "Edit /etc/conf.d/vdr.graphtft" |
162 | elog "/etc/init.d/graphtft-fe start" |
163 | echo |
164 | } |