mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
fix missing dependency and install script of plasma 5.2
This commit is contained in:
parent
bbc8143376
commit
aabfa09ee4
@ -20,6 +20,7 @@ provides=('baloo5' 'kf5-baloo' 'baloo_file')
|
||||
conflicts=('baloo5' 'kf5-baloo' 'baloo<=4.14.3-1' 'baloo4')
|
||||
source=("${PServer}/${pkgver}/${_pkgname}-${PAltSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${_pkgname}) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
11
baloo-kf5/baloo-kf5.install
Normal file
11
baloo-kf5/baloo-kf5.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
7
baloo-kf5/baloo4.install
Normal file
7
baloo-kf5/baloo4.install
Normal file
@ -0,0 +1,7 @@
|
||||
post_install() {
|
||||
echo " > ATTENTION:"
|
||||
echo " > nepomuk has been deprecated as of KDE 4.13"
|
||||
echo " > Run nepomukbaloomigrator to migrate your old metadata to baloo"
|
||||
echo " > Note that there is no continous synchronization between nepomuk and baloo"
|
||||
echo " > See http://community.kde.org/Baloo for more details"
|
||||
}
|
@ -18,6 +18,7 @@ groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${_pkgname}) )
|
||||
install=bluedevil.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
12
bluedevil-kf5/bluedevil.install
Normal file
12
bluedevil-kf5/bluedevil.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
update-mime-database usr/share/mime &> /dev/null
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -12,13 +12,14 @@ url='projects.kde.org/'
|
||||
license=('LGPL')
|
||||
depends=('qt5-x11extras' 'kded' 'kcmutils' 'kinit' 'kcoreaddons' 'kdbusaddons' 'kcompletion' 'knotifyconfig'
|
||||
'kwidgetsaddons' 'ki18n' 'kservice' 'knotifications' 'kxmlgui' 'kglobalaccel' 'plasma-framework'
|
||||
'xf86-input-synaptics' 'xorg-server-devel')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
'xf86-input-synaptics')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'xorg-server-devel')
|
||||
checkdepends=("cmake")
|
||||
groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${_pkgname}) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
11
kcm-touchpad-kf5/kcm-touchpad-kf5.install
Normal file
11
kcm-touchpad-kf5/kcm-touchpad-kf5.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -19,6 +19,7 @@ groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${_pkgname}) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
11
kde-gtk-config-kf5/kde-gtk-config-kf5.install
Normal file
11
kde-gtk-config-kf5/kde-gtk-config-kf5.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -16,6 +16,7 @@ groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${_pkgname}) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
11
kdeplasma-addons-kf5/kdeplasma-addons-kf5.install
Normal file
11
kdeplasma-addons-kf5/kdeplasma-addons-kf5.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -11,7 +11,12 @@ arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
license=('LGPL')
|
||||
depends=('qt5-base' 'karchive' 'kservice')
|
||||
makedepends=('extra-cmake-modules')
|
||||
makedepends=('extra-cmake-modules' 'ffmpeg' 'exiv2' 'taglib' 'poppler-qt5' 'ebook-tools')
|
||||
optdepends=('ffmpeg: extract video data'
|
||||
'exiv2: extract image data'
|
||||
'taglib: extract audio data'
|
||||
'poppler-qt5: extract document data'
|
||||
'ebook-tools: extract epub file data')
|
||||
checkdepends=("cmake")
|
||||
groups=('plasma')
|
||||
options=("debug")
|
||||
|
@ -10,13 +10,14 @@ arch=('x86_64')
|
||||
url='projects.kde.org/'
|
||||
license=('LGPL')
|
||||
depends=('kdelibs4support' 'khtml' 'kdnssd' 'libssh' 'smbclient' 'exiv2' 'openexr' 'openslp'
|
||||
'libmtp' 'phonon-qt5' )
|
||||
'libmtp' 'phonon-qt5' 'kpty')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
checkdepends=("cmake")
|
||||
groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${pkgname}) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
11
kio-extras/kio-extras.install
Normal file
11
kio-extras/kio-extras.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
update-mime-database usr/share/mime &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -17,6 +17,7 @@ groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${pkgname}) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
11
kmenuedit/kmenuedit.install
Normal file
11
kmenuedit/kmenuedit.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -17,6 +17,7 @@ groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${_pkgname}) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
11
kscreen-kf5/kscreen-kf5.install
Normal file
11
kscreen-kf5/kscreen-kf5.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -15,6 +15,7 @@ groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${pkgname} | head -n 1) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
12
ksysguard/ksysguard.install
Normal file
12
ksysguard/ksysguard.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -9,7 +9,7 @@ pkgdesc='Kwrited'
|
||||
arch=('x86_64')
|
||||
url='https://projects.kde.org/projects/kde/workspace/kwrited'
|
||||
license=('LGPL')
|
||||
depends=('kpty' 'kdelibs4support')
|
||||
depends=('kpty' 'ki18n' 'knotifications' 'kcoreaddons')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
checkdepends=("cmake")
|
||||
groups=('plasma')
|
||||
|
@ -27,6 +27,7 @@ prepare() {
|
||||
build() {
|
||||
cd build
|
||||
cmake_kf5 ../${_pkgname}-${pkgver} \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
||||
make
|
||||
}
|
||||
|
@ -22,10 +22,7 @@ prepare() {
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${_pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=${PBuildType} \
|
||||
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
|
||||
-DLIB_INSTALL_DIR=lib
|
||||
cmake_kf5 ../${_pkgname}-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -6,16 +6,17 @@ pkgname=oxygen-fonts
|
||||
pkgver=${PVersion}
|
||||
pkgrel=1
|
||||
pkgdesc='The Oxygen font family. A desktop/gui font family for integrated use with the KDE desktop.'
|
||||
arch=('x86_64')
|
||||
arch=('any')
|
||||
url='https://projects.kde.org/projects/playground/artwork/oxygen-fonts'
|
||||
license=('LGPL')
|
||||
depends=('qt5-base')
|
||||
depends=('fontconfig')
|
||||
makedepends=('fontforge')
|
||||
checkdepends=('cmake' 'extra-cmake-modules')
|
||||
groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${pkgname} | head -n 1) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
13
oxygen-fonts/oxygen-fonts.install
Normal file
13
oxygen-fonts/oxygen-fonts.install
Normal file
@ -0,0 +1,13 @@
|
||||
post_install() {
|
||||
echo -n "Updating font cache... "
|
||||
fc-cache -f > /dev/null
|
||||
echo "done."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install $1
|
||||
}
|
@ -17,6 +17,7 @@ groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
||||
sha256sums=( $(getSum ${pkgname}) )
|
||||
install=${pkgname}.install
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
11
plasma-desktop/plasma-desktop.install
Normal file
11
plasma-desktop/plasma-desktop.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -10,7 +10,7 @@ license=('LGPL')
|
||||
depends=('knewstuff' 'baloo-kf5' 'kjsembed' 'knotifyconfig' 'libxcursor'
|
||||
'libksysguard' 'libkscreen2' 'ktexteditor' 'libqalculate'
|
||||
'qt5-tools' 'kded' 'kde-cli-tools' 'kio-extras' 'milou' 'breeze'
|
||||
'xorg-xrdb' 'xorg-xsetroot' 'xorg-apps')
|
||||
'xorg-xrdb' 'xorg-xsetroot' 'xorg-apps' 'kwayland')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'kwin' 'gpsd')
|
||||
optdepends=('plasma-workspace-wallpapers: additional wallpapers'
|
||||
'kwin: KDE Window Manager'
|
||||
|
Loading…
Reference in New Issue
Block a user