New package: dtkwidget-2.0.8.1

This commit is contained in:
John 2018-02-16 17:49:04 +01:00 committed by maxice8
parent 208fb8568f
commit 261708378a
3 changed files with 37 additions and 0 deletions

View File

@ -3395,3 +3395,4 @@ libdframeworkdbus.so.2 dde-qt-dbus-factory-1.0.1_1
libdtkwidget.so.2 dtkwidget-2.0.6.1_1
libcue.so.2 libcue-2.2.0_1
libdtkwm.so.2 dtkwm-2.0.6_1
libdtkwidget.so.2 dtkwidget-2.0.6.1_1

1
srcpkgs/dtkwidget-devel Symbolic link
View File

@ -0,0 +1 @@
dtkwidget

View File

@ -0,0 +1,35 @@
# Template file for 'dtkwidget'
pkgname=dtkwidget
version=2.0.8.1
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=99d9498da5f74ce56812abfdd8dda1f995e8e83a2530e8a0b711811732fc0df6
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"
}
}