003d45b95c
the deepin-os-release tools is not needed for now. disable it since it seems to break sometimes when parallel building and also breaks on cross builds
32 lines
970 B
Bash
32 lines
970 B
Bash
# Template file for 'dtkcore'
|
|
pkgname=dtkcore
|
|
version=2.0.9.4
|
|
revision=1
|
|
build_style=qmake
|
|
configure_args="LIB_INSTALL_DIR=/usr/lib/"
|
|
hostmakedepends="qt5-qmake pkg-config"
|
|
makedepends="qt5-devel gsettings-qt-devel"
|
|
short_desc="Base devlopment tool of all C++/Qt work on Deepin"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/linuxdeepin/dtkcore"
|
|
changelog="https://github.com/linuxdeepin/dtkcore/blob/${version}/CHANGELOG.md"
|
|
distfiles="https://github.com/linuxdeepin/dtkcore/archive/${version}.tar.gz"
|
|
checksum=ef84f23d18301806e06d286bf70464729e6805573d279dc73e62b08f85bfcb98
|
|
|
|
if [ "$CROSS_BUILD" ];then
|
|
hostmakedepends+=" qt5-devel gsettings-qt-devel"
|
|
fi
|
|
|
|
dtkcore-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/qt5
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/dtk2
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|