blob: 6c12bda025413a4088aef47c48c98b4cb2463fc8 (
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
|
# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
pkgname='ivideon-server'
pkgver='3.10.0'
pkgrel='6938'
_rel='e836d2f'
pkgdesc='Ivideon Server (with QT5 GUI)'
arch=('x86_64')
url='https://ivideon.com'
license=('freeware')
depends=('ivideon-server-headless' 'qt5-base' 'qt5-multimedia' 'libsndfile' 'libxcb' 'libsm')
conflicts=('ivideon-video-server-nogui' 'ivideon-video-server')
noextract=("${source[@]%%::*}")
source=("https://packages.ivideon.com/ubuntu/pool/non-free/i/ivideon-video-server/ivideon-video-server_${pkgver}-${pkgrel}~${_rel}_amd64.deb"
"https://packages.ivideon.com/ubuntu/pool/non-free/libq/libqt54-ivideon/libqt54-ivideon_5.4.2.0_amd64.deb"
"${pkgname}_infinity_camera_list.patch")
sha256sums=('6e12ac3aed7c478bc6c265b963d290598d8d4614693ea906b4c93f634375df8f'
'cbc6481b30a058a2bd8707bfaa06d600ce7be0304140a92ac56340ae13b1e062'
'a220cf727c7520d8c94fe11a28e7fb9a17614dff8f41343e35070c1ff59f754f')
build() {
cd "${srcdir}"
bsdtar xf "${srcdir}/ivideon-video-server_${pkgver}-${pkgrel}~${_rel}_amd64.deb"
bsdtar xf "data.tar.xz"
patch -p1 -i "${srcdir}/${pkgname}_infinity_camera_list.patch"
cd "${srcdir}/opt/ivideon/${pkgname}"
ln -fs ../qtlibs54/platforms platforms
mkdir "${srcdir}/libqt54-ivideon"
cd "${srcdir}/libqt54-ivideon"
bsdtar xf "${srcdir}/libqt54-ivideon_5.4.2.0_amd64.deb"
bsdtar xf "data.tar.xz"
}
package() {
cp -ax "${srcdir}/opt" "${pkgdir}"
cp -ax "${srcdir}/usr" "${pkgdir}"
cp -ax "${srcdir}/libqt54-ivideon/opt" "${pkgdir}"
}
|