blob: c1c7cb4cd0ebb2998da86cdcc1bb2531b712a85e (
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
47
48
49
50
51
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Zajoe <zajoe223@gmail.com>
_pkgname=cctv-viewer
pkgname=${_pkgname}-git
pkgver=0.1
pkgrel=1
epoch=0
pkgdesc="A simple Qt application for simultaneously viewing multiple video streams. Designed for high performance and low latency. Based on ffmpeg."
arch=('any')
url="https://github.com/iEvgeny/cctv-viewer"
license=('GPL')
depends=('glibc'
'gcc-libs'
'qt5-base'
'ffmpeg'
'qt5-multimedia'
'qt5-quickcontrols'
'qt5-quickcontrols2'
'qt5-graphicaleffects')
makedepends=(git
make
cmake
qt5-tools)
provides=(cctv-viewer)
source=('git+https://github.com/iEvgeny/cctv-viewer.git'
'git+https://github.com/iEvgeny/qmlav.git')
sha1sums=('SKIP' 'SKIP')
prepare() {
cd $_pkgname
git submodule init
git config submodule.gmlav.url $srcdir/mysubmodule
git submodule update
}
build() {
cd $_pkgname
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
make
}
package(){
make DESTDIR="$pkgdir" -C "$srcdir/$_pkgname" install
cd "$pkgdir"
}
|