desktop/kdesdk/PKGBUILD

317 lines
9.6 KiB
Bash
Raw Normal View History

2010-05-22 06:25:44 +08:00
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
2012-04-27 08:49:08 +08:00
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-05-22 06:25:44 +08:00
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2011-07-23 02:02:15 +08:00
pkgbase=('kdesdk')
pkgname=('kdesdk-cervisia'
'kdesdk-dolphin-plugins'
2010-05-22 06:25:44 +08:00
'kdesdk-kapptemplate'
'kdesdk-kcachegrind'
2012-05-27 19:03:32 +08:00
# 'kdesdk-kdeaccounts-plugin'
# 'kdesdk-kdepalettes'
'kdesdk-kioslaves'
2010-05-22 06:25:44 +08:00
'kdesdk-kmtrace'
'kdesdk-kompare'
'kdesdk-kpartloader'
'kdesdk-kprofilemethod'
# 'kdesdk-kspy'
2010-05-22 06:25:44 +08:00
'kdesdk-kstartperf'
'kdesdk-kuiviewer'
2011-07-23 02:02:15 +08:00
'kdesdk-lokalize'
'kdesdk-okteta'
2010-05-22 06:25:44 +08:00
'kdesdk-poxml'
'kdesdk-scripts'
'kdesdk-strigi-analyzers'
2012-06-13 02:12:24 +08:00
'kdesdk-thumbnailers'
2010-05-22 06:25:44 +08:00
'kdesdk-umbrello')
2012-11-18 17:58:34 +08:00
arch=('x86_64')
2010-05-22 06:25:44 +08:00
pkgver=${_kdever}
2013-04-11 00:57:08 +08:00
pkgrel=1
2010-05-22 06:25:44 +08:00
pkgdesc="KDE Standard Development Toolkit"
2010-05-22 06:25:44 +08:00
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' '!splithdr' 'splitdbg' 'log')
2010-05-22 06:25:44 +08:00
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' "kde-runtime>=${_kdever}" 'antlr2' 'hunspell'
2011-10-30 02:34:33 +08:00
"kdepimlibs>=${_kdever}" 'subversion' "kdebindings-pykde4>=${_kdever}" "kde-baseapps-konqueror>=${_kdever}" 'java-runtime' 'docbook-xsl')
2010-05-22 06:25:44 +08:00
2012-03-30 09:29:52 +08:00
source=("$_mirror/${pkgbase}-$_kdever.tar.xz")
md5sums=(`grep ${pkgbase}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
2011-07-23 02:02:15 +08:00
build() {
2011-06-05 02:22:27 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}
2010-05-22 06:25:44 +08:00
msg "starting build ..."
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
2011-08-25 01:35:29 +08:00
-DCMAKE_SKIP_RPATH=ON
2012-06-10 17:02:28 +08:00
make
2010-05-22 06:25:44 +08:00
}
2011-07-23 02:02:15 +08:00
package_kdesdk-dolphin-plugins() {
2011-07-23 02:02:15 +08:00
pkgdesc='Extra Dolphin plugins'
depends=("kde-baseapps-dolphin>=${_kdever}" 'subversion' 'git' "kdesdk-kompare>=${_kdever}")
optdepends=('bzr: bazaar support'
'git: git support'
'mercurial: hg support'
'subversion: svn support')
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
splitdirs="git svn bazaar hg"
2010-05-22 06:25:44 +08:00
for i in ${splitdirs} ; do
2011-07-23 02:02:15 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/dolphin-plugins/${i}
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
done
}
package_kdesdk-cervisia() {
2010-05-22 06:25:44 +08:00
pkgdesc="A CVS GUI frontend for KDE"
screenshot="http://www.kde.org/images/screenshots/cervisia.png"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
conflicts=('kdesdk-doc')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/cervisia
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kapptemplate() {
2010-05-22 06:25:44 +08:00
pkgdesc="KDE application template generator"
screenshot="http://www.kde.org/images/screenshots/kapptemplate.png"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
conflicts=('kdesdk-doc')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kapptemplate
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kcachegrind() {
2011-07-23 02:02:15 +08:00
pkgdesc="KDE profiler visualization"
screenshot="http://www.kde.org/images/screenshots/kcachegrind.png"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}" "python2")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
conflicts=('kdesdk-doc')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kcachegrind
make DESTDIR=${pkgdir} install
2010-11-29 03:23:19 +08:00
}
package_kdesdk-kdeaccounts-plugin() {
2010-05-22 06:25:44 +08:00
pkgdesc="Addressbook plugin that puts names/email addresses of all KDE SVN accounts into an addressbook"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kdeaccounts-plugin
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kdepalettes() {
2011-07-23 02:02:15 +08:00
pkgdesc='Palettes for the Gimp that match the KDE standard color palette'
optdepends=('gimp')
2010-05-22 06:25:44 +08:00
2011-07-23 02:02:15 +08:00
install -D -m644 $srcdir/${pkgbase}-${pkgver}/kdepalettes/KDE_Gimp \
$pkgdir/usr/share/gimp/2.0/palettes/KDE.gpl
}
package_kdesdk-kioslaves() {
2011-07-23 02:02:15 +08:00
pkgdesc='KDED Subversion Module'
depends=("kde-runtime>=${_kdever}" 'subversion')
2012-03-06 07:57:58 +08:00
categories=('programming')
provides=('kdesdk-kioslave')
conflicts=('kdesdk-common' 'kdesdk-kioslave')
replaces=('kdesdk-common' 'kdesdk-kioslave')
2011-07-23 02:02:15 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kdesdk-kioslaves
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kmtrace() {
2010-05-22 06:25:44 +08:00
pkgdesc="A KDE memory leak tracer"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
conflicts=('kdesdk-doc')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kde-dev-utils/kmtrace
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kompare() {
2010-05-22 06:25:44 +08:00
pkgdesc="A KDE visual diff viewer"
screenshot="http://www.kde.org/images/screenshots/kompare.png"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
conflicts=('kdesdk-doc')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kompare
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kpartloader() {
2010-05-22 06:25:44 +08:00
pkgdesc="KPartloader is a very simple application to test loading of a KPart."
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kde-dev-utils/kpartloader
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kprofilemethod() {
2010-05-22 06:25:44 +08:00
pkgdesc="Macros for profiling using QTime"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kde-dev-utils/kprofilemethod
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kspy() {
pkgdesc='An Object Inspector for Qt/KDE applications'
depends=("kde-runtime>=${_kdever}")
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
install=${pkgbase}.install
cd ${srcdir}/${pkgbase}-${pkgver}/kdesdk-kspy
make DESTDIR=${pkgdir} install
}
package_kdesdk-kstartperf() {
2010-05-22 06:25:44 +08:00
pkgdesc="Measures startup time for KDE applications"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kde-dev-utils/kstartperf
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-kuiviewer() {
2010-05-22 06:25:44 +08:00
pkgdesc="KUIViewer is a utility to display and test .ui-files"
screenshot="http://www.kde.org/images/screenshots/kuiviewer.png"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kde-dev-utils/kuiviewer
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-lokalize() {
2011-07-23 02:02:15 +08:00
pkgdesc="Computer aided translation system"
screenshot="http://www.kde.org/images/screenshots/lokalize.png"
depends=("kde-runtime>=${_kdever}" "kdebindings-pykde4>=${_kdever}" "kdesdk-strigi-analyzers>=${_kdever}" "hunspell")
2011-07-23 02:02:15 +08:00
optdepends=('translate-toolkit: enable extra python script')
conflicts=('kdesdk-doc')
2011-07-23 02:02:15 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-07-23 02:02:15 +08:00
install=${pkgbase}.install
cd ${srcdir}/${pkgbase}-${pkgver}/lokalize
make DESTDIR=${pkgdir} install
2011-07-23 02:02:15 +08:00
}
package_kdesdk-okteta() {
2011-07-23 02:02:15 +08:00
pkgdesc="Okteta is a simple editor for the raw data of files, also known as a hex editor."
screenshot="http://www.kde.org/images/screenshots/okteta.png"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}" "kde-runtime>=${_kdever}"
"kde-baseapps>=${_kdever}")
replaces=('kdeutils-okteta')
conflicts=('kdesdk-doc')
2011-07-23 02:02:15 +08:00
groups=("kde" "kde-devel" "kdesdk" "kde-uninstall")
install=${pkgbase}.install
cd ${srcdir}/${pkgbase}-${pkgver}/okteta
make DESTDIR=${pkgdir} install
2011-07-23 02:02:15 +08:00
}
package_kdesdk-poxml() {
2010-05-22 06:25:44 +08:00
pkgdesc="Tools for using .po-files to translate DocBook XML files"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}" 'qt' 'antlr2')
conflicts=('kdesdk-doc')
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/poxml
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
package_kdesdk-scripts() {
2010-05-22 06:25:44 +08:00
pkgdesc="Extra scripts for the KDE SDK"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}" 'python')
conflicts=('kdesdk-doc')
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kde-dev-scripts
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}
2011-07-23 02:02:15 +08:00
package_kdesdk-strigi-analyzers() {
2011-07-23 02:02:15 +08:00
pkgdesc='Strigi-Analyzer for KDE SDK'
depends=("kdelibs>=${_kdever}")
provides=('kdesdk-strigi-analyzer')
replaces=('kdesdk-strigi-analyzer')
conflicts=('kdesdk-common' 'kdesdk-strigi-analyzer')
2011-07-23 02:02:15 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kdesdk-strigi-analyzers
make DESTDIR=${pkgdir} install
2011-07-23 02:02:15 +08:00
}
2012-06-13 02:12:24 +08:00
package_kdesdk-thumbnailers() {
pkgdesc="KDE SDK thumbnailers for several development files"
depends=("kde-runtime>=${_kdever}")
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
categories=('programming')
install=${pkgbase}.install
2012-06-14 03:50:22 +08:00
replaces=('po-thumbnailer')
conflicts=('po-thumbnailer')
provides=('po-thumbnailer')
2012-06-13 02:12:24 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/kdesdk-thumbnailers
make DESTDIR=${pkgdir} install
2012-06-13 02:12:24 +08:00
}
package_kdesdk-umbrello() {
2010-05-22 06:25:44 +08:00
pkgdesc="An UML modeling tool for KDE"
screenshot="http://uml.sourceforge.net/screenshots/umbrello-2.0.png"
2011-07-23 02:02:15 +08:00
depends=("kde-runtime>=${_kdever}")
conflicts=('kdesdk-doc')
2011-06-05 02:22:27 +08:00
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
2012-03-06 07:57:58 +08:00
categories=('programming')
2011-06-05 02:22:27 +08:00
install=${pkgbase}.install
2010-05-22 06:25:44 +08:00
cd ${srcdir}/${pkgbase}-${pkgver}/umbrello
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}