aboutsummaryrefslogtreecommitdiffstats
path: root/community/guvcview/APKBUILD
blob: 9a74577720d82d46c1eb8cc7507abeb41cd156ff (plain) (blame)
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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=guvcview
pkgver=2.0.6
pkgrel=0
pkgdesc="Webcam viewer"
url="http://guvcview.sourceforge.net/"
arch="all"
license="GPL-3.0-or-later"
makedepends="gtk+3.0-dev eudev-dev sdl-dev portaudio-dev ffmpeg-dev gsl-dev
	v4l-utils-dev libusb-dev linux-headers intltool"
subpackages="$pkgname-static $pkgname-libs $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/project/guvcview/source/guvcview-src-$pkgver.tar.gz
	0001-fix-building-with-musl-libc.patch
	"
options="!check"

builddir="$srcdir"/$pkgname-src-$pkgver

build() {
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-sdl2
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f73ba0a013f5afadb45c9bf60f723058ee31e99e204c951c49335a8ef9902a2caa752d6d51f6dd20ae960217cc25155e70efe4c49299a95e6780aaf8034078ec  guvcview-src-2.0.6.tar.gz
9ab9575bc41acc79581da8d43ef52fc9cf2bf46ef7df97951202e47f5516c38b42ebb715a4e8d6010ac9875c2c9c8cb1912d39282d4a632123424ab516632c98  0001-fix-building-with-musl-libc.patch"