aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asteroid-launcher/APKBUILD
blob: 293218c05c569c008c96830abb5316449e3cf1fd (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-launcher
pkgver=0_git20211121
pkgrel=5
_commit="d616e47367704143fe29beacb1c4c0134c6262a9"
pkgdesc="AsteroidOS launcher and Wayland compositor based on Qt5, QML and QtWayland via Lipstick"
url="https://github.com/AsteroidOS/asteroid-launcher"
arch="all !armhf" # blocked by nemo-qml-plugin-calendar
arch="$arch !mips !mips64" # blocked by font-noto-emoji
license="BSD-3-Clause AND MIT"
depends="
	asteroid-icons-ion
	asteroid-languages
	asteroid-wallpapers
	mce
	nemo-qml-plugin-calendar
	nemo-qml-plugin-configuration
	nemo-qml-plugin-systemsettings
	nemo-qml-plugin-time
	qml-asteroid
	qt5-qtgraphicaleffects
	"
# Normally we shouldn't hard depend on fonts, but in this case these fonts are
# hardcoded for some supported watchfaces
depends="$depends
	font-noto-emoji
	font-raleway-otf
	font-roboto
	ttf-opensans
	"
makedepends="
	lipstick-dev
	qt5-qtbase-dev
	"
subpackages="$pkgname-dbg"
source="https://github.com/AsteroidOS/asteroid-launcher/archive/$_commit/asteroid-launcher-$_commit.tar.gz
	0001-use-mce-battery-api-and-fix-deprecation-issues.patch
	"
builddir="$srcdir/$pkgname-$_commit"

build() {
	qmake-qt5 \
		PREFIX=/usr
	make
}

check() {
	make check
}

package() {
	INSTALL_ROOT="$pkgdir" make install

	install -dm755 "$pkgdir"/usr/share/translations
	lrelease-qt5 -idbased i18n/asteroid-launcher.*.ts
	cp i18n/asteroid-launcher.*.qm "$pkgdir"/usr/share/translations/
}

sha512sums="
f39849291f0f36ca131189a4a4c3047d487c2489667a76550d842998354e9d2857b53ef4672e9bb98895c2303f38384297487cfba9e99f1d82cf059b40d199b9  asteroid-launcher-d616e47367704143fe29beacb1c4c0134c6262a9.tar.gz
3e05448c78c98dfb2ad8085357ccb5a473baae561b03337dda53f2f031fa8b6069c2139ca6fd35ee4c7e69dd0765618ff01421ddc758072d54806723f6320c47  0001-use-mce-battery-api-and-fix-deprecation-issues.patch
"