This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
forked from intel/psb_video
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psb-video.spec
83 lines (66 loc) · 1.55 KB
/
psb-video.spec
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
71
72
73
74
75
76
77
78
79
80
81
82
83
#
# Do not Edit! Generated by:
# spectacle version 0.16
#
# >> macros
%define drimoduledir %{_libdir}/dri
%define fwdir /lib/firmware
# << macros
Name: psb-video
Summary: mrst/mfld gfx video drivers for X11
Version: 5.3.0.0035
Release: 1
Group: System/Libraries
License: Intel Proprietary
URL: http://freedesktop.org/wiki/Software/vaapi
Source0: %{name}-%{version}.tar.bz2
NoSource: 0
AutoReqProv: no
Requires: xorg-x11-server-Xorg
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xorg-server)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xextproto)
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(libwsbm)
BuildRequires: pkgconfig(libva)
BuildRequires: kernel-staging-drivers-headers
BuildRequires: libmemrar-devel
BuildRequires: pvr-bin-UMG pvr-bin-UMG-compatlibs
BuildRequires: libtool
Requires: pvr-bin-UMG pvr-bin-UMG-compatlibs
%description
mrst/mfld video x11 drivers
%prep
%setup -q
# >> setup
# << setup
%build
# >> build pre
unset LD_AS_NEEDED
# << build pre
./autogen.sh
make %{?jobs:-j%jobs}
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
# >> install post
# << install post
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
# >> files
%{drimoduledir}/pvr_drv_video.so
%{fwdir}/*.bin
# << files