blob: 5a10a9958731de2594db0657c1ad128fe6d20660 (
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
|
# Maintainer: Jimmy Stelzer <jimmy.stelzer@gmail.com>
pkgname=glcs-git
pkgver=r511aeb71fa
pkgrel=3
pkgdesc="OpenGL and ALSA Screencast Tool, based in GLC"
arch=('i686' 'x86_64')
url="https://github.com/lano1106/glcs/"
license=('GPL3')
depends=("libpng" "alsa-lib" "libgl" "libxxf86vm")
makedepends=('git' 'cmake')
optdepends=()
provides=('glcs')
install=
changelog=
mods=("elfhacks" "packetstream" "../glcs")
backup=("usr/share/glcs/scripts/capture.sh"
"usr/share/glcs/scripts/pipe_ffmpeg.sh"
"usr/share/glcs/scripts/webcam_overlay_mix_audio.sh")
source=(glcs::git+https://github.com/lano1106/glcs.git)
md5sums=('SKIP')
prepare(){
cd "${srcdir}/glcs"
sed -i 's/nullkey/ienorand/' .gitmodules
git submodule init
git submodule update
}
build() {
cd "${srcdir}/glcs"
DESTDIR=$pkgdir/usr
if [ $CARCH == "x86_64" ]; then
CFLAGS="$CFLAGS -m64"
fi
./build.sh $DESTDIR || return 1;
}
package() {
cd "${srcdir}/glcs"
DESTDIR=$pkgdir/usr
./package.sh $DESTDIR || return 1;
}
|