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