update kdevelop to kf5 version so kdev-python support py 3.5

This commit is contained in:
Weng Xuetian 2016-03-30 18:15:05 +01:00
parent b54c03a59e
commit 76039c4331
6 changed files with 122 additions and 129 deletions

33
kdev-php/PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
source ../kdeapps.conf
pkgname=kdev-php
pkgver=4.90.91
pkgrel=1
pkgdesc="PHP language and documentation plugin for KDevelop"
arch=(i686 x86_64)
url="http://www.kdevelop.org/"
license=(GPL)
option=('debug')
depends=(kdevelop)
replaces=(kdevelop-php kdevelop-php-docs)
conflicts=(kdevelop-php kdevelop-php-docs)
provides=(kdevelop-php kdevelop-php-docs)
makedepends=(extra-cmake-modules kdoctools kdevelop-pg-qt)
source=(http://download.kde.org/unstable/kdevelop/$pkgver/src/${pkgname}-$pkgver.tar.xz)
sha1sums=('1b84ee03bfe94d14edf90304a78b7ff405935cd0')
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}

View File

@ -1,33 +1,32 @@
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributor: Jakub Kozisek <nodevel at gmail dot com>
source ../kdeapps.conf
pkgname=kdev-python
pkgver=1.7.2
_pkgver=4.7.2
_branch=stable
pkgver=4.90.91
_branch=unstable
pkgrel=1
pkgdesc="Python language plugin for KDevelop"
pkgdesc="Python language and documentation plugin for KDevelop"
arch=('x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdevelop')
makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt')
source=("http://download.kde.org/${_branch}/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('e0430e3e3872db3cee523f041235facb')
license=(GPL)
depends=(kdevelop)
makedepends=(extra-cmake-modules)
source=("http://download.kde.org/${_branch}/kdevelop/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('5efb8ab1003a10534db1783a9cacc70d89a98b0e')
prepare() {
mkdir -p build
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build && cd build
cmake \
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr \
..
make parser
make
cd build
cmake_kf5 ../${pkgname}-$pkgver
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
cd build
make DESTDIR="$pkgdir" install
}

View File

@ -4,30 +4,32 @@
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
source ../kdeapps.conf
pkgname=kdevelop-pg-qt
pkgver=1.0.0
pkgver=1.90.92
pkgrel=1
pkgdesc="KDevelop Parser Generator, a LL(1) parser generator used by KDevelop language plugins"
arch=('i686' 'x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
categories=('programming')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('468bc91c5be16061dc265e9471f75462b32b73d5')
license=(GPL)
option=('debug')
depends=(qt5-base)
makedepends=(extra-cmake-modules)
source=("http://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
sha1sums=('cbe2ed7a0fa2a81ad3e3bd6da70e78c8ab2a99bf')
prepare() {
mkdir -p build
}
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
cd build
cmake_kf5 ../$pkgname-$pkgver
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
cd build
make DESTDIR="$pkgdir" install
}

View File

@ -1,48 +0,0 @@
pkgbase=kdevelop-php
pkgname=('kdevelop-php' 'kdevelop-php-docs')
pkgver=1.7.3
_pkgver=4.7.3
pkgrel=1
pkgdesc="PHP plugin for Kdevelop"
arch=('x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=("kdevelop=${_pkgver}" "kdevelop-pg-qt")
makedepends=('cmake' 'automoc4')
categories=('programming')
options=('!makeflags')
source=(http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgbase}-{,docs-}${pkgver}.tar.bz2)
sha1sums=('e518207915a290e312f21ed13bead83d98f54c27'
'3514116a25775d39650a5dbf4fd495abda042f40')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
cd "${srcdir}"
mkdir build-docs
cd build-docs
# kdevelop-php-docs
cmake ../${pkgname}-docs-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package_kdevelop-php() {
optdepends=('kdevelop-php-docs: documentation')
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
package_kdevelop-php-docs() {
pkgdesc="Documentation for kdevelop-php"
depends=("kdevelop-php=${pkgver}")
cd "${srcdir}"/build-docs
make DESTDIR="${pkgdir}" install
}

View File

@ -1,35 +1,39 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdevelop
source ../kdeapps.conf
pkgname=kdevelop
pkgver=4.7.3
pkgver=4.90.91
pkgrel=1
pkgdesc="A C/C++ development environment for KDE"
arch=('x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kde-baseapps-katepart' 'kde-runtime' 'kdevplatform')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
optdepends=('konsolepart4: embedded terminal'
#'oktetapart4: hex editor integration' > enable in kf5 version
'git: Git support'
'subversion: SVN support'
'cvs: Concurrent Versions System support'
'gdb: GNU Debugger support'
'qt5-doc: Qt documentation integration'
'cmake: cmake integration')
categories=('programming')
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('5ebd56ee348d7688eff55ffc6a83018ccf42a4fb')
pkgdesc='A C/C++ development environment for KDE'
arch=(x86_64)
url='http://www.kdevelop.org/'
license=(GPL)
option=('debug')
depends=(kdevplatform clang libksysguard)
makedepends=(extra-cmake-modules kdoctools kdevelop-pg-qt clang llvm qt5-tools plasma-framework krunner okteta)
optdepends=('konsole: embedded terminal'
'git: Git support'
'subversion: SVN support'
'cvs: CVS support'
'gdb: GNU Debugger support'
'qt5-doc: Qt documentation integration'
'cmake: cmake integration'
'qt5-tools: qthelp plugin'
'okteta: hex editor integration'
'plasma-framework: for the plasma addons')
conflicts=(kdevelop-qmljs)
replaces=(kdevelop-qmljs)
install="$pkgname.install"
source=("http://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
sha1sums=('b56ba171d6ec42259664c088d80588a765d9c132')
prepare() {
mkdir -p build
}
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}

View File

@ -1,29 +1,32 @@
source ../kdeapps.conf
pkgname=kdevplatform
pkgver=1.7.3
_pkgver=4.7.3
pkgver=4.90.91
pkgrel=1
pkgdesc="A C/C++ development platform for KDE"
arch=('x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs' 'boost' 'subversion' 'qjson')
#optdepends=("kompare: difference checking") > no kf5 version available yet
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('7201629fb4fa9bec83def4bf691f4eda41bfc555')
pkgdesc='A C/C++ development platform for KDE'
arch=(x86_64)
url='http://www.kdevelop.org/'
license=(GPL)
option=('debug')
depends=(grantlee-qt5 hicolor-icon-theme kcmutils threadweaver kitemmodels ktexteditor knotifyconfig knewstuff libkomparediff2 qt5-webkit)
makedepends=(extra-cmake-modules boost subversion)
optdepends=('subversion: Subversion plugin')
install="$pkgname.install"
source=("http://download.kde.org/unstable/kdevelop/$pkgver/src/$pkgname-$pkgver.tar.xz")
sha1sums=('aaeaf7833ed18941d44f43e5b0d87b60ae067751')
prepare() {
mkdir -p build
}
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
cd build
make DESTDIR="$pkgdir" install
}