aboutsummaryrefslogtreecommitdiffstats
path: root/community/cyanrip/APKBUILD
blob: 4fdb0f78d51adfa15f5ded95187ce9af000a6994 (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
36
37
# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=cyanrip
pkgver=0.8.1
pkgrel=1
pkgdesc="Bule-ish CD ripper"
url="https://github.com/cyanreg/cyanrip"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
	curl-dev
	ffmpeg-dev
	libcdio-dev
	libcdio-paranoia-dev
	libmusicbrainz-dev
	meson
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/cyanreg/cyanrip/archive/refs/tags/v$pkgver.tar.gz
	libcdio-paranoia-version.patch"

build() {
	abuild-meson . 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="
0c2e5027ef6fc0fbc5a3d648a818ab96b214291d28f0fb66b7bba6f7c688056f84725ff479ab4c36b1e2868aea365de8ab50edd3bc014ca27346ae358b5ca78e  cyanrip-0.8.1.tar.gz
c640482252fb0b96662240c8b93025d3265940f39d1511b604763f5f2dfb24044307eb97c23b9c60e2285be74412c3e19873000800a9765648b36fe33f5e5fef  libcdio-paranoia-version.patch
"