aboutsummaryrefslogtreecommitdiffstats
path: root/community/peek/APKBUILD
blob: 7585a5e77807697132acf1221638b95a402afb8b (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=peek
pkgver=1.5.1
pkgrel=1
pkgdesc="Simple animated GIF screen recorder with an easy to use interface"
url="https://github.com/phw/peek"
# mips64 and riscv64 blocked by gst-plugins-bad
arch="all !mips64 !riscv64"
license="GPL-3.0-or-later"
depends="ffmpeg gst-plugins-good gst-plugins-bad"
makedepends="meson gtk+3.0-dev gettext-dev vala txt2man keybinder3-dev"
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 \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

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

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

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