1 |
vapier 07/12/02 22:22:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: DirectFB-1.1.0.ebuild |
5 |
Log: |
6 |
Version bump #190463 by Alexandre Bique. Fix from Andrew Williams for the .pc file #200661. |
7 |
(Portage version: 2.1.4_rc4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.65 dev-libs/DirectFB/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/ChangeLog?rev=1.65&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/ChangeLog?rev=1.65&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/ChangeLog?r1=1.64&r2=1.65 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v |
19 |
retrieving revision 1.64 |
20 |
retrieving revision 1.65 |
21 |
diff -u -r1.64 -r1.65 |
22 |
--- ChangeLog 19 Apr 2007 06:27:10 -0000 1.64 |
23 |
+++ ChangeLog 2 Dec 2007 22:22:18 -0000 1.65 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for dev-libs/DirectFB |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.64 2007/04/19 06:27:10 corsair Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.65 2007/12/02 22:22:18 vapier Exp $ |
29 |
+ |
30 |
+*DirectFB-1.1.0 (02 Dec 2007) |
31 |
+ |
32 |
+ 02 Dec 2007; Mike Frysinger <vapier@g.o> |
33 |
+ +files/DirectFB-1.1.0-headers.patch, |
34 |
+ +files/DirectFB-1.1.0-pkgconfig.patch, +DirectFB-1.1.0.ebuild: |
35 |
+ Version bump #190463 by Alexandre Bique. Fix from Andrew Williams for the |
36 |
+ .pc file #200661. |
37 |
|
38 |
19 Apr 2007; Markus Rothe <corsair@g.o> DirectFB-1.0.0.ebuild: |
39 |
Added ~ppc64; bug #175166 |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/DirectFB/DirectFB-1.1.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/DirectFB-1.1.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/DirectFB-1.1.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: DirectFB-1.1.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2007 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.1.0.ebuild,v 1.1 2007/12/02 22:22:18 vapier Exp $ |
53 |
|
54 |
inherit eutils toolchain-funcs |
55 |
|
56 |
IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 i830 mach64 matrox neomagic nsc nvidia radeon savage sis315 tdfx unichrome" |
57 |
IUSE_INPUT_DEVICES="dbox2remote elo-input gunze h3600_ts joystick keyboard dreamboxremote linuxinput lirc mutouch none permount ps2mouse serialmouse sonypijogdial wm97xx" |
58 |
|
59 |
DESCRIPTION="Thin library on top of the Linux framebuffer devices" |
60 |
HOMEPAGE="http://www.directfb.org/" |
61 |
SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz |
62 |
mirror://gentoo/DirectFB-1.1.0-upstream-git-gfxdrivers-fixes.patch.bz2" |
63 |
|
64 |
LICENSE="LGPL-2.1" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86" |
67 |
IUSE="debug fbcon fusion gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 zlib" |
68 |
|
69 |
# fusion? ( >=dev-libs/linux-fusion-7.0.1 ) |
70 |
DEPEND="sdl? ( media-libs/libsdl ) |
71 |
gif? ( media-libs/giflib ) |
72 |
png? ( media-libs/libpng ) |
73 |
jpeg? ( media-libs/jpeg ) |
74 |
sysfs? ( sys-fs/sysfsutils ) |
75 |
zlib? ( sys-libs/zlib ) |
76 |
truetype? ( >=media-libs/freetype-2.0.1 )" |
77 |
|
78 |
pkg_setup() { |
79 |
if [[ -z ${VIDEO_CARDS} ]] ; then |
80 |
ewarn "All video drivers will be built since you did not specify" |
81 |
ewarn "via the VIDEO_CARDS variable what video card you use." |
82 |
ewarn "DirectFB supports: ${IUSE_VIDEO_CARDS} all none" |
83 |
echo |
84 |
fi |
85 |
if [[ -z ${INPUT_DEVICES} ]] ; then |
86 |
ewarn "All input drivers will be built since you did not specify" |
87 |
ewarn "via the INPUT_DEVICES variable which input drivers to use." |
88 |
ewarn "DirectFB supports: ${IUSE_INPUT_DEVICES} all none" |
89 |
echo |
90 |
fi |
91 |
} |
92 |
|
93 |
src_unpack() { |
94 |
unpack ${A} |
95 |
cd "${S}" |
96 |
epatch "${WORKDIR}"/${P}-upstream-git-gfxdrivers-fixes.patch |
97 |
epatch "${FILESDIR}"/${PN}-0.9.24-CFLAGS.patch |
98 |
epatch "${FILESDIR}"/${P}-headers.patch |
99 |
epatch "${FILESDIR}"/${P}-pkgconfig.patch |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
local vidcards card input inputdrivers |
104 |
for card in ${VIDEO_CARDS} ; do |
105 |
has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}" |
106 |
#use video_cards_${card} && vidcards="${vidcards},${card}" |
107 |
done |
108 |
[[ -z ${vidcards} ]] \ |
109 |
&& vidcards="all" \ |
110 |
|| vidcards=${vidcards:1} |
111 |
for input in ${INPUT_DEVICES} ; do |
112 |
has ${input} ${IUSE_INPUT_DEVICES} && inputdrivers="${inputdrivers},${input}" |
113 |
#use input_devics_${input} && inputdrivers="${inputdrivers},${input}" |
114 |
done |
115 |
[[ -z ${inputdrivers} ]] \ |
116 |
&& inputdrivers="all" \ |
117 |
|| inputdrivers=${inputdrivers:1} |
118 |
|
119 |
local sdlconf="--disable-sdl" |
120 |
if use sdl ; then |
121 |
# since SDL can link against DirectFB and trigger a |
122 |
# dependency loop, only link against SDL if it isn't |
123 |
# broken #61592 |
124 |
echo 'int main(){}' > sdl-test.c |
125 |
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \ |
126 |
&& sdlconf="--enable-sdl" \ |
127 |
|| ewarn "Disabling SDL since libSDL.so is broken" |
128 |
fi |
129 |
|
130 |
econf \ |
131 |
--enable-static \ |
132 |
$(use_enable fbcon fbdev) \ |
133 |
$(use_enable mmx) \ |
134 |
$(use_enable sse) \ |
135 |
$(use_enable jpeg) \ |
136 |
$(use_enable png) \ |
137 |
$(use_enable gif) \ |
138 |
$(use_enable truetype freetype) \ |
139 |
$(use_enable fusion multi) \ |
140 |
$(use_enable debug) \ |
141 |
$(use_enable sysfs) \ |
142 |
$(use_enable zlib) \ |
143 |
$(use_enable v4l video4linux) \ |
144 |
$(use_enable v4l2 video4linux2) \ |
145 |
${sdlconf} \ |
146 |
--with-gfxdrivers="${vidcards}" \ |
147 |
--with-inputdrivers="${inputdrivers}" \ |
148 |
--disable-vnc \ |
149 |
|| die |
150 |
emake || die |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
emake DESTDIR="${D}" install || die "make install failed" |
155 |
dodoc fb.modes AUTHORS ChangeLog NEWS README* TODO |
156 |
dohtml -r docs/html/* |
157 |
} |
158 |
|
159 |
pkg_postinst() { |
160 |
ewarn "Each DirectFB update in the 0.9.xx series" |
161 |
ewarn "breaks DirectFB related applications." |
162 |
ewarn "Please run \"revdep-rebuild\" which can be" |
163 |
ewarn "found by emerging the package 'gentoolkit'." |
164 |
ewarn |
165 |
ewarn "If you have an ALPS touchpad, then you might" |
166 |
ewarn "get your mouse unexpectedly set in absolute" |
167 |
ewarn "mode in all DirectFB applications." |
168 |
ewarn "This can be fixed by removing linuxinput from" |
169 |
ewarn "INPUT_DEVICES." |
170 |
} |
171 |
|
172 |
|
173 |
|
174 |
-- |
175 |
gentoo-commits@g.o mailing list |