代码拉取完成,页面将自动刷新
%if 0%{?el9}
%ifarch ppc64le
%global _lto_cflags %{nil}
%endif
%endif
Name: movit
Version: 1.7.1
Release: 1%{?dist}
Summary: GPU video filter library
License: GPLv2+
Url: https://movit.sesse.net
Source0: https://movit.sesse.net/%{name}-%{version}.tar.gz
Source1: COPYING
Patch0: gcc_erase_signature.patch
Patch1: data.patch
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(eigen3)
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(libpng)
%if ! (0%{?rhel} >= 8)
BuildRequires: pkgconfig(SDL2_image)
%endif
BuildRequires: gtest-devel
Requires: %{name}-data = %{version}-%{release}
%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.
This package contains the Movit shared library.
%package devel
Summary: Development files for the Movit GPU video filter library
Requires: %{name} = %{version}-%{release}
%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 data
Summary: Data files for the Movit GPU video filter library
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description 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.
%prep
%setup -q
cp -a %{SOURCE1} .
%if 0%{?rhel} && 0%{?rhel} < 8
%patch -P0 -p1
%endif
%patch -P1 -p1
%build
aclocal
libtoolize --install --copy
autoconf
%configure --disable-static
%make_build TESTS=
%install
sed -i 's/-m 0644 libmovit.la/libmovit.la/' Makefile
%make_install
rm %{buildroot}%{_libdir}/libmovit.la
%files
%doc README NEWS
%license COPYING
%{_libdir}/libmovit.so.*
%files data
%{_datadir}/movit/
%files devel
%{_libdir}/libmovit.so
%{_includedir}/movit/
%{_libdir}/pkgconfig/movit.pc
%changelog
* Fri Apr 12 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.7.1-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。