mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
prepare for plasma 5.0.1, must be build all, I don't have the sources
This commit is contained in:
parent
2d7af038aa
commit
e73ef62d19
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=breeze
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc='A plasma theme'
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -1,12 +1,12 @@
|
||||
|
||||
pkgname=calamares
|
||||
pkgver=0.1.0.6
|
||||
pkgver=0.1.0.7
|
||||
pkgrel=1
|
||||
pkgdesc='Distribution-independent installer framework'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/calamares/calamares'
|
||||
license=('LGPL')
|
||||
depends=('qt5-base' 'kconfig' 'kconfigwidgets' 'ki18n' 'kcoreaddons' 'solid' 'yaml-cpp'
|
||||
depends=('qt5-base' 'kconfig' 'ki18n' 'kcoreaddons' 'solid' 'yaml-cpp'
|
||||
'parted' 'libatasmart' 'udisks2')
|
||||
makedepends=('extra-cmake-modules' 'git' 'qt5-tools')
|
||||
source=("git://github.com/calamares/calamares")
|
||||
|
103
frameworks.order
Normal file
103
frameworks.order
Normal file
@ -0,0 +1,103 @@
|
||||
#
|
||||
# Chakra GNU/Linux Buildscript Config file
|
||||
#
|
||||
# Desktop v.10.08.2014
|
||||
#
|
||||
# These are the building "groups" or "package lists"
|
||||
# (or stages"). Every group must be prefixed with
|
||||
# "_build_" followed by the repo name_branch
|
||||
# and finally a identifier like "support".
|
||||
#
|
||||
# You can create/delete/modify groups as you like,
|
||||
# the buildscripts will detect all changes like
|
||||
# new/deleted groups automatically and offer them
|
||||
# in their options
|
||||
|
||||
|
||||
_build_desktop_plasma="
|
||||
kfilemetadata5
|
||||
akonadi-qt5
|
||||
baloo5-kf5
|
||||
breeze
|
||||
kde-cli-tools
|
||||
libkscreen2
|
||||
kio-extras
|
||||
oxygen
|
||||
oxygen-fonts
|
||||
kwrited
|
||||
kwin
|
||||
libksysguard
|
||||
ksysguard
|
||||
plasma-workspace
|
||||
powerdevil
|
||||
#kde-workspace
|
||||
khelpcenter
|
||||
khotkeys
|
||||
kinfocenter
|
||||
kmenuedit
|
||||
milou
|
||||
systemsettings
|
||||
plasma-desktop
|
||||
"
|
||||
|
||||
_build_desktop_kf5="
|
||||
extra-cmake-modules
|
||||
kapidox
|
||||
attica-qt5
|
||||
ki18n
|
||||
kconfig
|
||||
kcoreaddons
|
||||
kwindowsystem
|
||||
kcrash
|
||||
kdbusaddons
|
||||
karchive
|
||||
kdoctools
|
||||
kservice
|
||||
kauth
|
||||
kcodecs
|
||||
kguiaddons
|
||||
kwidgetsaddons
|
||||
kconfigwidgets
|
||||
kitemviews
|
||||
kiconthemes
|
||||
kcompletion
|
||||
sonnet
|
||||
ktextwidgets
|
||||
kglobalaccel
|
||||
kxmlgui
|
||||
kbookmarks
|
||||
#libdbusmenu-qt5
|
||||
knotifications
|
||||
kwallet
|
||||
solid
|
||||
kjobwidgets
|
||||
kio
|
||||
kactivities-frameworks
|
||||
kcmutils
|
||||
kdeclarative
|
||||
kinit
|
||||
kded
|
||||
kparts
|
||||
kplotting
|
||||
kdewebkit
|
||||
kdesignerplugin
|
||||
kpty
|
||||
kdesu
|
||||
kemoticons
|
||||
kjs
|
||||
kjsembed
|
||||
kmediaplayer
|
||||
knotifyconfig
|
||||
knewstuff
|
||||
kross
|
||||
kidletime
|
||||
kitemmodels
|
||||
threadweaver
|
||||
kunitconversion
|
||||
kdnssd
|
||||
plasma-framework
|
||||
krunner
|
||||
ktexteditor
|
||||
frameworkintegration
|
||||
kdelibs4support
|
||||
khtml"
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=kde-cli-tools
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc='KDE CLI tools'
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -5,7 +5,7 @@ source ../plasma.conf
|
||||
pkgname=kfilemetadata5
|
||||
_pkgname=kfilemetadata
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc='Library providing Job- and Qeueinterfaces'
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -2,7 +2,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=khelpcenter
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="KHelpCenter"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://projects.kde.org'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=khotkeys
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc='kinfocenter'
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=kinfocenter
|
||||
pkgver=${PVersion}
|
||||
pkgrel=3
|
||||
pkgrel=1
|
||||
pkgdesc='kinfocenter'
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=kio-extras
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="KDE's screen management library"
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=kmenuedit
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc='kmenuedit'
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -2,7 +2,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=ksysguard
|
||||
pkgver=${PVersion}
|
||||
pkgrel=4
|
||||
pkgrel=1
|
||||
pkgdesc="KSysguard"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://projects.kde.org'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=kwin
|
||||
pkgver=${PVersion}
|
||||
pkgrel=4
|
||||
pkgrel=1
|
||||
pkgdesc="A versative window manager"
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=kwrited
|
||||
pkgver=${PVersion}
|
||||
pkgrel=3
|
||||
pkgrel=1
|
||||
pkgdesc="KWrited"
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -4,10 +4,10 @@ source ../plasma.conf
|
||||
|
||||
pkgname=libkscreen2
|
||||
_pkgname=libkscreen
|
||||
pkgver=5.0.91
|
||||
pkgrel=2
|
||||
pkgver=5.0.92
|
||||
pkgrel=1
|
||||
pkgdesc="KDE's screen management library"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
url='projects.kde.org/'
|
||||
license=('LGPL')
|
||||
depends=('qt5-base' 'qt5-x11extras')
|
||||
|
@ -2,7 +2,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=libksysguard
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="KSysguard library"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://projects.kde.org'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=milou
|
||||
pkgver=${PVersion}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc='KRunner alternative with focus on searching'
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=oxygen-fonts
|
||||
pkgver=0.4.0
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="Oxygen font"
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=oxygen
|
||||
pkgver=${PVersion}
|
||||
pkgrel=3
|
||||
pkgrel=1
|
||||
pkgdesc="Oxygen"
|
||||
arch=('x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
@ -2,7 +2,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=plasma-desktop
|
||||
pkgver=${PVersion}
|
||||
pkgrel=4
|
||||
pkgrel=1
|
||||
pkgdesc="Plasma Desktop"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://projects.kde.org'
|
||||
|
41
plasma-nm/PKGBUILD
Normal file
41
plasma-nm/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
source ../plasma.conf
|
||||
|
||||
pkgname=plasma-nm
|
||||
pkgver=${PVersion}
|
||||
pkgrel=1
|
||||
pkgdesc="Plasma applet written in QML for managing network connections"
|
||||
arch=('x86_64')
|
||||
url="https://projects.kde.org/projects/playground/network/plasma-nm"
|
||||
license=('GPL')
|
||||
depends=('libmm-qt5' 'libnm-qt5' 'plasma-framework' 'kemoticons' 'mobile-broadband-provider-info')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'qt5-tools')
|
||||
checkdepends=("cmake")
|
||||
groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||||
sha256sums=( $(getSum ${pkgname}) )
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=${PBuildType} \
|
||||
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DKDEPIM_SUPPORT_BUILD=FALSE
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd build
|
||||
#make test || return 0
|
||||
return 0
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
@ -2,7 +2,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=plasma-workspace
|
||||
pkgver=${PVersion}
|
||||
pkgrel=5
|
||||
pkgrel=1
|
||||
pkgdesc="Plasma Workspace"
|
||||
arch=('x86_64')
|
||||
url='http://projects.kde.org'
|
||||
|
@ -3,7 +3,7 @@ PInstallPrefix="/usr"
|
||||
# download location
|
||||
PServer="http://download.kde.org/stable/plasma/"
|
||||
# Frameworks version
|
||||
PVersion="5.0.0"
|
||||
PVersion="5.0.1"
|
||||
# Build type; can be one of Debug,Release and RelWithDebInfo
|
||||
PBuildType="RelWithDebInfo -DQML_INSTALL_DIR=/usr/lib/qt5/qml -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules -DPLUGIN_INSTALL_DIR=/usr/lib/kf5/plugins -DQT_PLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins -DSYSCONF_INSTALL_DIR=/etc"
|
||||
|
||||
|
25
plasma.order
Normal file
25
plasma.order
Normal file
@ -0,0 +1,25 @@
|
||||
_build_desktop_plasma="
|
||||
kfilemetadata5
|
||||
akonadi-qt5
|
||||
baloo5-kf5
|
||||
breeze
|
||||
kde-cli-tools
|
||||
libkscreen2
|
||||
kio-extras
|
||||
oxygen
|
||||
oxygen-fonts
|
||||
kwrited
|
||||
kwin
|
||||
libksysguard
|
||||
ksysguard
|
||||
plasma-workspace
|
||||
powerdevil
|
||||
khelpcenter
|
||||
khotkeys
|
||||
kinfocenter
|
||||
kmenuedit
|
||||
milou
|
||||
systemsettings
|
||||
plasma-desktop
|
||||
plasma-nm
|
||||
"
|
@ -2,7 +2,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=powerdevil
|
||||
pkgver=${PVersion}
|
||||
pkgrel=3
|
||||
pkgrel=1
|
||||
pkgdesc="KSysguard"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://projects.kde.org'
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
|
||||
pkgname=systemsettings
|
||||
pkgver=${PVersion}
|
||||
pkgrel=3
|
||||
pkgrel=1
|
||||
pkgdesc='Systemsettings'
|
||||
arch=('i686' 'x86_64')
|
||||
url='projects.kde.org/'
|
||||
|
63
tribe-kf5/PKGBUILD
Normal file
63
tribe-kf5/PKGBUILD
Normal file
@ -0,0 +1,63 @@
|
||||
pkgname=tribe-kf5
|
||||
_pkgname=tribe
|
||||
pkgver=2014.08.99
|
||||
_rls_notes=20140518
|
||||
pkgrel=1
|
||||
_codename=Devel
|
||||
pkgdesc="Tribe - Chakra LiveCD Installer"
|
||||
url="http://git.chakra-project.org/chakra/"
|
||||
license="GPL"
|
||||
arch=('x86_64')
|
||||
depends=('kcoreaddons' 'kwidgetsaddons' 'kio' 'solid' 'kiconthemes' 'kxmlgui'
|
||||
'ki18n' 'kcompletion' 'kdelibs4support'
|
||||
'squashfs-tools' 'tribe-partitionmanager'
|
||||
'rsync' 'mkinitcpio-nfs-utils' 'ntfs-3g' 'libpwquality')
|
||||
makedepends=('cmake' 'kde-workspace' 'automoc4')
|
||||
options=('debug')
|
||||
conficts=('tribe')
|
||||
|
||||
source=("$_pkgname"::"git://gitorious.org/chakra/${_pkgname}.git#branch=frameworks"
|
||||
"http://chakra.sourceforge.net/sources/tribe/RELEASE_NOTES_${_rls_notes}.html"
|
||||
"launch-tribe.sh")
|
||||
md5sums=('SKIP'
|
||||
'56b6115a330968eeb33b700a1920dda9'
|
||||
'e31855da237a2c8029774831b3c04685')
|
||||
|
||||
groups=('kde-uninstall')
|
||||
categories=('system')
|
||||
install=tools-tribe.install
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
|
||||
# proper bootmnt folder
|
||||
sed -i -e "s/@ARCH@/${CARCH}/g" "src/config-tribe.h.cmake"
|
||||
|
||||
# add pkgver to tribe
|
||||
sed -i -e "s~source build/from git~Build: ${pkgver} ($_codename)~g" "src/config-tribe.h.cmake"
|
||||
sed -i -e "s~code-name~$_codename~g" "scripts/postinstall-functions/01-job-initialize-target"
|
||||
sed -i -e "s~chakra-version~${pkgver}~g" "scripts/postinstall-functions/01-job-initialize-target"
|
||||
|
||||
mkdir "$_pkgname-build"
|
||||
cd "$_pkgname-build"
|
||||
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
msg "Starting make..."
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname/$_pkgname-build"
|
||||
msg "Make successful, installing..."
|
||||
make DESTDIR=${pkgdir} install
|
||||
install -Dm755 ${srcdir}/launch-tribe.sh \
|
||||
${pkgdir}/usr/bin/launch-tribe.sh
|
||||
cp -vf ${srcdir}/RELEASE_NOTES_${_rls_notes}.html $pkgdir/usr/share/tribe/config/RELEASE_NOTES.html
|
||||
|
||||
# remove nasty files
|
||||
find ${pkgdir}/ -name ".git" -type d -exec rm -fr {} +
|
||||
}
|
2
tribe-kf5/launch-tribe.sh
Normal file
2
tribe-kf5/launch-tribe.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
sudo tribe > /tmp/installation.log 2>&1
|
67
tribe-kf5/tools-tribe.install
Normal file
67
tribe-kf5/tools-tribe.install
Normal file
@ -0,0 +1,67 @@
|
||||
post_install() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package chakra-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package chakra-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package chakra-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
|
||||
$op $*
|
Loading…
Reference in New Issue
Block a user