https://bugzilla.rpmfusion.org/show_bug.cgi?id=5527

--- Comment #4 from Bob Hepple <[email protected]> ---
Thanks for your help with this, Leigh.

I've been working through your changes and have a couple of questions /
problems that I haven't been able to resolve:

1. The new 'BuildRequires: ocl-icd-devel' was not needed before - I was able to
build without it before and had to install it to continue. OK, maybe it's
needed by the new %meson macros etc so I'll roll with it for now.

2. The %meson macro fails:

Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency wayland-client found: YES 1.17.0
Run-time dependency wayland-protocols found: YES 1.18
Run-time dependency opencl found: YES 2.2
Run-time dependency libavutil found: YES 56.31.100
Run-time dependency libavcodec found: YES 58.54.100
Run-time dependency libavformat found: YES 58.29.100
Run-time dependency libavdevice found: YES 58.8.100
Run-time dependency libswscale found: YES 5.5.100
Run-time dependency libswresample found: YES 3.5.100
Run-time dependency threads found: YES 
Run-time dependency libpulse-simple found: YES 13.0-rebootstrapped
Configuring config.h using configuration
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Found CMake: /usr/bin/cmake (3.16.2)
Build-time dependency scdoc found: NO (tried pkgconfig and cmake)

meson.build:51:0: ERROR: Dependency "scdoc" not found, tried pkgconfig and
cmake

My latest specfile is:

Name:     wf-recorder
Version:  0.2
Release:  1
Summary:  Screen recorder for wlroots-based compositors eg swaywm
License:  MIT
URL:      https://github.com/ammen99/wf-recorder

# use this to fetch the source: spectool -g wf-recorder.spec
Source0:  %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
%global debug_package %{nil}

BuildRequires: gcc-c++
BuildRequires: ffmpeg-devel
BuildRequires: meson
BuildRequires: ocl-icd-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: scdoc
BuildRequires: wayland-devel
BuildRequires: wayland-protocols-devel

%description

wf-recorder is a utility program for screen recording of wlroots-based
compositors (more specifically, those that support wlr-screencopy-v1
and xdg-output). Its dependencies are ffmpeg, wayland-client and
wayland-protocols.

%prep
%autosetup

%build
%meson
# works: meson build --prefix=%{buildroot}/usr --buildtype=release
# meson_build
ninja -C build

%install
ninja -C build install
# meson_install

%files
%{_bindir}/wf-recorder*

%doc README.md
%{_mandir}/man1/%{name}.1.*

%license LICENSE

%changelog
* Wed Feb 12 2020 Bob Hepple <[email protected]> - 0.2-1
- Initial version of the package

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
rpmfusion-developers mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to