aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lipstick-asteroidos/APKBUILD
blob: 568559ab9e0aef2b43d51c5fde9118170affd845 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=lipstick-asteroidos
pkgver=0_git20220417
pkgrel=0
_commit="74fa4178de368944fbdb3f911b3b59cee22e07e6"
pkgdesc="A project aimed at offering easy to modify user experiences for varying mobile device form factors"
url="https://github.com/AsteroidOS/lipstick"
# armhf blocked by nemo-qml-plugin-devicelock
arch="all !armhf"
license="LGPL-2.1-only"
depends_dev="
	bluez-qt-dev
	elogind-dev
	libdsme-dev
	libmce-qt-dev
	libngf-qt-dev
	libresourceqt-dev
	libusb-moded-qt-dev
	libxkbcommon-dev
	mlite-dev
	nemo-keepalive-dev
	nemo-qml-plugin-devicelock-dev
	nemo-qml-plugin-systemsettings-dev
	pulseaudio-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtsensors-dev
	qt5-qtsystems-dev
	qt5-qttools-dev
	qt5-qtwayland-dev
	ssu-sysinfo-dev
	user-managerd-dev
	wayland-dev
	"
makedepends="$depends_dev
	doxygen
	graphviz
	qtchooser
	"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-tools"
source="https://github.com/AsteroidOS/lipstick/archive/$_commit/lipstick-$_commit.tar.gz
	0001-Drop-Qt-extended-surface.patch
	0002-Disables-tests-and-doc.patch
	"
options="!check" # Broken
builddir="$srcdir/lipstick-$_commit"

build() {
	qmake-qt5
	make
}

check() {
	make check
}

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

	mkdir -p "$pkgdir"/usr/share/dbus-1/system.d/
	mv "$pkgdir"/etc/dbus-1/system.d/* "$pkgdir"/usr/share/dbus-1/system.d/
}

tools() {
	pkgdesc="Useful command line tools for Lipstick"

	amove usr/bin
}

sha512sums="
6b3764007333ef61a7b5c21a24c35ad6041b5e7ef4da06859b971b5ed2ac1b64b00091853f27bf443d2d1cb4255896026c4a60d7e5454c1190fc3880dec06fdc  lipstick-74fa4178de368944fbdb3f911b3b59cee22e07e6.tar.gz
b08c875045ce84beea6bab5c22aafc7eb32668450d3b9ed2163718adedf1f19e16e9d143514882e06da38e720f508924f641a80a654eea0e76af873088c16233  0001-Drop-Qt-extended-surface.patch
221e2a75d660197364372ea8718ee6b0a476b6f8f413157b8524ec5cca57d45779b02fe7fc433727af2c8e47b52ddc6a784063fe7d1608d98396464935447a78  0002-Disables-tests-and-doc.patch
"