1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=ukui-settings-daemon
6 pkgdesc="Daemon handling the UKUI session settings"
9 url="https://github.com/ukui/ukui-settings-daemon"
11 depends=('geoclue' 'gnome-desktop' 'gsettings-qt' 'gtk3' 'kconfig' 'kglobalaccel' 'kwindowsystem'
12 'imlib2' 'libcanberra' 'libkscreen' 'libmatekbd' 'libmatemixer' 'libnotify' 'libxklavier'
13 'mate-desktop' 'qt5-sensors' 'qt5-svg' 'qt5-x11extras' 'ukui-interface')
14 makedepends=('qt5-tools' 'xorg-server-devel')
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-settings-daemon/archive/v$pkgver.tar.gz"
16 libkscreen-5.27.patch)
17 sha512sums=('451cca8c153764c497d502eb6159db44bbdf0fce63c5ee38d3f347ee8c1d84d726f7026b1b02b463c6c7a8b9a15a84ad5df8f27b5afe0e06d2b6a81481839fe4'
18 'e99ae6572322d727b67cafe83559c98dc0f93e29a2c982ab9b34a74c6bf9afa241aa8fdf90ed5b04b464c46d08ef90ecabbe99fcb93e2e8ce711db59597183cc')
22 sed -i 's|#include <ukuisdk/kylin-com4cxx.h>|#include <kylin-com4cxx.h>|' common/usd_base_class.h
23 sed -i 's|udev.path = /lib/udev/rules.d/|udev.path = /usr/lib/udev/rules.d/|' plugins/mouse/mouse.pro
25 # Fix build with libkscreen 5.27
26 sed -e 's|c++11||' -i plugins/xrandr/xrandr.pro -i common/common.pri
27 patch -p1 -i ../libkscreen-5.27.patch
38 make INSTALL_ROOT="$pkgdir" install