34 lines
1,017 B
Bash
34 lines
1,017 B
Bash
# Template file for 'dtkcore'
|
|
pkgname=dtkcore
|
|
version=2.0.16.3
|
|
revision=1
|
|
build_style=qmake
|
|
configure_args="LIB_INSTALL_DIR=/usr/lib/ VERSION=${version}"
|
|
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=b443869be7b2238d6c6ecdefe33e67c973b13b7cc5a396d07dd0acad3da464f2
|
|
|
|
if [ "$CROSS_BUILD" ];then
|
|
hostmakedepends+=" qt5-devel gsettings-qt-devel"
|
|
fi
|
|
|
|
nocross="Some QMake mess"
|
|
|
|
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
|
|
}
|
|
}
|