commit c0afca4b1e1991b66e8e4061c9f523c8a9268f5788b78bbfe16da98f46578bde Author: Stefan Dirsch Date: Thu Feb 9 13:19:13 2012 +0000 Accepting request 103570 from home:jengelh:branches:X11:XOrg Split xorg-x11-libs OBS-URL: https://build.opensuse.org/request/show/103570 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXvMC?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..e7dd57a --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libXvMC1 +libXvMC-devel + requires -libXvMC- + requires "libXvMC1- = " diff --git a/libXvMC-1.0.6.tar.bz2 b/libXvMC-1.0.6.tar.bz2 new file mode 100644 index 0000000..7a23c8f --- /dev/null +++ b/libXvMC-1.0.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dda80e9c71fd14a14f93279c6f661703c5c1c43d104a5db0842377bdf0c3392 +size 270013 diff --git a/libXvMC.changes b/libXvMC.changes new file mode 100644 index 0000000..61dba6b --- /dev/null +++ b/libXvMC.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Feb 7 22:17:49 UTC 2012 - jengelh@medozas.de + +- Split xorg-x11-libs into separate packages diff --git a/libXvMC.spec b/libXvMC.spec new file mode 100644 index 0000000..554a178 --- /dev/null +++ b/libXvMC.spec @@ -0,0 +1,94 @@ +# +# spec file for package libXvMC +# +# Copyright (c) 2012 SUSE LINUX Products 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: libXvMC +%define lname libXvMC1 +Version: 1.0.6 +Release: 0 +Summary: X-Video Motion Compensation library +License: MIT +Group: Development/Libraries/C and C++ +Url: http://cgit.freedesktop.org/xorg/lib/libXvMC/ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXvMC +Source: %name-%version.tar.bz2 +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.3, pkgconfig(x11) +BuildRequires: pkgconfig(xext), pkgconfig(xv), pkgconfig(xextproto) +BuildRequires: pkgconfig(videoproto) + +%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 +%makeinstall +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