29e60cc6c5
- Update libvdpau to version 1.1 * This release fixes a bug in the new VdpPictureInfoHEVC structure: the column_width_minus1 and row_height_minus1 arrays had the wrong dimensions. To avoid the incorrect structure being used, the profile numbers for the HEVC profiles have been changed. Please use the new profiles rather than the ones from libvdpau 1.0. - Update libvdpau to version 1.0 * This release adds support for the following HEVC / H.265 profiles: VDP_DECODER_PROFILE_HEVC_MAIN VDP_DECODER_PROFILE_HEVC_MAIN_10 VDP_DECODER_PROFILE_HEVC_MAIN_STILL VDP_DECODER_PROFILE_HEVC_MAIN_12 VDP_DECODER_PROFILE_HEVC_MAIN_444 - Updated vdpauinfo to version 0.9 * This release adds support for querying the new profiles added in libvdpau 1.0 (see above) - cleanup: removed empty patch 'vdpauinfo-missing-lX11.diff' OBS-URL: https://build.opensuse.org/request/show/291154 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvdpau?expand=0&rev=28
141 lines
4.4 KiB
RPMSpec
141 lines
4.4 KiB
RPMSpec
#
|
|
# spec file for package libvdpau
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: libvdpau
|
|
Version: 1.1
|
|
Release: 0
|
|
Summary: VDPAU wrapper and trace libraries
|
|
License: MIT
|
|
Group: System/Libraries
|
|
Url: http://www.freedesktop.org/wiki/Software/VDPAU/
|
|
Source: http://people.freedesktop.org/~aplattner/vdpau/%{name}-%{version}.tar.bz2
|
|
Source1: http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-1.0.tar.gz
|
|
Source2: README
|
|
Source99: baselibs.conf
|
|
Source100: %{name}-rpmlintrc
|
|
# PATCH-FIX-OPENSUSE libvdpau-nopdftex.patch -- don't requires pdftex for building
|
|
Patch1: libvdpau-nopdftex.patch
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: graphviz
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xext)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package contains the libvdpau wrapper library and the libvdpau_trace
|
|
debugging library, along with the header files needed to build VDPAU
|
|
applications. To actually use a VDPAU device, you need a vendor-specific
|
|
implementation library. Currently, this is always libvdpau_nvidia. You can
|
|
override the driver name by setting the VDPAU_DRIVER environment variable.
|
|
|
|
%package -n libvdpau1
|
|
Summary: VDPAU wrapper library
|
|
Group: System/Libraries
|
|
Provides: libvdpau = %{version}-%{release}
|
|
Obsoletes: libvdpau < %{version}-%{release}
|
|
|
|
%description -n libvdpau1
|
|
This package contains the libvdpau wrapper library and the libvdpau_trace
|
|
debugging library, along with the header files needed to build VDPAU
|
|
applications. To actually use a VDPAU device, you need a vendor-specific
|
|
implementation library. Currently, this is always libvdpau_nvidia. You can
|
|
override the driver name by setting the VDPAU_DRIVER environment variable.
|
|
|
|
%package -n libvdpau-devel
|
|
Summary: VDPAU wrapper development files
|
|
Group: Development/Libraries/X11
|
|
Requires: libvdpau1 = %{version}
|
|
|
|
%description -n libvdpau-devel
|
|
Note that this package only contains the VDPAU headers that are required to
|
|
build applications. At runtime, the shared libraries are needed too and may
|
|
be installed using the proprietary nVidia driver packages.
|
|
|
|
%package -n libvdpau_trace1
|
|
Summary: VDPAU trace library
|
|
Group: Development/Libraries/X11
|
|
Requires: libvdpau1 = %{version}
|
|
Provides: libvdpau_trace = %{version}-%{release}
|
|
Obsoletes: libvdpau_trace < %{version}-%{release}
|
|
|
|
%description -n libvdpau_trace1
|
|
This package provides the library for tracing VDPAU function calls.
|
|
Its usage is documented in the README.
|
|
|
|
%prep
|
|
%setup -q -b1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
autoreconf -fi
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
rm %{buildroot}%{_libdir}/libvdpau.la
|
|
rm %{buildroot}%{_libdir}/vdpau/libvdpau_trace.la
|
|
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}/vdpau
|
|
rm %{buildroot}%{_libdir}/vdpau/libvdpau_trace.so
|
|
|
|
pushd ../vdpauinfo-*
|
|
%configure \
|
|
VDPAU_CFLAGS=-I$RPM_BUILD_ROOT/usr/include \
|
|
VDPAU_LIBS="-L$RPM_BUILD_ROOT/%{_libdir} -lvdpau -lX11"
|
|
|
|
make %{?_smp_mflags}
|
|
%makeinstall
|
|
popd
|
|
|
|
cp $RPM_SOURCE_DIR/README .
|
|
|
|
%fdupes -s $RPM_BUILD_ROOT/%{_datadir}/doc/
|
|
|
|
%post -n libvdpau1 -p /sbin/ldconfig
|
|
|
|
%postun -n libvdpau1 -p /sbin/ldconfig
|
|
|
|
%files -n libvdpau1
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/vdpau
|
|
/usr/bin/vdpauinfo
|
|
%{_libdir}/libvdpau.so.*
|
|
%config /etc/vdpau_wrapper.cfg
|
|
|
|
%files -n libvdpau-devel
|
|
%defattr(-,root,root)
|
|
%doc %{_datadir}/doc/%{name}
|
|
%dir %{_libdir}/vdpau
|
|
%{_includedir}/vdpau
|
|
%{_libdir}/libvdpau.so
|
|
%{_libdir}/pkgconfig/vdpau.pc
|
|
|
|
%files -n libvdpau_trace1
|
|
%defattr(-,root,root)
|
|
%doc README
|
|
%{_libdir}/vdpau/libvdpau_trace.so.*
|
|
|
|
%changelog
|