Package Details: simplescreenrecorder 0.4.4-3

Git Clone URL: https://aur.archlinux.org/simplescreenrecorder.git (read-only, click to copy)
Package Base: simplescreenrecorder
Description: A feature-rich screen recorder that supports X11 and OpenGL.
Upstream URL: https://www.maartenbaert.be/simplescreenrecorder/
Licenses: GPL3
Submitter: arojas
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 62
Popularity: 5.62
First Submitted: 2023-04-01 17:32 (UTC)
Last Updated: 2024-06-26 16:42 (UTC)

Latest Comments

1 2 3 Next › Last »

FredBezies commented on 2024-09-02 19:34 (UTC)

@evilside: pkgconf is part of base-devel which is needed to build AUR packages. Cf https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

"Ensure base-devel is installed."

lukinhasb commented on 2024-09-02 18:55 (UTC)

If it helps anyone: I was having issues with it after a ffmpeg upgrade, but removing it and installing/building it again worked.

evilside commented on 2024-08-26 15:21 (UTC)

It's neccessary to add "pkgconf" package as build dependency.

Brottweiler commented on 2024-07-13 21:08 (UTC)

ffmpeg7 fix has been merged upstream: https://github.com/MaartenBaert/ssr/pull/1031

Also keep an eye on https://github.com/MaartenBaert/ssr/pull/1036#issuecomment-2227102946 because it might also be merged.

0m3 commented on 2024-06-26 19:09 (UTC)

Hello, FredBezies.

It works well. Thank you.

FredBezies commented on 2024-06-26 16:43 (UTC)

Thanks Havunen for the patch! PKGBUILD update done.

0m3 commented on 2024-06-26 15:42 (UTC)

Hello, all.

...
[ 20%] Building CXX object src/CMakeFiles/simplescreenrecorder.dir/AV/Output/AudioEncoder.cpp.o
/home/jihad/.cache/yay/simplescreenrecorder/src/ssr/src/AV/Output/AudioEncoder.cpp: In member function ‘unsigned int AudioEncoder::GetChannels()’:
/home/jihad/.cache/yay/simplescreenrecorder/src/ssr/src/AV/Output/AudioEncoder.cpp:72:35: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
   72 |         return GetCodecContext()->channels;
      |                                   ^~~~~~~~
/home/jihad/.cache/yay/simplescreenrecorder/src/ssr/src/AV/Output/AudioEncoder.cpp: In static member function ‘static void AudioEncoder::PrepareStream(AVStream*, AVCodecContext*, const AVCodec*, AVDictionary**, const std::vector<std::pair<QString, QString> >&, unsigned int, unsigned int, unsigned int)’:
/home/jihad/.cache/yay/simplescreenrecorder/src/ssr/src/AV/Output/AudioEncoder.cpp:109:24: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
  109 |         codec_context->channels = channels;
      |                        ^~~~~~~~
/home/jihad/.cache/yay/simplescreenrecorder/src/ssr/src/AV/Output/AudioEncoder.cpp:110:24: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
  110 |         codec_context->channel_layout = (channels == 1)? AV_CH_LAYOUT_MONO : AV_CH_LAYOUT_STEREO;
      |                        ^~~~~~~~~~~~~~
      |                        ch_layout
make[2]: *** [src/CMakeFiles/simplescreenrecorder.dir/build.make:215: src/CMakeFiles/simplescreenrecorder.dir/AV/Output/AudioEncoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:163: src/CMakeFiles/simplescreenrecorder.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: simplescreenrecorder-exit status 4
checking dependencies...

Packages (4) cppdap-1.58.0-1  rhash-1.4.4-1  cmake-3.29.6-1  qt5-tools-5.15.14+kde+r4-1

Total Removed Size:  91.69 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/4) removing qt5-tools                                                                                                       [#############################################################################] 100%
(2/4) removing cmake                                                                                                           [#############################################################################] 100%
(3/4) removing rhash                                                                                                           [#############################################################################] 100%
(4/4) removing cppdap                                                                                                          [#############################################################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating the MIME type database...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
 -> Failed to install the following packages. Manual intervention is required:
simplescreenrecorder - exit status 4

e8hffff commented on 2024-06-26 10:29 (UTC) (edited on 2024-06-26 10:40 (UTC) by e8hffff)

I can confirm the latest pull merge and update, works! Thanking you @Havunen & @jbucklin . @FredBezies now to upload the patched PKGBUILD, and unflag this AUR as up to date.

Havunen commented on 2024-06-26 07:50 (UTC)

Here is patch for this AUR package to include PR934 + PR1035 (including merge comits).

The actual change is here: https://github.com/MaartenBaert/ssr/pull/1036

diff --git a/PKGBUILD b/PKGBUILD
index 8675f9e..4c20546 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,9 +15,9 @@ depends=("qt5-base" "qt5-x11extras"
 optdepends=("lib32-simplescreenrecorder: OpenGL recording of 32-bit applications")
 makedepends=("git" "cmake" "qt5-tools")
 source=("git+https://github.com/MaartenBaert/ssr.git#tag=$pkgver"
-         ffmpeg5.patch::https://patch-diff.githubusercontent.com/raw/MaartenBaert/ssr/pull/934.patch)
+         ffmpeg7.patch::https://patch-diff.githubusercontent.com/raw/MaartenBaert/ssr/pull/1036.patch)
 sha256sums=('SKIP'
-            '4b01938615a34127236a21ee0ffa20bbb179c8bfcc5ecef872fc5a246727d2e1')
+            'a1d4a2c1d5cfcf6a327cc98e47e6cd76dd2fd03b33ca9e7fcaba971570fae914')

 install=simplescreenrecorder.install

@@ -25,7 +25,7 @@ prepare() {
   cd ssr
   mkdir -p build

-  patch -p1 -i ../ffmpeg5.patch # Fix build with ffmpeg 5
+  patch -p1 -i ../ffmpeg7.patch # Fix build with ffmpeg 7
 }

 build() {

e8hffff commented on 2024-06-25 08:22 (UTC)

There is some progress. https://github.com/MaartenBaert/ssr/pull/1035