User Tools

Site Tools


wf-recorder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wf-recorder [2020/02/12 18:25] adminwf-recorder [2020/03/16 20:02] admin
Line 8: Line 8:
   Name:     wf-recorder   Name:     wf-recorder
   Version:  0.2   Version:  0.2
-  Release:  1+  Release:  2%{?dist}.wef
   Summary:  Screen recorder for wlroots-based compositors eg swaywm   Summary:  Screen recorder for wlroots-based compositors eg swaywm
   License:  MIT   License:  MIT
Line 14: Line 14:
      
   # use this to fetch the source: spectool -g wf-recorder.spec   # use this to fetch the source: spectool -g wf-recorder.spec
-  Source0:  https://github.com/ammen99/wf-recorder/archive/v0.2.tar.gz#/%{name}-%{version}.tar.gz+  Source0:  %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
      
-  %global debug_package %{nil}+  %ifarch ppc64le 
 +  # fix compilation on ppc64le (gcc#58241) 
 +  %global configure_flags -Dcpp_std=gnu++11 
 +  %endif
      
-  BuildRequires: meson gcc-c++ wayland-devel mesa-libEGL-devel mesa-libGLES-devel mesa-dri-drivers xorg-x11-server-Xwayland libdrm-devel libgbm-devel libxkbcommon-devel libudev-devel pixman-devel libinput-devel libevdev-devel systemd-devel cairo-devel libpcap-devel json-c-devel pam-devel pango-devel pcre-devel gdk-pixbuf2-devel wayland-protocols-devel opencl-headers opencl-utils libwayland-client ffmpeg-devel opencl-utils opencl-headers opencl-filesystem mesa-libOpenCL pulseaudio-libs pulseaudio-libs-devel pulseaudio-utils scdoc+  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   %description
Line 25: Line 35:
   and xdg-output). Its dependencies are ffmpeg, wayland-client and   and xdg-output). Its dependencies are ffmpeg, wayland-client and
   wayland-protocols.   wayland-protocols.
-   
-  Make sure you have RPMfusion repo installed: 
-   
-  dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm 
      
   %prep   %prep
Line 34: Line 40:
      
   %build   %build
-  meson build --prefix=%{buildroot}/usr --buildtype=release +  %meson %{?configure_flags
-  ninja -C build +  %meson_build
-  scdoc < manpage/wf-recorder.1.scd | gzip -c > manpage/%{name}.1.gz+
      
   %install   %install
-  ninja -C build install +  %meson_install
-  mkdir -p %{buildroot}/%{_mandir}/man1 +
-  install -p -m 644 manpage/%{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz+
      
   %files   %files
Line 47: Line 50:
      
   %doc README.md   %doc README.md
-  %{_mandir}/man1/%{name}.1.gz+  %{_mandir}/man1/%{name}.1.*
      
   %license LICENSE   %license LICENSE
      
   %changelog   %changelog
 +  * Wed Feb 25 2020 Bob Hepple <bob.hepple@gmail.com> - 0.2-2.fc31.wef
 +  - fix ppc64le compile error ref. https://bugzilla.rpmfusion.org/show_bug.cgi?id=5527
 +  * Tue Feb 18 2020 Bob Hepple <bob.hepple@gmail.com> - 0.2-1.fc31.wef
 +  - fix release string
   * Wed Feb 12 2020 Bob Hepple <bob.hepple@gmail.com> - 0.2-1   * Wed Feb 12 2020 Bob Hepple <bob.hepple@gmail.com> - 0.2-1
   - Initial version of the package   - Initial version of the package
      
- +{{ :wf-recorder-0.2-2.fc31.wef.src.rpm |}}
-{{ :wf-recorder-0.2-1.src.rpm |}}+
wf-recorder.txt · Last modified: 2020/04/06 17:51 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki