]> git.pld-linux.org Git - packages/DirectFB-extra.git/blame - DirectFB-extra.spec
- note where recent versions could be found
[packages/DirectFB-extra.git] / DirectFB-extra.spec
CommitLineData
fd1e28ec 1# NOTE: versions >= 1.7.0 have been integrated into DirectFB.spec
3715fd31
JB
2#
3# Conditional build:
ad0ed4bc 4%bcond_without flash # don't build FLASH video provider
a8d005fd 5%bcond_without mpg # don't build support for MPG/MPEG3
795ea15f 6%bcond_without swfdec # don't build swfdec video provider
3715fd31 7#
795ea15f
JB
8# broken currently (needs update for DirectFB 1.2.x)
9%undefine with_flash
10# needs update for swfdec 0.6.x
11%undefine with_swfdec
d0e40760 12Summary: Additional providers and drivers for DirectFB
3fae725a 13Summary(pl.UTF-8): DirectFB - dodatkowe wtyczki i sterowniki do DirectFB
d0e40760 14Name: DirectFB-extra
795ea15f
JB
15Version: 1.2.0
16%define subver rc1
17Release: 0.%{subver}.0.1
d0e40760
JB
18License: LGPL v2+
19Group: Libraries
795ea15f
JB
20Source0: http://www.directfb.org/downloads/Extras/%{name}-%{version}-%{subver}.tar.gz
21# Source0-md5: c3c160c167c20f320b0c0562168d0579
00928063 22Patch0: %{name}-acfix.patch
2ee6e28d 23Patch1: %{name}-mpeg3_open.patch
d0e40760 24URL: http://www.directfb.org/
72ddbfed 25BuildRequires: DirectFB-devel >= 1:%{version}
856ea10a 26BuildRequires: FusionSound-devel >= 1.1.0
273b1411 27BuildRequires: autoconf >= 2.52
d0e40760 28BuildRequires: automake
fb4b8ff7 29BuildRequires: ffmpeg-devel
19ed8081 30%{?with_flash:BuildRequires: gplflash-devel >= 0.4.10-5}
4c93e207 31BuildRequires: imlib2-devel
795ea15f 32BuildRequires: jasper-devel
a8d005fd 33%{?with_mpg:BuildRequires: libmpeg3-devel}
363bcd8e 34BuildRequires: libsvg-cairo-devel >= 0.1.6
4c93e207 35BuildRequires: libtool
d0e40760 36BuildRequires: openquicktime-devel
febe97bb 37BuildRequires: pkgconfig >= 1:0.9
795ea15f
JB
38%{?with_swfdec:BuildRequires: swfdec-devel >= 0.5.0}
39BuildRequires: xine-lib-devel >= 2:1.0.0
d0e40760
JB
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%define dfbdir %(pkg-config --variable=moduledir directfb-internal)
43
44%description
45This package contains additional image/video/font providers and
46graphics/input drivers (currently Imlib2 image provider and
47OpenQuicktime video provider).
48
5705e305
JR
49%description -l pl.UTF-8
50Ten pakiet zawiera dodatkowe wtyczki dostarczające grafikę, obraz i
51fonty oraz sterowniki grafiki i wejściowe (aktualnie: wtyczkę
52dostarczającą grafikę poprzez Imlib2 oraz wtyczkę dostarczającą obraz
d0e40760
JB
53OpenQuicktime).
54
2ee6e28d 55%package -n DirectFB-image-bmp
d28689db 56Summary: BMP image provider for DirectFB
57Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę BMP
58Group: Libraries
59%requires_eq DirectFB
2ee6e28d
JB
60
61%description -n DirectFB-image-bmp
62This package contains BMP mage provider for DirectFB.
63
64%description -n DirectFB-image-bmp -l pl.UTF-8
65Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę BMP.
66
d0e40760
JB
67%package -n DirectFB-image-imlib2
68Summary: Imlib2 image provider for DirectFB
3fae725a 69Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę poprzez Imlib2
d0e40760
JB
70Group: Libraries
71%requires_eq DirectFB
72
73%description -n DirectFB-image-imlib2
74This package contains image provider based on Imlib2 for DirectFB.
75
5705e305
JR
76%description -n DirectFB-image-imlib2 -l pl.UTF-8
77Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę poprzez
78bibliotekę Imlib2.
d0e40760 79
795ea15f
JB
80%package -n DirectFB-image-jpeg2000
81Summary: JPEG-2000 image provider for DirectFB
82Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę JPEG-2000
83Group: Libraries
84%requires_eq DirectFB
85
86%description -n DirectFB-image-jpeg2000
87This package contains JPEG-2000 image provider.
88
89%description -n DirectFB-image-jpeg2000 -l pl.UTF-8
90Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę
91JPEG-2000.
92
93%package -n DirectFB-image-mpeg2
94Summary: MPEG-2 image provider for DirectFB
95Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę MPEG-2
96Group: Libraries
97%requires_eq DirectFB
98
99%description -n DirectFB-image-mpeg2
100This package contains MPEG-2 image provider.
101
102%description -n DirectFB-image-mpeg2 -l pl.UTF-8
103Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę MPEG-2.
104
a8d005fd
JB
105%package -n DirectFB-image-pnm
106Summary: PNM image provider for DirectFB
3fae725a 107Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę PNM
a8d005fd
JB
108Group: Libraries
109%requires_eq DirectFB
110
111%description -n DirectFB-image-pnm
112This package contains PNM image provider. It supports PBM, PGM and PPM
113formats (both ASCII and RAW).
114
5705e305
JR
115%description -n DirectFB-image-pnm -l pl.UTF-8
116Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę PNM.
117Obsługuje formaty PBM, PGM i PPM (zarówno ASCII, jak i binarne).
a8d005fd 118
363bcd8e
JB
119%package -n DirectFB-image-svg
120Summary: SVG image provider for DirectFB
3fae725a 121Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę SVG
363bcd8e
JB
122Group: Libraries
123%requires_eq DirectFB
124
125%description -n DirectFB-image-svg
126This package contains SVG image provider using Cairo library.
127
5705e305 128%description -n DirectFB-image-svg -l pl.UTF-8
2ee6e28d
JB
129Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę SVG przy
130użyciu biblioteki Cairo.
363bcd8e 131
fb4b8ff7
JB
132%package -n DirectFB-video-ffmpeg
133Summary: FFmpeg video provider for DirectFB
3fae725a 134Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz FFmpeg
fb4b8ff7
JB
135Group: Libraries
136%requires_eq DirectFB
2ee6e28d 137%requires_eq FusionSound
fb4b8ff7
JB
138
139%description -n DirectFB-video-ffmpeg
140DirectFB video provider using FFmpeg codecs.
141
5705e305
JR
142%description -n DirectFB-video-ffmpeg -l pl.UTF-8
143Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz przy
144użyciu kodeków FFmpeg.
fb4b8ff7 145
a8d005fd
JB
146%package -n DirectFB-video-libmpeg3
147Summary: MPEG video provider for DirectFB
3fae725a 148Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz MPEG
a8d005fd
JB
149Group: Libraries
150%requires_eq DirectFB
151
152%description -n DirectFB-video-libmpeg3
153This package contains MPEG (MPEG-1 and MPEG-2) video provider for
154DirectFB. It uses libmpeg3 library.
155
5705e305
JR
156%description -n DirectFB-video-libmpeg3 -l pl.UTF-8
157Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz MPEG
158(MPEG-1 i MPEG-2) przy użyciu biblioteki libmpeg3.
a8d005fd 159
d0e40760
JB
160%package -n DirectFB-video-openquicktime
161Summary: OpenQuicktime video provider for DirectFB
3fae725a 162Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz OpenQuicktime
d0e40760
JB
163Group: Libraries
164%requires_eq DirectFB
165
166%description -n DirectFB-video-openquicktime
a8d005fd
JB
167This package contains OpenQuicktime video provider for DirectFB. It
168supports all RGB and YUV formats and does audio playback.
d0e40760 169
5705e305
JR
170%description -n DirectFB-video-openquicktime -l pl.UTF-8
171Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz
172OpenQuicktime. Obsługuje wszystkie formaty RGB i YUV oraz odtwarza
173dźwięk.
d0e40760 174
3715fd31
JB
175%package -n DirectFB-video-swf
176Summary: ShockWave Flash video provider for DirectFB
3fae725a 177Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz ShockWave Flash
3715fd31
JB
178Group: Libraries
179%requires_eq DirectFB
180
181%description -n DirectFB-video-swf
182This package contains SWF (ShockWave Flash) video provider for
183DirectFB. It uses flash library.
184
5705e305
JR
185%description -n DirectFB-video-swf -l pl.UTF-8
186Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz SWF
187(ShockWave Flash) przy użyciu biblioteki flash.
3715fd31 188
363bcd8e
JB
189%package -n DirectFB-video-swfdec
190Summary: ShockWave Flash video provider for DirectFB
3fae725a 191Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz ShockWave Flash
363bcd8e
JB
192Group: Libraries
193%requires_eq DirectFB
194
195%description -n DirectFB-video-swfdec
196This package contains SWF (ShockWave Flash) video provider for
197DirectFB. It uses swfdec library.
198
5705e305
JR
199%description -n DirectFB-video-swfdec -l pl.UTF-8
200Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz SWF
201(ShockWave Flash) przy użyciu biblioteki swfdec.
363bcd8e 202
a8d005fd
JB
203%package -n DirectFB-video-xine
204Summary: XINE video provider for DirectFB
3fae725a 205Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz XINE
a8d005fd
JB
206Group: Libraries
207%requires_eq DirectFB
896a537c 208%requires_eq xine-lib
a8d005fd
JB
209
210%description -n DirectFB-video-xine
211This package contains video provider for DirectFB which uses XINE
212library and plugins. It handles a wide range of video formats.
213
5705e305
JR
214%description -n DirectFB-video-xine -l pl.UTF-8
215Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz przy
216użyciu biblioteki i wtyczek XINE. Obsługuje szeroki zakres formatów
a8d005fd
JB
217obrazu.
218
219%package -n xine-ui-dfb
220Summary: DirectFB-based XINE UI
3fae725a 221Summary(pl.UTF-8): Interfejs użytkownika XINE oparty na DirectFB
a8d005fd
JB
222Group: Applications/Multimedia
223%requires_eq DirectFB
19ed8081 224Requires: xine-lib >= 2:1.0-0.rc3
a8d005fd
JB
225
226%description -n xine-ui-dfb
227DirectFB-based XINE UI. This package contains also DirectFB video
228output plugin for XINE.
229
5705e305
JR
230%description -n xine-ui-dfb -l pl.UTF-8
231Interfejs użytkownika XINE oparty na DirectFB. Zawiera także wtyczkę
232wyjścia obrazu DirectFB dla XINE.
a8d005fd 233
d0e40760 234%prep
795ea15f 235%setup -q -n %{name}-%{version}-%{subver}
ad0ed4bc 236%patch0 -p1
2ee6e28d 237%patch1 -p1
d0e40760
JB
238
239%build
4c93e207 240%{__libtoolize}
d0e40760
JB
241%{__aclocal}
242%{__autoconf}
243%{__autoheader}
244%{__automake}
a8d005fd 245CPPFLAGS="-I/usr/include/libmpeg3"
3715fd31
JB
246%configure \
247 --disable-avifile \
2ee6e28d
JB
248 %{?with_flash:--enable-flash} \
249 %{?with_mpg:--enable-libmpeg3} \
250 --enable-openquicktime \
795ea15f 251 %{!?with_swfdec:--disable-swfdec}
d0e40760 252
ad0ed4bc 253%{__make} \
795ea15f 254 FFMPEG_CFLAGS="-I/usr/include/libavcodec -I/usr/include/libavformat" \
ad0ed4bc 255 MODULEDIR=%{dfbdir}
d0e40760
JB
256
257%install
258rm -rf $RPM_BUILD_ROOT
259
260%{__make} install \
261 DESTDIR=$RPM_BUILD_ROOT \
262 MODULEDIR=%{dfbdir}
263
a8d005fd
JB
264rm -f $RPM_BUILD_ROOT%{dfbdir}/interfaces/*/*.la \
265 $RPM_BUILD_ROOT%{_libdir}/xine/plugins/*/*.la
ad0ed4bc 266
d0e40760
JB
267%clean
268rm -rf $RPM_BUILD_ROOT
269
2ee6e28d
JB
270%files -n DirectFB-image-bmp
271%defattr(644,root,root,755)
272%doc ChangeLog README
273%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so
274
4c93e207
JB
275%files -n DirectFB-image-imlib2
276%defattr(644,root,root,755)
a8d005fd 277%doc ChangeLog README
3715fd31 278%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.so
d0e40760 279
795ea15f
JB
280%files -n DirectFB-image-jpeg2000
281%defattr(644,root,root,755)
282%doc ChangeLog README
283%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg2000.so
284
285%files -n DirectFB-image-mpeg2
286%defattr(644,root,root,755)
287%doc ChangeLog README
288%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_mpeg2.so
289
a8d005fd
JB
290%files -n DirectFB-image-pnm
291%defattr(644,root,root,755)
292%doc ChangeLog README
293%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_pnm.so
294
363bcd8e
JB
295%files -n DirectFB-image-svg
296%defattr(644,root,root,755)
297%doc ChangeLog README
298%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_svg.so
299
fb4b8ff7
JB
300%files -n DirectFB-video-ffmpeg
301%defattr(644,root,root,755)
302%doc ChangeLog README
303%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_ffmpeg.so
304
a8d005fd
JB
305%if %{with mpg}
306%files -n DirectFB-video-libmpeg3
307%defattr(644,root,root,755)
308%doc ChangeLog README
309%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_libmpeg3.so
310%endif
311
2ee6e28d
JB
312%files -n DirectFB-video-openquicktime
313%defattr(644,root,root,755)
314%doc ChangeLog README
315%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.so
316
ad0ed4bc 317%if %{with flash}
3715fd31
JB
318%files -n DirectFB-video-swf
319%defattr(644,root,root,755)
a8d005fd 320%doc ChangeLog README
3715fd31 321%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.so
3715fd31 322%endif
a8d005fd 323
795ea15f 324%if %{with swfdec}
363bcd8e
JB
325%files -n DirectFB-video-swfdec
326%defattr(644,root,root,755)
327%doc ChangeLog README
328%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swfdec.so
795ea15f 329%endif
363bcd8e 330
a8d005fd
JB
331%files -n DirectFB-video-xine
332%defattr(644,root,root,755)
333%doc ChangeLog README
334%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_xine.so
335
336%files -n xine-ui-dfb
337%defattr(644,root,root,755)
338%attr(755,root,root) %{_bindir}/df_xine
339%attr(755,root,root) %{_libdir}/xine/plugins/*/xineplug_vo_out_dfb.so
This page took 0.124938 seconds and 4 git commands to generate.