2018-12-07 05:49:12 +08:00
|
|
|
|
2016-04-24 18:28:46 +08:00
|
|
|
pkgname=vokoscreen
|
2018-12-07 05:49:12 +08:00
|
|
|
pkgver=2.5.8
|
|
|
|
_pkgver=2.5.8-beta
|
2018-12-07 05:57:52 +08:00
|
|
|
pkgrel=3
|
2018-12-07 05:49:12 +08:00
|
|
|
pkgdesc="An easy to use screencast creator to record educational videos, live recordings of browser, installation, videoconferences, etc."
|
2016-04-24 18:28:46 +08:00
|
|
|
arch=('x86_64')
|
2018-12-07 05:49:12 +08:00
|
|
|
url="http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html"
|
|
|
|
screenshot="http://linuxecke.volkoh.de/vokoscreen/vokoscreen-picture-screen.png"
|
2016-04-24 18:28:46 +08:00
|
|
|
license=('GPL2')
|
2018-12-07 05:49:12 +08:00
|
|
|
categories=('multimedia')
|
2018-12-07 05:57:52 +08:00
|
|
|
depends=('qt5-x11extras' 'ffmpeg' 'lame' 'mkvtoolnix' 'opencv' 'qt5-multimedia')
|
|
|
|
makedepends=('qt5-tools' 'libxrandr')
|
2018-12-07 05:49:12 +08:00
|
|
|
optdepends=('pulseaudio' 'alsa-utils')
|
|
|
|
source=("https://github.com/vkohaupt/$pkgname/archive/$_pkgver.tar.gz"
|
2016-04-24 18:28:46 +08:00
|
|
|
'fix_lrelease.patch')
|
2018-12-07 05:49:12 +08:00
|
|
|
sha512sums=('dd9e25ec9ab7eeddb99aeeac3865f4306d741c78cb81b6a62fcc9d366270446683eadc483bc65637e30b639764ea978ae290baabfcb9ae298ad63fb040a805f6'
|
|
|
|
'efcb0853f383769210e985a45c96179512f7f080f65f3c532a597acd3fd08bd58f3ef86571abfb9af5a270c8ae87a677fe8c9b3064229940027125ff24af18c9')
|
2016-04-24 18:28:46 +08:00
|
|
|
|
|
|
|
prepare() {
|
2018-12-07 05:49:12 +08:00
|
|
|
cd $pkgname-$_pkgver
|
2016-04-24 18:28:46 +08:00
|
|
|
|
2018-12-07 05:49:12 +08:00
|
|
|
# lrelease fix
|
|
|
|
patch -Np1 < ../fix_lrelease.patch
|
|
|
|
|
2016-04-24 18:28:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
# Number of jobs
|
|
|
|
declare -i njobs=$(nproc)
|
|
|
|
|
|
|
|
if [[ ${njobs} -ge 8 ]]; then
|
|
|
|
njobs=$(( $njobs - 2 ))
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Building package
|
2018-12-07 05:49:12 +08:00
|
|
|
mkdir -p build/
|
|
|
|
cd build/
|
|
|
|
qmake-qt5 ../$pkgname-$_pkgver \
|
2016-04-24 18:28:46 +08:00
|
|
|
CONFIG+=release \
|
2018-12-07 05:49:12 +08:00
|
|
|
CONFIG+=c++14 \
|
|
|
|
-spec linux-g++
|
2016-04-24 18:28:46 +08:00
|
|
|
|
|
|
|
make -j${njobs}
|
|
|
|
}
|
|
|
|
|
2018-12-07 05:49:12 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-24 18:28:46 +08:00
|
|
|
package() {
|
|
|
|
# Installing package
|
2018-12-07 05:49:12 +08:00
|
|
|
cd build/
|
|
|
|
make INSTALL_ROOT=$pkgdir install
|
2016-04-24 18:28:46 +08:00
|
|
|
}
|