%global source_date_epoch_from_changelog nil %global clamp_mtime_to_source_date_epoch 1 %global srcname eedi3m %global commitid d11bdb3 %global fullcommitid d11bdb37c7a7118cd095b53d9f8fbbac02a06ac0 Name: vapoursynth-plugin-%{srcname} Version: 4.r.%{commitid} Release: 1%{?dist} Summary: Vapoursynth plugin %{srcname} License: MIT URL: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI3 Source0: %{url}/archive/%{commitid}.zip BuildRequires: vapoursynth-devel BuildRequires: git-core BuildRequires: meson BuildRequires: g++ BuildRequires: opencl-headers BuildRequires: ocl-icd-devel BuildRequires: boost-devel Requires: vapoursynth-libs Requires: libstdc++ Requires: ocl-icd Requires: boost-filesystem Requires: boost-atomic %description Plugin for Vapoursynth: %{srcname} %prep %autosetup -S git -n VapourSynth-EEDI3-%{fullcommitid} %build CXXFLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" %meson --buildtype=release %meson_build %install %meson_install %files %{_libdir}/vapoursynth/libeedi3m.so