Accepting request 110494 from home:jengelh:branches:X11:XOrg
- Remove redundant sections, compress filelist - Enable parallel build - Use pkgconfig symbols for deps OBS-URL: https://build.opensuse.org/request/show/110494 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libva?expand=0&rev=23
This commit is contained in:
parent
850bfc2f8c
commit
f247a59af6
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 21 19:02:15 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant sections, compress filelist
|
||||||
|
- Enable parallel build
|
||||||
|
- Use pkgconfig symbols for deps
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 27 19:30:59 CET 2012 - dmueller@suse.de
|
Mon Feb 27 19:30:59 CET 2012 - dmueller@suse.de
|
||||||
|
|
||||||
|
22
libva.spec
22
libva.spec
@ -14,9 +14,6 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: libva
|
Name: libva
|
||||||
Version: 1.0.15
|
Version: 1.0.15
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -30,11 +27,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libstdc++-devel
|
BuildRequires: libstdc++-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libudev-devel
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(libdrm)
|
BuildRequires: pkgconfig(libdrm)
|
||||||
BuildRequires: pkgconfig(libdrm_intel)
|
BuildRequires: pkgconfig(libdrm_intel)
|
||||||
|
BuildRequires: pkgconfig(libudev)
|
||||||
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*
|
||||||
@ -45,7 +42,6 @@ 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.
|
||||||
|
|
||||||
%package -n vaapi-tools
|
%package -n vaapi-tools
|
||||||
|
|
||||||
Summary: Video Acceleration (VA) API for Linux
|
Summary: Video Acceleration (VA) API for Linux
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
@ -66,7 +62,6 @@ The library loads a hardware dependendent driver.
|
|||||||
This contains the dummy and hardware drivers.
|
This contains the dummy and hardware drivers.
|
||||||
|
|
||||||
%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
|
||||||
|
|
||||||
@ -75,7 +70,6 @@ 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.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
|
||||||
Summary: Video Acceleration (VA) API for Linux -- development files
|
Summary: Video Acceleration (VA) API for Linux -- development files
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: libva1 = %{version}
|
Requires: libva1 = %{version}
|
||||||
@ -99,7 +93,7 @@ autoreconf -v --install
|
|||||||
--enable-glx \
|
--enable-glx \
|
||||||
--enable-egl \
|
--enable-egl \
|
||||||
--with-drivers-path=%{_libdir}/dri
|
--with-drivers-path=%{_libdir}/dri
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
pushd intel-driver-%{version}
|
pushd intel-driver-%{version}
|
||||||
export PKG_CONFIG_PATH="%{_builddir}/vaapi/libva-%{version}/pkgconfig:$PKG_CONFIG_PATH"
|
export PKG_CONFIG_PATH="%{_builddir}/vaapi/libva-%{version}/pkgconfig:$PKG_CONFIG_PATH"
|
||||||
@ -113,15 +107,13 @@ pushd libva-%{version}
|
|||||||
popd
|
popd
|
||||||
find %{buildroot} -name '*.la' -delete -print
|
find %{buildroot} -name '*.la' -delete -print
|
||||||
pushd intel-driver-%{version}
|
pushd intel-driver-%{version}
|
||||||
make CPPFLAGS="-I%{buildroot}%{_includedir}" LDFLAGS="-L%{buildroot}%{_libdir}"
|
make %{?_smp_mflags} CPPFLAGS="-I%{buildroot}%{_includedir}" \
|
||||||
|
LDFLAGS="-L%{buildroot}%{_libdir}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
popd
|
popd
|
||||||
|
|
||||||
find %{buildroot} -name '*.la' -delete -print
|
find %{buildroot} -name '*.la' -delete -print
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post -n libva1 -p /sbin/ldconfig
|
%post -n libva1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libva1 -p /sbin/ldconfig
|
%postun -n libva1 -p /sbin/ldconfig
|
||||||
@ -162,10 +154,6 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/libva-dummy.so
|
%{_libdir}/libva-dummy.so
|
||||||
%endif
|
%endif
|
||||||
%{_includedir}/va
|
%{_includedir}/va
|
||||||
%{_libdir}/pkgconfig/libva.pc
|
%{_libdir}/pkgconfig/libva*.pc
|
||||||
%{_libdir}/pkgconfig/libva-x11.pc
|
|
||||||
%{_libdir}/pkgconfig/libva-glx.pc
|
|
||||||
%{_libdir}/pkgconfig/libva-tpi.pc
|
|
||||||
%{_libdir}/pkgconfig/libva-egl.pc
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user