aboutsummaryrefslogtreecommitdiffstats
path: root/community/lipstick-nemo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lipstick-nemo/APKBUILD')
-rw-r--r--community/lipstick-nemo/APKBUILD84
1 files changed, 84 insertions, 0 deletions
diff --git a/community/lipstick-nemo/APKBUILD b/community/lipstick-nemo/APKBUILD
new file mode 100644
index 0000000000..a2bc2af132
--- /dev/null
+++ b/community/lipstick-nemo/APKBUILD
@@ -0,0 +1,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
+"