Commit 4c62643d authored by Luca Giambonini's avatar Luca Giambonini

kde applications 15.07.90, first batch, not complete, check kdeapps.order for comments

parent 69f62233
How to prepare the kde PKGBUILD, this is valid for plasma and kde applications
>> Modify the file kdeapps.conf for applications and plasma.conf for plasma and change the release numbers
>> based on the release add/remove the list of packages to be build. Remeber to keep the right order!
useful links:
check the current status here:
http://developer.kde.org/~cfeck/portingstatus.html
https://piratenpad.de/p/chakra-kdeapps
## define the right group ##
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdegraphics')
for applications alwasy include:
'kde' 'kde-applications'
for plasma always include:
'plasma'
## replacements ##
replaces=('kdegraphics-gwenview')
conflicts=('kdegraphics-gwenview')
## source lines ##
with this lines the packages are properly downloaded or loaded from the _source folder in the build root
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
Sample structure:
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
################################
build the list of packages prepared in the .order file with
./build.sh kdeapps.order or plasma.order
\ No newline at end of file
# Include global configuration
source ../kdeapps.conf
pkgname=akonadi-calendar
pkgver=${_kdever}
pkgrel=1
pkgdesc="Akonadi calendar integration"
arch=('x86_64')
url="https://projects.kde.org/$pkgname"
license=(LGPL)
depends=(kmailtransport kcalutils akonadi-contact)
makedepends=(extra-cmake-modules kdoctools python3 boost)
options=('debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
pkgname=akonadi-qt5
_pkgname=akonadi
pkgver=5.0.40
pkgrel=2
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
arch=('x86_64')
url='http://community.kde.org/KDE_PIM/Akonadi'
license=('LGPL')
depends=('shared-mime-info' 'mariadb')
makedepends=('extra-cmake-modules' 'libxslt' 'qt5-base' 'postgresql')
optdepends=('postgresql: PostgreSQL backend')
install="${pkgname}.install"
conflicts=('akonadi')
#source=("http://download.kde.org/stable/akonadi/src/akonadi-${pkgver}.tar.bz2")
source=("git://anongit.kde.org/akonadi")
md5sums=('SKIP')
prepare() {
[ -d build ] && rm -r build
mkdir build
}
build() {
cd build
cmake ../${_pkgname} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib \
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
-DAKONADI_BUILD_TESTS=OFF \
-DQT5_BUILD=ON \
-DWITH_SOPRANO=OFF
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
source ../kdeapps.conf
pkgname=akonadi-search
pkgver=${_kdever}
pkgrel=1
pkgdesc="Libraries and daemons to implement searching in Akonadi"
url='https://projects.kde.org/akonadi-search'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('xapian-core' 'akonadi-mime' 'kcontacts' 'kcalcore')
makedepends=('extra-cmake-modules' 'kdoctools' 'boost')
options=('debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../kdeapps.conf
pkgname=akonadi
pkgver=1.13.0
pkgrel=4
pkgdesc="PIM layer, which provides an asynchronous API to access all kinds of PIM data"
pkgver=${_kdever}
pkgrel=1
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
arch=('x86_64')
url='http://www.akonadi-project.org'
url='http://community.kde.org/KDE_PIM/Akonadi'
license=('LGPL')
depends=('shared-mime-info'
'boost-libs'
'akonadi-backend')
makedepends=('pkg-config'
'cmake'
'automoc4'
'boost'
'postgresql')
options=('debug')
install=$pkgname.install
source=("http://download.kde.org/stable/akonadi/src/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2')
depends=('shared-mime-info' 'qt5-base' 'libxslt')
makedepends=('extra-cmake-modules' 'postgresql' 'mariadb')
checkdepends=('xorg-server-xvfb')
optdepends=('postgresql: PostgreSQL backend'
'mariadb: MariaDB backend')
install="${pkgname}.install"
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
[[ -d ${srcdir}/build ]] || rm -rf ${srcdir}/build
mkdir "${srcdir}/build"
mkdir -p build
}
build() {
cd "${srcdir}/build"
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
-DWITH_SOPRANO=OFF
make
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DDATABASE_BACKEND=SQLITE
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
check() {
# 17 akonadi-dbconfigtest failed as we changed the default backend
# 24~30 failed due to qt cannot find the sqldriver which is not installed yet
cd build
xvfb-run -a dbus-launch --exit-with-session make test || warning "Tests failed"
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
\ No newline at end of file
# Include global configuration
source ../kdeapps.conf
pkgname=ark
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="Archiver for various compression formats"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' 'debug')
depends=('karchive' 'kconfig' 'kpty' 'khtml' 'kdbusaddons' 'ki18n' 'kiconthemes'
'kio' 'kservice' 'kwidgetsaddons' 'libarchive' 'kde-baseapps')
makedepends=('extra-cmake-modules' 'kdoctools' 'p7zip' 'zip' 'unzip' 'unrar')
optdepends=('p7zip' 'zip' 'unzip' 'unrar')
conflicts=("kdeutils-common" "kdeutils-doc")
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeutils')
conflicts=('kdeutils-ark')
replaces=('kdeutils-ark')
install=kdeutils.install
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
\ No newline at end of file
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname="baloo-widgets"
arch=('x86_64')
pkgname=baloo-widgets
pkgver=${_kdever}
pkgrel=1
pkgdesc="Widgets for Baloo"
url="http://www.kde.org"
license=('GPL'
'LGPL'
'FDL')
options=('docs'
'!header'
'debug'
'log')
depends=("kdelibs>=${_kdever}"
"baloo>=${kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4'
'doxygen')
source=($_mirror/${pkgname}-$_kdever.tar.xz)
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
pkgdesc="Widgets for the baloo framework for searching and managing metadata"
arch=('x86_64')
url='https://projects.kde.org/projects/kde/kdelibs/baloo'
license=('LGPL')
depends=('baloo' 'kdelibs4support' 'kemoticons')
makedepends=('extra-cmake-modules' 'kdoctools')
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd ${pkgname}-${pkgver}
rm -rf build
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
cd build
make DESTDIR=${pkgdir} install
}
......@@ -12,9 +12,7 @@ arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kxmlgui' 'phonon-qt5')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdeedu" "kde-uninstall")
categories=('education')
provides=('kdeedu-blinken')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeedu')
replaces=('kdeedu-blinken')
conflicts=('kdeedu-blinken')
options=('docs' 'debug')
......@@ -32,6 +30,6 @@ build() {
}
package() {
cd build
make DESTDIR=${pkgdir} install
cd build
make DESTDIR=${pkgdir} install
}
......@@ -9,10 +9,9 @@ pkgdesc="Arcade Bombing Game"
arch=('x86_64')
url='http://kde.org/applications/games/bomber/'
license=('GPL' 'LGPL' 'FDL')
depends=("libkdegames=${_kdever}")
depends=("libkdegames")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-bomber')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdegames')
replaces=('kdegames-bomber')
conflicts=('kdegames-bomber')
options=('docs' 'debug')
......@@ -30,6 +29,6 @@ build() {
}
package() {
cd build
make DESTDIR=${pkgdir} install
cd build
make DESTDIR=${pkgdir} install
}
......@@ -9,10 +9,9 @@ pkgdesc="Five-in-a-row Board Game"
arch=('x86_64')
url='http://kde.org/applications/games/bovo/'
license=('GPL' 'LGPL' 'FDL')
depends=("libkdegames=${_kdever}")
depends=('libkdegames')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-bovo')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdegames')
replaces=('kdegames-bovo')
conflicts=('kdegames-bovo')
options=('docs' 'debug')
......@@ -30,6 +29,6 @@ build() {
}
package() {
cd build
make DESTDIR=${pkgdir} install
cd build
make DESTDIR=${pkgdir} install
}
......@@ -19,11 +19,9 @@ optdepends=('luajit: LUA backend'
'r: R backend'
'sage-mathematics: Sage backend')
makedepends=('extra-cmake-modules' 'kdoctools' 'luajit' 'python3' 'python2' 'r')
provides=('kdeedu-cantor')
replaces=('kdeedu-cantor')
conflicts=('kdeedu-cantor')
groups=("kde" "kdeedu" "kde-uninstall")
categories=('education')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeedu')
options=('docs' 'debug')
install=${pkgname}.install
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
......@@ -40,7 +38,7 @@ build() {
}
package() {
cd build
make DESTDIR=${pkgdir} install
cd build
make DESTDIR=${pkgdir} install
}
This diff is collapsed.
# Include global configuration
source ../kdeapps.conf
pkgname=dolphin-plugins
pkgver=${_kdever}
pkgrel=1
pkgdesc='Dolphin plugins'
url="http://www.kde.org"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('dolphin')
makedepends=('extra-cmake-modules' 'kdoctools')
conflicts=('kdesdk-dolphin-plugins')
replaces=('kdesdk-dolphin-plugins')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdesdk')
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
# Include global configuration
source ../kdeapps.conf
pkgname=dolphin
pkgver=${_kdever}
pkgrel=1
pkgdesc="File Manager"
arch=('x86_64')
url="http://kde.org/applications/system/dolphin/"
license=(LGPL)
depends=('baloo-widgets' 'knewstuff' 'kio-extras' 'ktexteditor' 'kactivities-frameworks')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
conflicts=('kdebase-dolphin<15.04.3-1')
replaces=(kdebase-dolphin)
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdebase')
install=$pkgname.install
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
# Include global configuration
source ../kdeapps.conf
pkgname=dragon
pkgver=${_kdever}
pkgrel=1
pkgdesc="A simple multimedia player"
url='http://kde.org/applications/multimedia/dragonplayer/'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('hicolor-icon-theme' 'kparts')
makedepends=('extra-cmake-modules' 'kdoctools' 'python')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdemultimedia')
conflicts=('kdemultimedia-dragonplayer')
replaces=('kdemultimedia-dragonplayer')
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
source ../kdeapps.conf
pkgname=ffmpegthumbs
pkgver=${_kdever}
pkgrel=1
pkgdesc='FFmpeg-based thumbnail creator for video files'
url='https://projects.kde.org/projects/kde/kdemultimedia/ffmpegthumbs'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdemultimedia')
depends=('kdelibs' 'ffmpeg')
makedepends=('cmake' 'automoc4')
options=('debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
......@@ -2,7 +2,7 @@
# Include global configuration
source ../kdeapps.conf
pkgname="filelight"
pkgname=filelight
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
......@@ -10,12 +10,11 @@ url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' 'debug')
pkgdesc="Creates a complex, but data-rich graphical representation of the files and directories on your computer"
depends=()
makedepends=('kparts' 'extra-cmake-modules' 'python3' 'kdoctools')
conflicts=("kdeutils-filelight")
replaces=("kdeutils-filelight")
provides=("kdeutils-filelight")
groups=("kde" "kdeutils" "kde-uninstall")
depends=('kparts')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
conflicts=('kdeutils-filelight')
replaces=('kdeutils-filelight')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeutils')
categories=('utils')
install=kdeutils.install
......@@ -33,6 +32,6 @@ build() {
}
package() {
cd build
make DESTDIR=${pkgdir} install
cd build
make DESTDIR=${pkgdir} install
}
source ../kdeapps.conf
pkgname=gpgmepp
pkgver=${_kdever}
pkgrel=1
pkgdesc="C++ bindings/wrapper for gpgme"
arch=('x86_64')
url="https://projects.kde.org/gpgmepp"
license=('LGPL')
depends=('gpgme' 'qt5-base')
makedepends=('extra-cmake-modules' 'python3' 'boost')
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
......@@ -9,12 +9,11 @@ pkgdesc="Granatier is a clone of the classic Bomberman game, inspired by the Cla
arch=('x86_64')
url='http://kde.org/applications/games/granatier/'
license=('GPL' 'LGPL' 'FDL')
depends=('knotifyconfig' "libkdegames=${_kdever}")
depends=('knotifyconfig' 'libkdegames')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
provides=('kdegames-granatier')
replaces=('kdegames-granatier')
conflicts=('kdegames-granatier')
groups=("kde" "kdegames" "kde-uninstall")
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdegames')
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
......@@ -30,6 +29,6 @@ build() {
}
package() {
cd build
make DESTDIR=${pkgdir} install
cd build
make DESTDIR=${pkgdir} install
}
......@@ -14,9 +14,7 @@ makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
optdepends=('qt5-imageformats: support for tiff, webp, and more image formats'
'kimageformats: support for dds, xcf, exr, psd, and more image formats')
install=${pkgname}.install
groups=("kde" "kdegraphics" "kde-uninstall")
categories=('graphics')
provides=('gwenview')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdegraphics')
provides=('kdegraphics-gwenview')
replaces=('kdegraphics-gwenview')
conflicts=('kdegraphics-gwenview')
......
......@@ -9,9 +9,9 @@ pkgdesc="Small system to administer web accounts for the sites and services acro
arch=('x86_64')
url="https://projects.kde.org/projects/playground/base/kde-accounts/kaccounts-providers"