Accepting request 121964 from home:polyconvex:branches:X11:XOrg
- Rename subpackage vaapi-drivers -> vaapi-dummy-driver since dummy is the only driver this package contains. - Let the library recommend the dummy driver in case no other is present OBS-URL: https://build.opensuse.org/request/show/121964 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libva?expand=0&rev=28
This commit is contained in:
parent
e81a6048f3
commit
ebe1ad4817
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 23 14:13:51 UTC 2012 - kkhere.geo@gmail.com
|
||||||
|
|
||||||
|
- Rename subpackage vaapi-drivers -> vaapi-dummy-driver
|
||||||
|
since dummy is the only driver this package contains.
|
||||||
|
- Let the library recommend the dummy driver in case no other
|
||||||
|
is present
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 22 22:40:06 UTC 2012 - crrodriguez@opensuse.org
|
Tue May 22 22:40:06 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
23
libva.spec
23
libva.spec
@ -17,25 +17,23 @@
|
|||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
%define driver_version 1.0.17
|
|
||||||
%define lib_version 1.0.15
|
|
||||||
|
|
||||||
Name: libva
|
Name: libva
|
||||||
Version: %{lib_version}
|
Version: 1.0.15
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Video Acceleration (VA) API for Linux
|
Summary: Video Acceleration (VA) API for Linux
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://freedesktop.org/wiki/Software/vaapi
|
Url: http://freedesktop.org/wiki/Software/vaapi
|
||||||
Source0: http://cgit.freedesktop.org/libva/snapshot/%{name}-%{lib_version}.tar.bz2
|
Source0: http://cgit.freedesktop.org/libva/snapshot/%{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(libdrm)
|
BuildRequires: pkgconfig(libdrm)
|
||||||
BuildRequires: pkgconfig(libdrm_intel)
|
|
||||||
BuildRequires: pkgconfig(libudev)
|
BuildRequires: pkgconfig(libudev)
|
||||||
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRequires: pkgconfig(xfixes)
|
BuildRequires: pkgconfig(xfixes)
|
||||||
# pkgconfig(libdrm_intel) currently only exists on x86*
|
# pkgconfig(libdrm_intel) currently only exists on x86*
|
||||||
@ -48,6 +46,7 @@ The library loads a hardware dependendent driver.
|
|||||||
%package -n libva1
|
%package -n libva1
|
||||||
Summary: Video Acceleration (VA) API for Linux
|
Summary: Video Acceleration (VA) API for Linux
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Recommends: vaapi-dummy-driver
|
||||||
|
|
||||||
%description -n libva1
|
%description -n libva1
|
||||||
The libva library implements the Video Acceleration (VA) API for Linux.
|
The libva library implements the Video Acceleration (VA) API for Linux.
|
||||||
@ -78,23 +77,21 @@ The library loads a hardware dependendent driver.
|
|||||||
|
|
||||||
This is a set of tools around vaapi livrary.
|
This is a set of tools around vaapi livrary.
|
||||||
|
|
||||||
%package -n vaapi-drivers
|
%package -n vaapi-dummy-driver
|
||||||
Version: %{driver_version}
|
|
||||||
Release: 0
|
|
||||||
Summary: Video Acceleration (VA) API for Linux
|
Summary: Video Acceleration (VA) API for Linux
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n vaapi-drivers
|
%description -n vaapi-dummy-driver
|
||||||
The libva library implements the Video Acceleration (VA) API for Linux.
|
The libva library implements the Video Acceleration (VA) API for Linux.
|
||||||
The library loads a hardware dependendent driver.
|
The library loads a hardware dependendent driver.
|
||||||
|
|
||||||
This contains the dummy and hardware drivers.
|
This contains the dummy driver.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n vaapi -c -a 0
|
%setup -q -n vaapi -c -a 0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd libva-%{lib_version}
|
pushd libva-%{version}
|
||||||
autoreconf -v --install
|
autoreconf -v --install
|
||||||
%configure --enable-dummy-driver \
|
%configure --enable-dummy-driver \
|
||||||
%if 0%{?suse_version} >= 01120
|
%if 0%{?suse_version} >= 01120
|
||||||
@ -107,7 +104,7 @@ make %{?_smp_mflags}
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd libva-%{lib_version}
|
pushd libva-%{version}
|
||||||
%makeinstall
|
%makeinstall
|
||||||
popd
|
popd
|
||||||
find %{buildroot} -name '*.la' -delete -print
|
find %{buildroot} -name '*.la' -delete -print
|
||||||
@ -125,7 +122,7 @@ grep -r include %{buildroot}%{_includedir}
|
|||||||
%{_bindir}/mpeg2vldemo
|
%{_bindir}/mpeg2vldemo
|
||||||
%{_bindir}/putsurface
|
%{_bindir}/putsurface
|
||||||
|
|
||||||
%files -n vaapi-drivers
|
%files -n vaapi-dummy-driver
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{_libdir}/dri
|
%dir %{_libdir}/dri
|
||||||
%{_libdir}/dri/dummy_drv_video.so
|
%{_libdir}/dri/dummy_drv_video.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user