blob: ad153966af17fec673f0aaff4ef376fc944206db (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
pkgrealname=webcamoid
pkgname=webcamoid-git
pkgver=9.2.3.r20.g8c8abcb26
pkgrel=1
pkgdesc="Webcamoid is a full featured webcam capture application."
url='https://webcamoid.github.io/'
license=('GPL')
arch=('i686' 'x86_64' 'armv6h' 'aarch64')
depends=('qt6-declarative'
'qt6-svg')
optdepends=('v4l-utils: Extra formats support for webcams'
'akvcam-dkms-git: Virtual camera support (Recommended)'
'v4l2loopback-dkms: Virtual camera support'
'ffmpeg: Video playback/recording/conversion (Recommended)'
'gst-plugins-base: Video playback/recording/conversion'
'gst-plugins-good: Video playback/recording/conversion'
'gst-plugins-bad: Video playback/recording/conversion'
'gst-plugins-ugly: Video playback/recording/conversion'
'vlc: Video playback (Recommended)'
'pipewire: Screen capture'
'libpulse: Audio playback (Recommended)'
'alsa-lib: Audio playback'
'jack: Audio playback'
'portaudio: Audio playback'
'sdl2: Audio playback'
'libuvc: Camera capture'
'qt6-multimedia: Camera capture'
'polkit: Root privileges for virtual camera module')
makedepends=('alsa-lib'
'cmake'
'ffmpeg4.4'
'git'
'gst-plugins-base-libs'
'jack'
'libpulse'
'libuvc'
'pipewire'
'portaudio'
'qt6-multimedia'
'qt6-tools'
'sdl2'
'v4l-utils'
'vlc')
provides=('webcamoid')
conflicts=('webcamoid')
install="${pkgrealname}.install"
source=("git+https://github.com/${pkgrealname}/${pkgrealname}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgrealname}"
(
set -o pipefail
git describe --long --tags --match '[0-9.]*' 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "${srcdir}/${pkgrealname}"
cmake \
-S . \
-B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DDAILY_BUILD=ON
make -C build $MAKEFLAGS
}
package() {
cd "${srcdir}/${pkgrealname}"
make -C build DESTDIR="${pkgdir}" install
}
|