aboutsummaryrefslogtreecommitdiffstats
path: root/community/peek/APKBUILD
blob: 18c519fcb72b913290dfc19b914599f128e9d108 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=peek
pkgver=1.5.1
pkgrel=2
pkgdesc="Simple animated GIF screen recorder with an easy to use interface"
url="https://github.com/phw/peek"
arch="all"
license="GPL-3.0-or-later"
depends="
	ffmpeg
	gst-plugins-bad
	gst-plugins-good
	"
makedepends="
	gettext-dev
	gtk+3.0-dev
	keybinder3-dev
	meson
	txt2man
	vala
	"
checkdepends="
	appstream-glib
	desktop-file-utils
	"
subpackages="$pkgname-lang $pkgname-doc"
source="https://github.com/phw/peek/archive/$pkgver/peek-$pkgver.tar.gz
	use-python3.patch
	"

build() {
	abuild-meson \
		-Denable-filechoosernative=true \
		-Db_lto=true \
		. output
	meson compile -j ${JOBS:-0} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="dc25f24b1f5954ff26f399f86bf0a2a9b90c4d63c9cd33fcd44f16e447d23070c04e760c57bdc8a946e699c3038b8ee7afc44ce6daa7030e2f9e6f071be6eae4  peek-1.5.1.tar.gz
c3c47a64a4f9b538dbff1128bcfbf71192337df574d416f883e488e5a9076c5924bd9b688fec6330bd75a71fb294c0a3eccf002b0bb78a0fda9439a2b9ce11ac  use-python3.patch"