mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-12 20:27:02 +02:00
libreoffice: split qt6 out of kde
Some users want only qt6 not full KDE integration.
This commit is contained in:
parent
a5ae7bca05
commit
6096af9c3b
2 changed files with 14 additions and 3 deletions
1
srcpkgs/libreoffice-qt6
Symbolic link
1
srcpkgs/libreoffice-qt6
Symbolic link
|
@ -0,0 +1 @@
|
|||
libreoffice
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libreoffice'
|
||||
pkgname=libreoffice
|
||||
version=24.2.3.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meta
|
||||
make_build_target="build"
|
||||
hostmakedepends="automake flex gperf hyphen icu libtool openldap which gettext xz
|
||||
|
@ -588,15 +588,25 @@ libreoffice-impress_package() {
|
|||
}
|
||||
}
|
||||
|
||||
libreoffice-qt6_package() {
|
||||
short_desc+=" - Qt6 integration"
|
||||
pkg_install() {
|
||||
cat > ${wrksrc}/file-lists/qt6_list.txt <<-EOF
|
||||
%dir /usr/lib/libreoffice/program
|
||||
/usr/lib/libreoffice/program/libvclplug_qt6lo.so
|
||||
EOF
|
||||
_split qt6
|
||||
}
|
||||
}
|
||||
|
||||
libreoffice-kde_package() {
|
||||
short_desc+=" - KDE integration"
|
||||
replaces="libreoffice-qt6<=24.2.2.2_2"
|
||||
depends="libreoffice-qt6>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
cat > ${wrksrc}/file-lists/kde_list.txt <<-EOF
|
||||
%dir /usr/lib/libreoffice/program
|
||||
%dir /usr/share/metainfo
|
||||
/usr/lib/libreoffice/program/libvclplug_kf6lo.so
|
||||
/usr/lib/libreoffice/program/libvclplug_qt6lo.so
|
||||
/usr/share/metainfo/org.libreoffice.kde.metainfo.xml
|
||||
EOF
|
||||
_split kde
|
||||
|
|
Loading…
Add table
Reference in a new issue