]> git.pld-linux.org Git - packages/DirectFB-extra.git/blob - DirectFB-extra.spec
- updated to 0.9.22, switched to gplflash
[packages/DirectFB-extra.git] / DirectFB-extra.spec
1 #
2 # Conditional build:
3 %bcond_without  flash   # don't build FLASH video provider
4 %bcond_without  mpg     # don't build support for MPG/MPEG3
5 #
6 Summary:        Additional providers and drivers for DirectFB
7 Summary(pl):    DirectFB - dodatkowe wtyczki i sterowniki do DirectFB
8 Name:           DirectFB-extra
9 Version:        0.9.22
10 Release:        1
11 License:        LGPL v2+
12 Group:          Libraries
13 Source0:        http://www.directfb.org/download/DirectFB-extra/%{name}-%{version}.tar.gz
14 # Source0-md5:  0d9fb91726b3961917c1be3ef0933ced
15 Patch0:         %{name}-acfix.patch
16 URL:            http://www.directfb.org/
17 BuildRequires:  DirectFB-devel >= 1:%{version}
18 BuildRequires:  autoconf >= 2.52
19 BuildRequires:  automake
20 %{?with_flash:BuildRequires:    gplflash-devel >= 0.4.10-5}
21 BuildRequires:  imlib2-devel
22 %{?with_mpg:BuildRequires:      libmpeg3-devel}
23 BuildRequires:  libtool
24 BuildRequires:  openquicktime-devel
25 BuildRequires:  xine-lib-devel >= 2:1.0-0.rc3
26 BuildRequires:  pkgconfig >= 1:0.9
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         dfbdir          %(pkg-config --variable=moduledir directfb-internal)
30
31 %description
32 This package contains additional image/video/font providers and
33 graphics/input drivers (currently Imlib2 image provider and
34 OpenQuicktime video provider).
35
36 %description -l pl
37 Ten pakiet zawiera dodatkowe wtyczki dostarczaj±ce grafikê, obraz i
38 fonty oraz sterowniki grafiki i wej¶ciowe (aktualnie: wtyczkê
39 dostarczaj±c± grafikê poprzez Imlib2 oraz wtyczkê dostarczaj±c± obraz
40 OpenQuicktime).
41
42 %package -n DirectFB-image-imlib2
43 Summary:        Imlib2 image provider for DirectFB
44 Summary(pl):    DirectFB - wtyczka dostarczaj±ca grafikê poprzez Imlib2
45 Group:          Libraries
46 %requires_eq    DirectFB
47
48 %description -n DirectFB-image-imlib2
49 This package contains image provider based on Imlib2 for DirectFB.
50
51 %description -n DirectFB-image-imlib2 -l pl
52 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± grafikê poprzez
53 bibliotekê Imlib2.
54
55 %package -n DirectFB-image-pnm
56 Summary:        PNM image provider for DirectFB
57 Summary(pl):    DirectFB - wtyczka dostarczaj±ca grafikê PNM
58 Group:          Libraries
59 %requires_eq    DirectFB
60
61 %description -n DirectFB-image-pnm
62 This package contains PNM image provider. It supports PBM, PGM and PPM
63 formats (both ASCII and RAW).
64
65 %description -n DirectFB-image-pnm -l pl
66 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± grafikê PNM.
67 Obs³uguje formaty PBM, PGM i PPM (zarówno ASCII, jak i binarne).
68
69 %package -n DirectFB-video-libmpeg3
70 Summary:        MPEG video provider for DirectFB
71 Summary(pl):    DirectFB - wtyczka dostarczaj±ca obraz MPEG
72 Group:          Libraries
73 %requires_eq    DirectFB
74
75 %description -n DirectFB-video-libmpeg3
76 This package contains MPEG (MPEG-1 and MPEG-2) video provider for
77 DirectFB. It uses libmpeg3 library.
78
79 %description -n DirectFB-video-libmpeg3 -l pl
80 Ten pakiet zawiera wtyczkê dla DirectFB dostarczajac± obraz MPEG
81 (MPEG-1 i MPEG-2) przy u¿yciu biblioteki libmpeg3.
82
83 %package -n DirectFB-video-openquicktime
84 Summary:        OpenQuicktime video provider for DirectFB
85 Summary(pl):    DirectFB - wtyczka dostarczaj±ca obraz OpenQuicktime
86 Group:          Libraries
87 %requires_eq    DirectFB
88
89 %description -n DirectFB-video-openquicktime
90 This package contains OpenQuicktime video provider for DirectFB. It
91 supports all RGB and YUV formats and does audio playback.
92
93 %description -n DirectFB-video-openquicktime -l pl
94 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± obraz
95 OpenQuicktime. Obs³uguje wszystkie formaty RGB i YUV oraz odtwarza
96 d¼wiêk.
97
98 %package -n DirectFB-video-swf
99 Summary:        ShockWave Flash video provider for DirectFB
100 Summary(pl):    DirectFB - wtyczka dostarczaj±ca obraz ShockWave Flash
101 Group:          Libraries
102 %requires_eq    DirectFB
103
104 %description -n DirectFB-video-swf
105 This package contains SWF (ShockWave Flash) video provider for
106 DirectFB. It uses flash library.
107
108 %description -n DirectFB-video-swf -l pl
109 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± obraz SWF
110 (ShockWave Flash) przy u¿yciu biblioteki flash.
111
112 %package -n DirectFB-video-xine
113 Summary:        XINE video provider for DirectFB
114 Summary(pl):    DirectFB - wtyczka dostarczaj±ca obraz XINE
115 Group:          Libraries
116 %requires_eq    DirectFB
117 Requires:       xine-lib >= 2:1.0-0.rc3
118
119 %description -n DirectFB-video-xine
120 This package contains video provider for DirectFB which uses XINE
121 library and plugins. It handles a wide range of video formats.
122
123 %description -n DirectFB-video-xine -l pl
124 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± obraz przy
125 u¿yciu biblioteki i wtyczek XINE. Obs³uguje szeroki zakres formatów
126 obrazu.
127
128 %package -n xine-ui-dfb
129 Summary:        DirectFB-based XINE UI
130 Summary(pl):    Interfejs u¿ytkownika XINE oparty na DirectFB
131 Group:          Applications/Multimedia
132 %requires_eq    DirectFB
133 Requires:       xine-lib >= 2:1.0-0.rc3
134
135 %description -n xine-ui-dfb
136 DirectFB-based XINE UI. This package contains also DirectFB video
137 output plugin for XINE.
138
139 %description -n xine-ui-dfb -l pl
140 Interfejs u¿ytkownika XINE oparty na DirectFB. Zawiera tak¿e wtyczkê
141 wyj¶cia obrazu DirectFB dla XINE.
142
143 %prep
144 %setup -q
145 %patch0 -p1
146
147 %build
148 %{__libtoolize}
149 %{__aclocal}
150 %{__autoconf}
151 %{__autoheader}
152 %{__automake}
153 CPPFLAGS="-I/usr/include/libmpeg3"
154 %configure \
155         --disable-avifile \
156         %{!?with_flash:--disable-flash} \
157         %{!?with_mpg:--disable-libmpeg3}
158
159 %{__make} \
160         MODULEDIR=%{dfbdir}
161
162 %install
163 rm -rf $RPM_BUILD_ROOT
164
165 %{__make} install \
166         DESTDIR=$RPM_BUILD_ROOT \
167         MODULEDIR=%{dfbdir}
168
169 rm -f $RPM_BUILD_ROOT%{dfbdir}/interfaces/*/*.la \
170         $RPM_BUILD_ROOT%{_libdir}/xine/plugins/*/*.la
171
172 %clean
173 rm -rf $RPM_BUILD_ROOT
174
175 %files -n DirectFB-image-imlib2
176 %defattr(644,root,root,755)
177 %doc ChangeLog README
178 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.so
179
180 %files -n DirectFB-image-pnm
181 %defattr(644,root,root,755)
182 %doc ChangeLog README
183 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_pnm.so
184
185 %files -n DirectFB-video-openquicktime
186 %defattr(644,root,root,755)
187 %doc ChangeLog README
188 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.so
189
190 %if %{with mpg}
191 %files -n DirectFB-video-libmpeg3
192 %defattr(644,root,root,755)
193 %doc ChangeLog README
194 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_libmpeg3.so
195 %endif
196
197 %if %{with flash}
198 %files -n DirectFB-video-swf
199 %defattr(644,root,root,755)
200 %doc ChangeLog README
201 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.so
202 %endif
203
204 %files -n DirectFB-video-xine
205 %defattr(644,root,root,755)
206 %doc ChangeLog README
207 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_xine.so
208
209 %files -n xine-ui-dfb
210 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_bindir}/df_xine
212 %attr(755,root,root) %{_libdir}/xine/plugins/*/xineplug_vo_out_dfb.so
This page took 0.051128 seconds and 3 git commands to generate.