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
wf-recorder [2020/02/13 01:15]
admin created
wf-recorder [2020/04/06 23:51]
admin
Line 8: Line 8:
   Name:     wf-recorder   Name:     wf-recorder
   Version:  0.2   Version:  0.2
-  Release:  1+  Release:  3%{?dist}
   Summary:  Screen recorder for wlroots-based compositors eg swaywm   Summary:  Screen recorder for wlroots-based compositors eg swaywm
   License:  MIT   License:  MIT
   URL:      https://github.com/ammen99/wf-recorder   URL:      https://github.com/ammen99/wf-recorder
 +  Source0:  %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
      
-  # use this to fetch the source: spectool -g wf-recorder.spec +  %ifarch ppc64le 
-  Source0:  https://github.com/ammen99/wf-recorder/archive/v0.2.tar.gz#/%{name}-%{version}.tar.gz+  # fix compilation on ppc64le (gcc#58241) 
 +  %global configure_flags -Dcpp_std=gnu++11 
 +  %endif
      
-  %global debug_package %{nil} +  BuildRequires: gcc-c++ 
-   +  BuildRequires: ffmpeg-devel 
-  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: meson 
-   +  BuildRequires: ocl-icd-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: pulseaudio-libs-devel 
 +  BuildRequires: scdoc 
 +  BuildRequires: wayland-devel 
 +  BuildRequires: wayland-protocols-devel
      
   %description   %description
Line 27: Line 33:
   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 38:
      
   %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 48:
      
   %doc README.md   %doc README.md
-  %{_mandir}/man1/%{name}.1.gz+  %{_mandir}/man1/%{name}.1.*
      
   %license LICENSE   %license LICENSE
      
   %changelog   %changelog
 +  * Mon Apr 06 2020 Bob Hepple <bob.hepple@gmail.com> - 0.2-3
 +  - fixed release tag
 +  
 +  * Wed Feb 25 2020 Bob Hepple <bob.hepple@gmail.com> - 0.2-2
 +  - 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
 +  - 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-1.src.rpm |}}+   
 +{{ :wf-recorder-0.2-3.fc31.src.rpm |}}
wf-recorder.txt · Last modified: 2020/04/06 23:51 by admin