aboutsummaryrefslogtreecommitdiffstats
path: root/community/lipstick-nemo/APKBUILD
blob: a2bc2af132b27c88750a18533547d27527a59889 (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
76
77
78
79
80
81
82
83
84
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=lipstick-nemo
pkgver=0.44_git20220319
pkgrel=2
# from master branch
_commit="01729c8466765a285dda6471138a173af37795fd"
_commit_dbus_gmain="d42176ae4763e5288ef37ea314fe58387faf2005"
pkgdesc="A project aimed at offering easy to modify user experiences for varying mobile device form factors"
url="https://github.com/nemomobile-ux/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
	qtchooser
	"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-tools"
source="https://github.com/nemomobile-ux/lipstick/archive/$_commit/lipstick-$_commit.tar.gz
	https://github.com/sailfishos-mirror/dbus-glib/archive/$_commit_dbus_gmain/dbus-glib-$_commit_dbus_gmain.tar.gz
	0001-fix-include-location.patch
	"
builddir="$srcdir/lipstick-$_commit"

provides="lipstick=$pkgver-r$pkgrel"
replaces="lipstick"

prepare() {
	default_prepare

	rm -r src/3rdparty/dbus-gmain
	mv "$srcdir"/dbus-glib-$_commit_dbus_gmain src/3rdparty/dbus-gmain
}

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="
29bf90ce5772c24cafd46bbb3f749c8f9a3811b1724d28341fdef941d2d8356d44d55987fac5aa88d77e6cdbbf1ba020fa61fae71fbf0fc23703db6deec4874e  lipstick-01729c8466765a285dda6471138a173af37795fd.tar.gz
665cd6395ee0ea14086ba30188c62a72697b3f63484681e18fc7f54109c9aca162f2e33aa2fa4d45287c6c0b590e81ca310c143dac0232cd5887692cdaf51256  dbus-glib-d42176ae4763e5288ef37ea314fe58387faf2005.tar.gz
55517f69cb098404d158a9fa7a345d37550539c48bc98ca7ccccf444bb9a926e8ab3d4b2123c3fd2055cf47270ffcb2f36561c6b103840ae7a6f976b4148abc4  0001-fix-include-location.patch
"