]> git.pld-linux.org Git - packages/emotion-decoders-generic.git/blob - 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
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
4 Version:        1.10.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
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
19 Requires:       vlc >= 2.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         arch_tag        v-1.10
23
24 %description
25 These are binary players for Emotion using the "generic" module.
26
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.
33
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.
40
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.
45
46 %description -l pl.UTF-8
47 Ten pakiet zawiera binarne odtwarzacze dla Emotion wykorzystujące
48 moduł "generic".
49
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.
57
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.
66
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.
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
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 %clean
87 rm -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
93 %dir %{_libdir}/emotion/generic_players/%{arch_tag}
94 %attr(755,root,root) %{_libdir}/emotion/generic_players/%{arch_tag}/vlc
This page took 0.05368 seconds and 3 git commands to generate.