summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorIsmael Luceno2021-05-28 19:45:30 +0200
committerIsmael Luceno2021-05-28 19:49:06 +0200
commit1601b7a1e7fac58768d9731e3d367c41a9b5329f (patch)
treed6f048c2f58fc0446e9e4c2105657af784a6b009 /video
parent2d168eb6dff45b989f4661c3bb102fec24e36298 (diff)
simplescreenrecorder: new spell, SimpleScreenRecorder
Diffstat (limited to 'video')
-rwxr-xr-xvideo/simplescreenrecorder/BUILD7
-rwxr-xr-xvideo/simplescreenrecorder/CONFIGURE1
-rwxr-xr-xvideo/simplescreenrecorder/DEPENDS18
-rwxr-xr-xvideo/simplescreenrecorder/DETAILS16
-rw-r--r--video/simplescreenrecorder/HISTORY2
5 files changed, 44 insertions, 0 deletions
diff --git a/video/simplescreenrecorder/BUILD b/video/simplescreenrecorder/BUILD
new file mode 100755
index 0000000000..1ae2ff6824
--- /dev/null
+++ b/video/simplescreenrecorder/BUILD
@@ -0,0 +1,7 @@
+# XXX workaround for linking issue with GCC 11
+case "$HOST" in
+ (*-musl)
+ LDFLAGS+=" -static-libstdc++"
+ ;;
+esac &&
+default_build
diff --git a/video/simplescreenrecorder/CONFIGURE b/video/simplescreenrecorder/CONFIGURE
new file mode 100755
index 0000000000..b1e2770061
--- /dev/null
+++ b/video/simplescreenrecorder/CONFIGURE
@@ -0,0 +1 @@
+. "$GRIMOIRE"/CMAKE_CONFIGURE
diff --git a/video/simplescreenrecorder/DEPENDS b/video/simplescreenrecorder/DEPENDS
new file mode 100755
index 0000000000..b793ee4a2c
--- /dev/null
+++ b/video/simplescreenrecorder/DEPENDS
@@ -0,0 +1,18 @@
+. "$GRIMOIRE"/CMAKE_DEPENDS &&
+depends qtbase -DWITH_QT5=ON &&
+depends LIBAVCODEC &&
+optional_depends alsa-lib \
+ -DWITH_ALSA={ON,OFF} \
+ 'for ALSA support' &&
+optional_depends v4l-utils \
+ -DWITH_V4L2={ON,OFF} \
+ 'for V4L2 support' &&
+optional_depends pulseaudio \
+ -DWITH_PULSEAUDIO={ON,OFF} \
+ 'for PulseAudio support' &&
+optional_depends JACK \
+ -DWITH_JACK={ON,OFF} \
+ 'for JACK support' &&
+optional_depends OPENGL \
+ '' '-DWITH_OPENGL_RECORDING=OFF -DWITH_GLINJECT=OFF' \
+ 'for OpenGL recording support'
diff --git a/video/simplescreenrecorder/DETAILS b/video/simplescreenrecorder/DETAILS
new file mode 100755
index 0000000000..4116b340e0
--- /dev/null
+++ b/video/simplescreenrecorder/DETAILS
@@ -0,0 +1,16 @@
+. "$GRIMOIRE"/CMAKE_FUNCTIONS
+ SPELL=simplescreenrecorder
+ VERSION=0.4.3
+ SOURCE="ssr-$VERSION.tar.gz"
+ SOURCE_URL[0]=https://github.com/MaartenBaert/ssr/archive/refs/tags/$VERSION.tar.gz
+ SOURCE_HASH=sha512:c930045d6763bdb026cee80fe82aa0e973de7a1bd92bce9650c5cae627f5d8f8d913f260024410a41170081c8eda61c1aea346bc2d9740b8dc169a3952b3bfd0
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/ssr-$VERSION"
+ WEB_SITE="https://www.maartenbaert.be/simplescreenrecorder/"
+ LICENSE[0]="GPL-3.0-only"
+ ENTERED=20210528
+ KEYWORDS=""
+ SHORT="SimpleScreenRecorder"
+cat << EOF
+SimpleScreenRecorder is an easy to use, yet powerful, program to record your
+desktop, which works well with games.
+EOF
diff --git a/video/simplescreenrecorder/HISTORY b/video/simplescreenrecorder/HISTORY
new file mode 100644
index 0000000000..1feab91fb4
--- /dev/null
+++ b/video/simplescreenrecorder/HISTORY
@@ -0,0 +1,2 @@
+2021-05-28 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS: spell created