2012-02-09 14:19:13 +01:00
|
|
|
#
|
|
|
|
# spec file for package libXvMC
|
|
|
|
#
|
2019-03-22 12:23:51 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-02-09 14:19:13 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
2012-03-07 10:47:46 +01:00
|
|
|
|
|
|
|
|
2012-02-09 14:19:13 +01:00
|
|
|
Name: libXvMC
|
|
|
|
%define lname libXvMC1
|
2019-03-22 12:23:51 +01:00
|
|
|
Version: 1.0.11
|
2012-02-09 14:19:13 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: X-Video Motion Compensation library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-03-07 10:47:46 +01:00
|
|
|
Url: http://xorg.freedesktop.org/
|
2012-02-09 14:19:13 +01:00
|
|
|
|
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXvMC
|
2012-02-13 11:08:16 +01:00
|
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXvMC/
|
2012-04-12 12:45:00 +02:00
|
|
|
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
2015-03-21 21:32:28 +01:00
|
|
|
Source1: baselibs.conf
|
2012-03-07 10:47:46 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-02-09 14:19:13 +01:00
|
|
|
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
2012-04-12 12:45:00 +02:00
|
|
|
BuildRequires: pkgconfig
|
2012-03-07 10:47:46 +01:00
|
|
|
BuildRequires: pkgconfig(videoproto)
|
2012-04-12 12:45:00 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xextproto)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
|
|
|
BuildRequires: pkgconfig(xv)
|
2012-02-09 14:19:13 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
X-Video Motion Compensation (XvMC), is an extension of the X video
|
|
|
|
extension (Xv) for the X Window System. The XvMC API allows video
|
|
|
|
programs to offload portions of the video decoding process to the GPU
|
|
|
|
video-hardware.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: X-Video Motion Compensation library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
X-Video Motion Compensation (XvMC), is an extension of the X video
|
|
|
|
extension (Xv) for the X Window System. The XvMC API allows video
|
|
|
|
programs to offload portions of the video decoding process to the GPU
|
|
|
|
video-hardware.
|
|
|
|
|
|
|
|
The supported portions to be offloaded by XvMC onto the GPU are
|
|
|
|
motion compensation (mo comp) and inverse discrete cosine transform
|
|
|
|
(iDCT) for MPEG-2 video. XvMC also supports offloading decoding of mo
|
|
|
|
comp, iDCT, and VLD (Variable-Length Decoding) for MPEG-2/MPEG-4-ASP.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the X-Video Motion Compensation library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
X-Video Motion Compensation (XvMC), is an extension of the X video
|
|
|
|
extension (Xv) for the X Window System. The XvMC API allows video
|
|
|
|
programs to offload portions of the video decoding process to the GPU
|
|
|
|
video-hardware.
|
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
|
|
|
in %lname.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --docdir=%_docdir/%name --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-03-19 20:47:54 +01:00
|
|
|
make install DESTDIR="%buildroot"
|
2012-02-09 14:19:13 +01:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libXvMC*.so.1*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/X11/*
|
|
|
|
%_libdir/libXvMC*.so
|
|
|
|
%_libdir/pkgconfig/xvmc.pc
|
|
|
|
%_docdir/%name
|
|
|
|
|
|
|
|
%changelog
|