2013-12-08 11:33:33 +08:00
|
|
|
# Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
pkgname=kdevplatform
|
2014-09-14 08:56:17 +08:00
|
|
|
pkgver=1.7.0
|
|
|
|
_pkgver=4.7.0
|
2014-09-14 09:38:38 +08:00
|
|
|
pkgrel=2
|
2010-05-29 05:38:34 +08:00
|
|
|
pkgdesc="A C/C++ development platform for KDE"
|
2012-11-05 05:33:23 +08:00
|
|
|
arch=('x86_64')
|
2010-05-29 05:38:34 +08:00
|
|
|
url="http://www.kdevelop.org/"
|
|
|
|
license=('GPL')
|
2012-03-14 12:19:18 +08:00
|
|
|
depends=('kdelibs' 'boost' 'subversion' 'qjson')
|
2010-05-29 05:38:34 +08:00
|
|
|
optdepends=("kdesdk-kompare: difference checking")
|
|
|
|
makedepends=('cmake' 'automoc4')
|
|
|
|
install=${pkgname}.install
|
2014-09-14 09:38:38 +08:00
|
|
|
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz"
|
|
|
|
"revert-shell1.patch::http://quickgit.kde.org/?p=kdevplatform.git&a=commitdiff&h=2bc4e2c5e396987fbf6beb4d7630018cdb934550&o=plain"
|
|
|
|
"revert-shell2.patch::http://quickgit.kde.org/?p=kdevplatform.git&a=commitdiff&h=5186645ab0f845b495552fcda2ff9c68bce0dc7b&o=plain")
|
|
|
|
md5sums=('72375e077f97b44056c76c7f85ce49ad'
|
|
|
|
'881e922fdfb595224bfc91836fe4a841'
|
|
|
|
'8996bb8f5a53dd3806041ab5a1978e41')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
# temp workaround kde bug 339056
|
|
|
|
patch -R -Np1 -i ../revert-shell1.patch
|
|
|
|
patch -R -Np1 -i ../revert-shell2.patch
|
|
|
|
}
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2012-03-14 12:19:18 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
2012-03-14 12:19:18 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|