blob: a44a1f1c8469f4cf4ca5b8ed192f7276283ba301 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Alfredo Ramos <alfredo dot ramos at yandex dot com>
# Contributor: Arthur Țițeică arthur.titeica/gmail/com
# Contributor: Thomas Laube <tomx3@tomtomtom.org>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
_pkgname=vokoscreenNG
pkgname=vokoscreen-git
pkgver=4.0.0.r41.g29f9cd68
pkgrel=1
epoch=1
pkgdesc='An easy to use screencast creator. Development version.'
arch=('i686' 'x86_64')
url='http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html'
license=('GPL2')
depends=('qt6-multimedia' 'qt6-multimedia-gstreamer'
'gst-plugins-good' 'pulse-native-provider')
makedepends=('git' 'qt6-tools' 'libxrandr' 'bzip2')
optdepends=('gst-plugins-ugly: for x264 video codec'
'gst-plugins-bad: for faac')
provides=("${_pkgname%NG}=${pkgver}")
conflicts=("${_pkgname%NG}")
source=("git+https://github.com/vkohaupt/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
cd ${_pkgname}
git describe --long --tags 2>/dev/null | sed -r 's/-/.r/' | tr - .
}
build() {
[[ -d "${srcdir}"/build ]] || mkdir -p "${srcdir}"/build
cd build
qmake6 ../${_pkgname}/src/ \
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
QMAKE_LDFLAGS="${LDFLAGS} -lbz2" \
CONFIG+=release \
CONFIG+=c++14
make
}
package() {
install -Dm755 build/$_pkgname -t "$pkgdir"/usr/bin/
install -Dm644 $_pkgname/src/applications/$_pkgname.desktop -t "$pkgdir"/usr/share/applications/
install -Dm644 $_pkgname/src/applications/$_pkgname.png -t "$pkgdir"/usr/share/pixmaps/
}
|