37 lines
1000 B
Bash
37 lines
1000 B
Bash
# Maintainer: justforlxz <justforlxz@gmail.com>
|
|
pkgname=dtkwidget-git
|
|
pkgver=5.5.45.r1.gbc050fca
|
|
pkgrel=1
|
|
pkgdesc='Deepin graphical user interface library'
|
|
arch=('x86_64' 'aarch64')
|
|
url="https://github.com/linuxdeepin/dtkwidget"
|
|
license=('LGPL3')
|
|
depends=('dtkcore-git' 'dtkgui-git' 'librsvg' 'qt5-svg'
|
|
'qt5-x11extras' 'startup-notification')
|
|
makedepends=('git' 'qt5-tools' 'gtest' 'dtkcommon-git' 'dtkcore-git' 'dtkgui-git' 'ninja' 'cmake' 'doxygen')
|
|
provides=('dtkwidget')
|
|
conflicts=('dtkwidget')
|
|
groups=('deepin-git')
|
|
source=('source.tar.gz')
|
|
sha512sums=('SKIP')
|
|
|
|
|
|
build() {
|
|
cd $deepin_source_name
|
|
cmake -GNinja \
|
|
-DHUNTER_ENABLED=OFF \
|
|
-DMKSPECS_INSTALL_DIR=lib/qt/mkspecs/modules/\
|
|
-DBUILD_PLUGINS=OFF \
|
|
-DBUILD_DOCS=ON \
|
|
-DQCH_INSTALL_DESTINATION=share/doc/qt \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
cd $deepin_source_name
|
|
DESTDIR="$pkgdir" ninja install
|
|
}
|