owncloudclient: new subpkg for KDE integration

This commit is contained in:
Đoàn Trần Công Danh 2023-07-31 15:44:49 +07:00 committed by Đoàn Trần Công Danh
parent a7663b0e94
commit eea801e5f0
3 changed files with 26 additions and 6 deletions

View file

@ -0,0 +1 @@
owncloudclient

1
srcpkgs/owncloudclient-kde5 Symbolic link
View file

@ -0,0 +1 @@
owncloudclient

View file

@ -1,11 +1,12 @@
# Template file for 'owncloudclient'
pkgname=owncloudclient
version=4.1.0
revision=1
revision=2
build_style=cmake
configure_args="-Wno-dev -DWITH_AUTO_UPDATER=OFF"
hostmakedepends="pkg-config extra-cmake-modules"
makedepends="qtkeychain-qt5-devel sqlite-devel qt5-declarative-devel
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel
kcoreaddons"
makedepends="qtkeychain-qt5-devel sqlite-devel qt5-declarative-devel kio-devel
qt5-tools-devel qt5-plugin-odbc qt5-plugin-tds qt5-plugin-pgsql qt5-plugin-mysql
qt5-plugin-sqlite libre-graph-api-cpp-qt-client libcloudproviders-devel"
depends="qt5-plugin-sqlite qt5-svg"
@ -17,7 +18,24 @@ homepage="https://www.owncloud.org"
changelog="https://raw.githubusercontent.com/owncloud/client/master/CHANGELOG.md"
distfiles="https://github.com/owncloud/client/archive/v${version/.rc/-rc}.tar.gz"
checksum=32c1a9e73f510bee4f7da3c399ff208739f221e4600f69280b9dcc3763d1f84c
subpackages="owncloudclient-kde5 owncloudclient-devel"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel"
fi
owncloudclient-kde5_package() {
short_desc+=" - KDE 5 integration"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/*dolphin*"
vmove "usr/lib/qt5/plugins/*dolphin*"
vmove "usr/lib/qt5/plugins/kf5"
}
}
owncloudclient-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} qt5-devel"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/cmake"
vmove "usr/lib/*.so"
}
}