community/simplescreenrecorder to 0.3.11-1

This commit is contained in:
Kevin Mihelich 2018-05-27 14:16:41 +00:00
parent 4312b6ef9d
commit 4d024d66f1

View file

@ -6,8 +6,8 @@
# - cmake with -DENABLE_32BIT_GLINJECT="FALSE" -DENABLE_X86_ASM="FALSE" -DWITH_GLINJECT="FALSE" # - cmake with -DENABLE_32BIT_GLINJECT="FALSE" -DENABLE_X86_ASM="FALSE" -DWITH_GLINJECT="FALSE"
pkgname=simplescreenrecorder pkgname=simplescreenrecorder
pkgver=0.3.10 pkgver=0.3.11
pkgrel=2 pkgrel=1
pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL." pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL."
arch=("x86_64") arch=("x86_64")
url="http://www.maartenbaert.be/simplescreenrecorder/" url="http://www.maartenbaert.be/simplescreenrecorder/"
@ -29,12 +29,6 @@ install=simplescreenrecorder.install
prepare() { prepare() {
cd ssr cd ssr
mkdir -p build mkdir -p build
# ffmpeg 4.0 tweaks
sed -i 's|CODEC_CAP_VARIABLE_FRAME_SIZE|AV_CODEC_CAP_VARIABLE_FRAME_SIZE|' src/AV/Output/AudioEncoder.cpp
sed -i 's|CODEC_FLAG_QSCALE|AV_CODEC_FLAG_QSCALE|' src/AV/Output/{Audio,Video}Encoder.cpp
sed -i 's|CODEC_CAP_DELAY|AV_CODEC_CAP_DELAY|' src/AV/Output/BaseEncoder.cpp
sed -i 's|CODEC_FLAG_GLOBAL_HEADER|AV_CODEC_FLAG_GLOBAL_HEADER|' src/AV/Output/Muxer.cpp
sed -i 's|CODEC_CAP_EXPERIMENTAL|AV_CODEC_CAP_EXPERIMENTAL|' src/AV/Output/Muxer.cpp
} }
build() { build() {