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