User Tools

Site Tools


wf-recorder

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
wf-recorder [2020/02/12 18:15] – created 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 
-  Requiresalsa-lib bzip2-libs cairo cairo-gobject dbus-libs expat ffmpeg-libs flac-libs fontconfig freetype fribidi gdk-pixbuf2 glib2 glibc gmp gnutls graphite2 gsm harfbuzz intel-mediasdk jack-audio-connection-kit keyutils-libs krb5-libs lame-libs libaom libass libasyncns libavdevice libblkid libbluray libcap libcdio libcdio-paranoia libcom_err libcroco libdatrie libdav1d libdrm libffi libgcc libgcrypt libglvnd libglvnd-glx libgomp libgpg-error libICE libidn2 libjpeg-turbo libmount libogg libpng librsvg2 libselinux libSM libsndfile libssh libstdc++ libtasn1 libthai libtheora libunistring libuuid libv4l libva libvdpau libvmaf libvorbis libvpx libwayland-client libX11 libX11-xcb libXau libxcb libXext libXi libxml2 libXrender libXtst lz4-libs nettle numactl-libs ocl-icd openal-soft opencore-amr openjpeg2 openssl-libs opus p11-kit pango pcre2 pcre pixman pugixml pulseaudio-libs SDL2 soxr speex systemd-libs vid.stab vo-amrwbenc x264-libs x265-libs xvidcore xz-libs zimg zlib zvbi+  BuildRequires: meson 
 +  BuildRequires: ocl-icd-devel 
 +  BuildRequires: pulseaudio-libs-devel 
 +  BuildRequires: scdoc 
 +  BuildRequires: wayland-devel 
 +  BuildRequires: wayland-protocols-devel
      
   %description   %description
Line 27: 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 36: 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 49: 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