Репозиторий Sisyphus
Последнее обновление: 20 сентября 2019 | Пакетов: 17455 | Посещений: 15130741
en ru br
Репозитории ALT
S:1.6.1-alt2
5.1: 1.2-alt0.M51.1
4.1: 1.1.19-alt2
www.altlinux.org/Changes

Группа :: Видео
Пакет: frei0r-plugins

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

%def_with opencv

%define bname frei0r
%define major_ver 1
%define minor_ver 6

Name: %bname-plugins
Version: %major_ver.%minor_ver.1
Release: alt2

Summary: Frei0r - a minimalistic plugin API for video effects
License: %lgpl2plus
Group: Video

Url: https://frei0r.dyne.org
# git https://github.com/dyne/frei0r.git
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Packager: Alexey Shabalin <shaba at altlinux.ru>

BuildRequires(pre): rpm-build-licenses
BuildRequires: gcc-c++
BuildRequires: libgavl-devel >= 0.2.3
BuildRequires: doxygen fonts-ttf-dejavu graphviz
BuildRequires: libcairo-devel >= 1.0.0
%{?_with_opencv:BuildRequires: libopencv-devel}

%description
It is a minimalistic plugin API for video sources and filters. The behaviour of
the effects can be controlled from the host by simple parameters. The intent is
to solve the recurring reimplementation or adaptation issue of standard effect

%package -n frei0r-devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release

%description -n frei0r-devel
The %name-devel package contains libraries and header files for
developing applications that use %name.

%package -n frei0r-devel-doc
Summary: Development documentation for %name
Group: Development/Documentation
BuildArch: noarch

%description -n frei0r-devel-doc
This package contains development documentation for %name

%package facedetect
Summary: Face detect plugin for %name
Group: Video
Requires: %name = %version-%release
Requires: libopencv-utils

%description facedetect
Face detect plugin for %name

%prep
%setup
%patch -p1

%build
mkdir -p m4
%autoreconf
%configure --disable-static

# workaround cvconfig.h

ln -s config.h include/cvconfig.h

%make_build

%install
%makeinstall_std

%files
%dir %_libdir/%bname-%major_ver
%_libdir/%bname-%major_ver/*.so
%if_with opencv
%exclude %_libdir/%bname-%major_ver/facebl0r.so
%exclude %_libdir/%bname-%major_ver/facedetect.so
%endif

%files -n frei0r-devel
%_includedir/frei0r.h
%_pkgconfigdir/*.pc

%files -n frei0r-devel-doc
%_defaultdocdir/%name/*

%if_with opencv
%files facedetect
%_libdir/%bname-%major_ver/facebl0r.so
%_libdir/%bname-%major_ver/facedetect.so
%endif

%changelog

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

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