1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
3 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
7 _commit=cf1eceb9d93a09fa7615557d2952eb26466f135e
9 pkgdesc='Deepin graphical user interface library'
11 url="https://github.com/linuxdeepin/dtkwidget"
13 # qt5-imageformats is needed for webp (dci) icons
14 depends=('dtkcore' 'dtkgui' 'gcc-libs' 'glibc' 'gsettings-qt' 'libx11' 'libxcb' 'libxext' 'libxi'
15 'qt5-base' 'qt5-imageformats' 'qt5-svg' 'qt5-x11extras' 'startup-notification' 'xcb-util')
16 makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'gtest' 'doxygen')
17 replaces=('deepin-tool-kit')
18 source=("git+https://github.com/linuxdeepin/dtkwidget.git#commit=$_commit")
24 -DMKSPECS_INSTALL_DIR=lib/qt/mkspecs/modules/ \
27 -DQCH_INSTALL_DESTINATION=share/doc/qt \
28 -DCMAKE_INSTALL_LIBDIR=lib \
29 -DCMAKE_INSTALL_PREFIX=/usr \
31 -DCMAKE_BUILD_TYPE=None
37 DESTDIR="$pkgdir" ninja install