Hello community, here is the log from the commit of package libva for openSUSE:Factory checked in at 2012-05-29 10:33:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libva (Old) and /work/SRC/openSUSE:Factory/.libva.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libva", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libva/libva.changes 2012-05-08 11:55:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libva.new/libva.changes 2012-05-29 10:34:03.000000000 +0200 @@ -1,0 +2,17 @@ +Wed May 23 14:13:51 UTC 2012 - [email protected] + +- 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 - [email protected] + +- Remove intel-driver, it has been packaged separately + with proper hardware "Supplements" so it gets installed + only when needed. +- Fix -devel package requires, otherwise dependant packages + fail with missing headers wanted by files in /usr/include/va. + +------------------------------------------------------------------- Old: ---- intel-driver-1.0.17.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libva.spec ++++++ --- /var/tmp/diff_new_pack.YBa9ky/_old 2012-05-29 10:34:04.000000000 +0200 +++ /var/tmp/diff_new_pack.YBa9ky/_new 2012-05-29 10:34:04.000000000 +0200 @@ -17,27 +17,23 @@ # -%define driver_version 1.0.17 -%define lib_version 1.0.15 Name: libva -Version: %{lib_version} +Version: 1.0.15 Release: 0 Summary: Video Acceleration (VA) API for Linux License: MIT Group: System/Libraries Url: http://freedesktop.org/wiki/Software/vaapi -Source0: http://cgit.freedesktop.org/libva/snapshot/%{name}-%{lib_version}.tar.bz2 -Source1: http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/intel-driver-%{driver_version}.tar.bz2 +Source0: http://cgit.freedesktop.org/libva/snapshot/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ -BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: pkg-config BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(libdrm) -BuildRequires: pkgconfig(libdrm_intel) BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) # pkgconfig(libdrm_intel) currently only exists on x86* @@ -50,6 +46,7 @@ %package -n libva1 Summary: Video Acceleration (VA) API for Linux Group: System/Libraries +Recommends: vaapi-dummy-driver %description -n libva1 The libva library implements the Video Acceleration (VA) API for Linux. @@ -59,6 +56,10 @@ Summary: Video Acceleration (VA) API for Linux -- development files Group: Development/Languages/C and C++ Requires: libva1 = %{version} +Requires: pkgconfig(gl) +Requires: pkgconfig(libdrm) +Requires: pkgconfig(x11) +Requires: pkgconfig(xfixes) %description devel The libva library implements the Video Acceleration (VA) API for Linux. @@ -76,23 +77,21 @@ This is a set of tools around vaapi livrary. -%package -n vaapi-drivers -Version: %{driver_version} -Release: 0 +%package -n vaapi-dummy-driver Summary: Video Acceleration (VA) API for Linux Group: System/Libraries -%description -n vaapi-drivers +%description -n vaapi-dummy-driver The libva library implements the Video Acceleration (VA) API for Linux. The library loads a hardware dependendent driver. -This contains the dummy and hardware drivers. +This contains the dummy driver. %prep -%setup -q -n vaapi -c -a 0 -a 1 +%setup -q -n vaapi -c -a 0 %build -pushd libva-%{lib_version} +pushd libva-%{version} autoreconf -v --install %configure --enable-dummy-driver \ %if 0%{?suse_version} >= 01120 @@ -103,24 +102,13 @@ --with-drivers-path=%{_libdir}/dri make %{?_smp_mflags} popd -pushd intel-driver-%{driver_version} -export PKG_CONFIG_PATH="%{_builddir}/vaapi/libva-%{lib_version}/pkgconfig:$PKG_CONFIG_PATH" -autoreconf -v --install -%configure -popd %install -pushd libva-%{lib_version} +pushd libva-%{version} %makeinstall popd find %{buildroot} -name '*.la' -delete -print -pushd intel-driver-%{driver_version} -make %{?_smp_mflags} CPPFLAGS="-I%{buildroot}%{_includedir}" \ - LDFLAGS="-L%{buildroot}%{_libdir}" -%makeinstall -popd - -find %{buildroot} -name '*.la' -delete -print +grep -r include %{buildroot}%{_includedir} %post -n libva1 -p /sbin/ldconfig @@ -134,11 +122,10 @@ %{_bindir}/mpeg2vldemo %{_bindir}/putsurface -%files -n vaapi-drivers +%files -n vaapi-dummy-driver %defattr(-,root,root,-) %dir %{_libdir}/dri %{_libdir}/dri/dummy_drv_video.so -%{_libdir}/dri/i965_drv_video.so %files -n libva1 %defattr(-, root, root) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
