summaryrefslogtreecommitdiff
path: root/gstreamer-sh-mobile.spec
blob: e717409120eb91a46e377b04e16a8c696f1d6392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Summary:	GStreamer plugins that provide accelerated video encode and decode, scale and blend for SH-Mobile
Summary(pl.UTF-8):	Wtyczki GStreamera zapewniające akcelerowane kodowanie i dekodowanie oraz skalowanie i konwersji kolorów obrazu dla SH-Mobile
Name:		gstreamer-sh-mobile
Version:	0.10.2
Release:	0.1
License:	LGPL v2+
Group:		Libraries
# trailing #/gst-sh-mobile-%{version}.tar.gz is a hack for df
#Source0Download: https://oss.renesas.com/modules/document/?GStreamer
Source0:	https://oss.renesas.com/modules/document/gate.php/?way=attach&refer=GStreamer&openfile=gst-sh-mobile-%{version}.tar.gz#/gst-sh-mobile-%{version}.tar.gz
# Source0-md5:	d5f16c448f9afc7b4f99746e8cb8804b
URL:		https://oss.renesas.com/modules/document/?GStreamer
BuildRequires:	autoconf >= 2.53
BuildRequires:	automake >= 1:1.10
BuildRequires:	doxygen
BuildRequires:	gstreamer-devel >= 0.10.16
BuildRequires:	gstreamer-plugins-base-devel >= 0.10.16
BuildRequires:	libtool >= 2:2.2.6
BuildRequires:	libshbeu-devel >= 1.0.0
BuildRequires:	libshcodecs-devel >= 1.4.0
BuildRequires:	libshveu-devel >= 1.5.0
BuildRequires:	libuiomux-devel >= 1.5.0
BuildRequires:	pkgconfig
Requires:	libshbeu >= 1.0.0
Requires:	libshcodecs >= 1.4.0
Requires:	libshveu >= 1.5.0
Requires:	libuiomux >= 1.5.0
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
This package contains hardware accelerated GStreamer elements for
SH-Mobile devices that perform video encode, decode, scale and
colorspace conversion.

%description -l pl.UTF-8
Ten pakiet zawiera elementy GStreamera zapewniające sprzętową
akcelerację dla urządzeń SH-Mobile, wykonujące kodowanie, dekodowanie,
skalowanie obrazu oraz konwersję przestrzeni kolorów.

%prep
%setup -q -n gst-sh-mobile-%{version}

%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure

%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

# gstreamer module
%{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-0.10/libgst*.la
# don't package source code documentation
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gst-shmobile

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README TODO
%attr(755,root,root) %{_libdir}/gstreamer-0.10/libgstshvideo.so