aboutsummaryrefslogtreecommitdiffstats
path: root/community/audiotube/APKBUILD
blob: a8956272676ada61558e95d12ffcb9e4ef8a24b4 (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
38
39
40
41
42
43
44
45
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=audiotube
pkgver=0.1
pkgrel=0
pkgdesc="Client for YouTube Music"
url="https://invent.kde.org/plasma-mobile/audiotube"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
license="GPL-2.0-or-later"
depends="
	gst-plugins-good
	kirigami2
	py3-ytmusicapi
	qt5-qtimageformats
	qt5-qtmultimedia
	youtube-dl
	"
makedepends="
	extra-cmake-modules
	ki18n-dev
	kirigami2-dev
	py3-pybind11-dev
	python3-dev
	qt5-qtsvg-dev
	"
source="https://invent.kde.org/plasma-mobile/audiotube/-/archive/v$pkgver/audiotube-v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None	 \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
ff5e07354276aee3e3cebc3c9aa14307fd11af300e997bcd3601f2ce32f4152e9e8271d126969b6b615831d7e07674a8772d02d88b8c6a1d124edd7f01322e80  audiotube-v0.1.tar.gz
"