Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37864224
en ru br
Репозитории ALT
5.1: 1.0.0-alt0.2
4.1: 1.0.0-alt0.2
4.0: 1.0.0-alt0.2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: vidix

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable static

%define svnrev 21861

Name: vidix
%define lname lib%name
Version: 1.0.0
Release: alt0.2
Summary: VIDeo Interface for *niX
License: GPL
Group: System/Libraries
URL: http://www.mplayerhq.hu
# svn checkout svn.mplayerhq.hu/mplayer/trunk/libdha
Source: %name-svn-r%svnrev.tar.bz2
Patch0: %name-svn-r21861-configure.patch.gz
Patch1: %name-svn-r21861-include.patch.gz

BuildRequires: libdha-devel >= 1.0-alt0.3

%description
VIDIX - VIDeo Interface for *niX.
This interface was designed and introduced as interface to userspace
drivers to provide DGA everywhere where it's possible (unline X11).
What is it:
 - It's portable successor of mga_vid technology which is located in
   user-space.
 - Unlikely X11 it's provides DGA everywhere where it's possible.
 - Unlikely v4l it provides interface for video playback
 - Unlikely linux's drivers it uses mathematics library.

 
%package -n %lname
Summary: VIDeo Interface for *niX library
Group: System/Libraries

%description -n %lname
VIDIX - VIDeo Interface for *niX.
This interface was designed and introduced as interface to userspace
drivers to provide DGA everywhere where it's possible (unline X11).
What is it:
 - It's portable successor of mga_vid technology which is located in
   user-space.
 - Unlikely X11 it's provides DGA everywhere where it's possible.
 - Unlikely v4l it provides interface for video playback
 - Unlikely linux's drivers it uses mathematics library.

This package contents shared library for VIDIX.


%package -n %lname-devel
Summary: Headers for VIDeo Interface for *niX library
Group: Development/C
Requires: %lname = %version-%release

%description -n %lname-devel
Headers for VIDeo Interface for *niX (VIDIX) library.


%if_enabled static
%package -n %lname-devel-static
Summary: Static library of VIDeo Interface for *niX
Group: Development/C
Requires: %lname-devel = %version-%release

%description -n %lname-devel-static
Static library of VIDeo Interface for *niX (VIDIX).
%endif


%package drivers
Summary: Drivers for VIDIX
Group: System/Libraries
Conflicts: MPlayer-vidix-driver

%description drivers
VIDIX - VIDeo Interface for *niX.
This interface was designed and introduced as interface to userspace
drivers to provide DGA everywhere where it's possible (unline X11).
What is it:
 - It's portable successor of mga_vid technology which is located in
   user-space.
 - Unlikely X11 it's provides DGA everywhere where it's possible.
 - Unlikely v4l it provides interface for video playback
 - Unlikely linux's drivers it uses mathematics library.

This package contents VIDIX drivers.


%prep
%setup -q -n %name-svn-r%svnrev
%patch0 -p1
%patch1 -p1


%build
%add_optflags %optflags_shared
CFLAGS="%optflags" sh ./configure --prefix=%_prefix --libdir=%_libdir --cc=gcc
%make_build
%{?_enable_static:%make_build %lname.a}


%install
%make_install LIBDIR=%buildroot%_libdir INCDIR=%buildroot%_includedir/vidix install
%{?_enable_static:install -m 0644 %lname.a %buildroot%_libdir/}


%post -n %lname -p %post_ldconfig
%postun -n %lname -p %postun_ldconfig


%files -n %lname
%doc README
%_libdir/*.so.*


%files -n %lname-devel
%_includedir/%name
%_libdir/*.so


%if_enabled static
%files -n %lname-devel-static
%_libdir/*.a
%endif


%files drivers
%dir %_libdir/%name
%_libdir/%name/*


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin