6 Star 0 Fork 0

OpenCloudOS Stream/movit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
movit.spec 2.46 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-05-12 23:35 . update
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/movit.git
git@gitee.com:opencloudos-stream/movit.git
opencloudos-stream
movit
movit
master

搜索帮助

Cb406eda 1850385 E526c682 1850385