1 Summary: Generic decoders for Emotion library
2 Summary(pl.UTF-8): Ogólne programy dekodujące dla biblioteki Emotion
3 Name: emotion-decoders-generic
8 Source0: http://download.enlightenment.org/rel/libs/emotion_generic_players/emotion_generic_players-%{version}.tar.bz2
9 # Source0-md5: 4e5995e4fe8a31db79bafbd04f633b47
10 URL: http://trac.enlightenment.org/e/wiki/Emotion
11 BuildRequires: ecore-devel >= 1.8.0
12 BuildRequires: eina-devel >= 1.2.0
13 BuildRequires: emotion-devel >= 1.10
14 BuildRequires: pkgconfig
15 BuildRequires: vlc-devel >= 2.0
16 Requires: ecore >= 1.8.0
17 Requires: eina >= 1.2.0
18 Requires: emotion >= 1.10
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define arch_tag v-1.10
25 These are binary players for Emotion using the "generic" module.
27 Emotion supports multiple modules provided as shared-objects under
28 LIBDIR/emotion/modules, making it extensible. However these live in
29 the same process as the application, thus problems handling the media
30 may crash or halt the application. Unfortunately media handling is
31 very error prone due multiple sources, sinks, decoders et al, each
32 with their own level of stability.
34 To solve this, Emotion ships with a "generic" module that is a layer
35 to talk to another process, the "player", using pipes and shared
36 memory (shm). If this external process dies, the main application
37 remains working (without any media, of course). Thus it is safer and
38 has some nice side effects such as avoiding bringing in many libraries
39 to decode media, saving memory in the application process, etc.
41 A secondary benefit is that the generic player is a separate process
42 and does not link with the user application code or EFL, avoiding
43 license conflicts. Many decoding libraries or elements exist with
44 conflicting licenses with GPL, LGPL or even proprietary code.
46 %description -l pl.UTF-8
47 Ten pakiet zawiera binarne odtwarzacze dla Emotion wykorzystujące
50 Biblioteka Emotion obsługuje wiele modułów dostarczanych jako obiekty
51 współdzielone w LIBDIR/emotion/modules, co czyni ją rozszerzalną.
52 Jednak te moduły działają w tym samym procesie, co aplikacja, więc
53 problemy z obsługą treści mogą spowodować awarię lub zawieszenie
54 aplikacji. Niestety obsługa multimediów jest bardzo podatna na błędy
55 ze względu na wiele źródeł, warstw, dekoderów itp., z których każdy ma
56 własny poziom stabilności.
58 Aby ten problem rozwiązać, Emotion jest dostarczany z modułem ogólnym
59 "generic", który jest warstwą pozwalającą na porozumiewanie z innym
60 procesem "odtwarzacza" przy użyciu potoków i pamięci dzielonej (shm).
61 Jeśli ten zewnętrzny proces zginie, główna aplikacja działa nadal
62 (oczywiście bez odtwarzanej treści). Ten sposób jest bezpieczniejszy i
63 ma dodatkowe pozytywne efekty uboczne, takie jak unikanie dodawania
64 wielu bibliotek do dekodowania multimediów, oszczędzanie pamięci w
65 procesie aplikacji itp.
67 Dodatkową zaletą jest to, że odtwarzacz ogólny jest osobnym procesem i
68 nie linkuje się z kodem aplikacji użytkownika ani EFL, co zapobiega
69 konfliktom licencji. Wiele bibliotek lub elementów dekodujących ma
70 licencje niezgodne z GPL, LGPL, albo jest kodem własnościowym.
73 %setup -q -n emotion_generic_players-%{version}
77 --disable-silent-rules
81 rm -rf $RPM_BUILD_ROOT
84 DESTDIR=$RPM_BUILD_ROOT
87 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
91 %doc AUTHORS COPYING ChangeLog README
92 %dir %{_libdir}/emotion/generic_players
93 %dir %{_libdir}/emotion/generic_players/%{arch_tag}
94 %attr(755,root,root) %{_libdir}/emotion/generic_players/%{arch_tag}/vlc