Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP2:Update
movit
movit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File movit.spec of Package movit
# # spec file for package movit # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 The openSUSE Project. # # 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/ # %define _sonum 8 # Benchmark support disabled for now, looks like its .pc file can't be found %bcond_with benchmark Name: movit Version: 1.6.2 Release: 0 Summary: GPU video filter library License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Url: https://movit.sesse.net Source0: https://movit.sesse.net/movit-%{version}.tar.gz # PATCH-FIX-UPSTREAM movit-1.6.0-versioned-shaderdir.patch -- Make shader directory versioned Patch0: movit-1.6.0-versioned-shaderdir.patch BuildRequires: automake BuildRequires: make BuildRequires: pkgconfig BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(eigen3) BuildRequires: pkgconfig(epoxy) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(sdl2) %if 0%{?suse_version} == 1315 # For Leap 42.3 BuildRequires: gcc7-c++ %else BuildRequires: gcc-c++ %endif %if %{with benchmark} BuildRequires: pkgconfig(benchmark) %endif %description Movit is a library for video filters. It uses the GPU present in many computers to accelerate computation of common filters and transitions, facilitating real-time HD video editing. %package -n libmovit%{_sonum} Summary: GPU video filter library Group: System/Libraries Requires: %{name}%{_sonum}-data Provides: %{name} = %{version} Obsoletes: %{name} < %{version} %description -n libmovit%{_sonum} Movit is a library for video filters. It uses the GPU present in many computers to accelerate computation of common filters and transitions, facilitating real-time HD video editing. This package contains the Movit shared library. %package devel Summary: Development files for the Movit GPU video filter library Group: Development/Libraries/C and C++ Requires: libmovit%{_sonum} = %{version} %description devel Movit is a library for video filters. It uses the GPU present in many computers to accelerate computation of common filters and transitions, facilitating real-time HD video editing. This package contains the development files (library and header files). %package -n movit%{_sonum}-data Summary: Data files for the Movit GPU video filter library Group: Development/Libraries/C and C++ Provides: %{name}-data = %{version} Obsoletes: %{name}-data < %{version} BuildArch: noarch %description -n movit%{_sonum}-data Movit is a library for video filters. It uses the GPU present in many computers to accelerate computation of common filters and transitions, facilitating real-time HD video editing. This package contains the architecture-independent data files (GLSL fragment shaders). %prep %setup -q %patch0 -p1 %build # For Leap 42.3, force use of GCC 7 test -x "$(type -p gcc-7)" && export CC=gcc-7 test -x "$(type -p g++-7)" && export CXX=g++-7 autoreconf %configure \ --disable-static \ --with-shaderdir="%{_datadir}/%{name}%{_sonum}" %if %{with benchmark} --with-benchmark \ %endif make %{?_smp_mflags} TESTS= %install %make_install rm %{buildroot}%{_libdir}/libmovit.la %post -n libmovit%{_sonum} -p /sbin/ldconfig %postun -n libmovit%{_sonum} -p /sbin/ldconfig %files -n libmovit%{_sonum} %license COPYING %doc README NEWS %{_libdir}/libmovit.so.* %files -n movit%{_sonum}-data %license COPYING %{_datadir}/movit%{_sonum}/ %files devel %license COPYING %{_libdir}/libmovit.so %{_includedir}/%{name} %{_libdir}/pkgconfig/%{name}.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor