2013-12-18 02:36:04 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 02:41:12 +08:00
|
|
|
# Maintainer Manuel Tortosa <manutortosa@chakra-project@org>
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2010-05-22 06:25:44 +08:00
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
pkgname="kde-runtime"
|
2012-11-17 23:53:20 +08:00
|
|
|
arch=('x86_64')
|
2010-05-22 06:25:44 +08:00
|
|
|
pkgver=${_kdever}
|
2013-10-01 05:55:42 +08:00
|
|
|
pkgrel=1
|
2012-02-06 04:46:15 +08:00
|
|
|
pkgdesc="KDE Runtime"
|
2010-05-22 06:25:44 +08:00
|
|
|
url="http://www.kde.org"
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2013-07-24 08:15:53 +08:00
|
|
|
options=('docs' '!header' 'debug' 'log')
|
2013-02-25 00:51:15 +08:00
|
|
|
depends=("kdelibs>=${_kdever}" "nepomuk-core>=${_kdever}" "kactivities>=${_kdever}" 'oxygen-icons'
|
2013-05-05 16:21:06 +08:00
|
|
|
'xorg-xauth' 'hicolor-icon-theme' 'samba' 'rarian' 'libssh' 'libpulse' 'libssh'
|
2013-02-25 00:51:15 +08:00
|
|
|
'libcanberra' 'sound-theme-freedesktop')
|
|
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' "kdepimlibs>=${_kdever}" 'openslp' 'docbook-xsl'
|
|
|
|
'networkmanager' 'xine-lib' 'libcanberra-pulse' 'soprano')
|
2012-02-06 04:46:15 +08:00
|
|
|
optdepends=('htdig: to build the search index' 'gdb: drkonq crash handler')
|
|
|
|
groups=("kde" "kde-minimal" "kde-uninstall")
|
2012-06-05 23:34:18 +08:00
|
|
|
replaces=('kdebase-runtime' 'kde-runtime-doc')
|
2012-02-06 04:46:15 +08:00
|
|
|
provides=('kdebase-runtime' 'kde-runtime-doc')
|
|
|
|
conflicts=('kdebase-runtime' 'kde-runtime-doc')
|
|
|
|
install=kde-runtime.install
|
2010-05-22 06:25:44 +08:00
|
|
|
noextract=(branding.svgz)
|
|
|
|
|
2012-03-30 08:52:54 +08:00
|
|
|
source=($_mirror/${pkgname}-$_kdever.tar.xz
|
2013-10-01 02:48:23 +08:00
|
|
|
'branding.svgz')
|
2012-06-10 04:05:59 +08:00
|
|
|
|
2013-12-17 20:32:36 +08:00
|
|
|
sha1sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`
|
2013-10-01 05:55:42 +08:00
|
|
|
'e9a8617448523aacd70dd66f2ffc62a827af027b') # branding.svgz
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
|
2010-05-22 06:25:44 +08:00
|
|
|
# copy our branding stuff
|
2012-02-06 04:46:15 +08:00
|
|
|
cp -f ${srcdir}/branding.svgz ${srcdir}/${pkgname}-${pkgver}/desktoptheme/oxygen/widgets/
|
|
|
|
cp -f ${srcdir}/branding.svgz ${srcdir}/${pkgname}-${pkgver}/desktoptheme/air/widgets/
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-06-10 02:22:38 +08:00
|
|
|
rm -rf build
|
|
|
|
mkdir build && cd build
|
|
|
|
|
2010-05-22 06:25:44 +08:00
|
|
|
msg "starting build ..."
|
2012-06-10 02:22:38 +08:00
|
|
|
cmake .. -DCMAKE_BUILD_TYPE=${_build_type} \
|
2010-05-22 06:25:44 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
2010-11-28 16:44:06 +08:00
|
|
|
-DWITH_PulseAudio=ON \
|
2010-05-22 06:25:44 +08:00
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
|
|
|
|
2011-07-26 02:46:44 +08:00
|
|
|
make
|
2010-05-22 06:25:44 +08:00
|
|
|
}
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
package() {
|
2012-06-10 02:22:38 +08:00
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}/build
|
2011-07-26 02:46:44 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-22 06:25:44 +08:00
|
|
|
|
|
|
|
# put kdesu into the path
|
|
|
|
cp ${pkgdir}/usr/lib/kde4/libexec/kdesu ${pkgdir}/usr/bin/kdesu
|
|
|
|
|
|
|
|
# WORKAROUND, conflict with hicolor-icon-theme
|
|
|
|
rm -rf ${pkgdir}/usr/share/icons/hicolor/index.theme
|
|
|
|
rm -rf ${pkgdir}/usr/share/icons/default.kde4
|
|
|
|
}
|
2013-10-01 05:55:42 +08:00
|
|
|
sha1sums=('b896ef9d8fe770720dc16ae3eae33538e4e699da'
|
|
|
|
'e9a8617448523aacd70dd66f2ffc62a827af027b')
|