mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
nextcloud-client: declare optional subpkg via subpackages
This commit is contained in:
parent
027330c529
commit
0c385d3354
1 changed files with 2 additions and 3 deletions
|
@ -22,7 +22,7 @@ desc_option_dolphin="Build KDE dolphin support"
|
||||||
build_options_default="dolphin"
|
build_options_default="dolphin"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv6*|armv7*) broken="qt5-tools-devel unavailable" ;;
|
arm*) broken="qt5-webengine-devel unavailable" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
@ -30,8 +30,8 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
# provides desktoptojson
|
# provides desktoptojson
|
||||||
hostmakedepends+=" $(vopt_if dolphin 'kcoreaddons')"
|
hostmakedepends+=" $(vopt_if dolphin 'kcoreaddons')"
|
||||||
fi
|
fi
|
||||||
|
subpackages="$(vopt_if dolphin 'nextcloud-client-dolphin') nextcloud-client-devel"
|
||||||
|
|
||||||
if [ $build_option_dolphin ]; then
|
|
||||||
nextcloud-client-dolphin_package() {
|
nextcloud-client-dolphin_package() {
|
||||||
short_desc+=" - KDE dolphin integration"
|
short_desc+=" - KDE dolphin integration"
|
||||||
depends="nextcloud-client>=${version}_${revision}"
|
depends="nextcloud-client>=${version}_${revision}"
|
||||||
|
@ -41,7 +41,6 @@ nextcloud-client-dolphin_package() {
|
||||||
vmove usr/share/kservices5
|
vmove usr/share/kservices5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fi
|
|
||||||
|
|
||||||
nextcloud-client-devel_package() {
|
nextcloud-client-devel_package() {
|
||||||
depends="nextcloud-client>=${version}_${revision}"
|
depends="nextcloud-client>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue