35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'dtkwidget'
|
|
pkgname=dtkwidget
|
|
version=2.0.9.16
|
|
revision=1
|
|
build_style=qmake
|
|
configure_args="DBUS_VERSION_0_4_2=YES LIB_INSTALL_DIR=/usr/lib"
|
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
|
|
makedepends="dde-qt-dbus-factory-devel dtkcore-devel gsettings-qt-devel
|
|
librsvg-devel pulseaudio-devel qt5-multimedia-devel qt5-svg-devel
|
|
qt5-x11extras-devel startup-notification-devel xcb-util-devel"
|
|
short_desc="Deepin Tool Kit Widget"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/linuxdeepin/dtkwidget"
|
|
changelog="https://github.com/linuxdeepin/dtkwidget/blob/${version}/CHANGELOG.md"
|
|
distfiles="https://github.com/linuxdeepin/dtkwidget/archive/${version}.tar.gz"
|
|
checksum=866dfe3d557cde10f95b83956f7fe41761b58f620e978040fdf0ae24b84278af
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" dtkcore-devel qt5-multimedia-devel qt5-x11extras-devel
|
|
qt5-svg-devel gsettings-qt-devel"
|
|
fi
|
|
|
|
dtkwidget-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} dtkcore-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/dtk2
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|