desktop/kde-runtime/PKGBUILD

69 lines
2.2 KiB
Bash
Raw Normal View History

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
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
pkgdesc="KDE Runtime"
2010-05-22 06:25:44 +08:00
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' '!header' 'debug' 'log')
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'
'libcanberra' 'sound-theme-freedesktop')
makedepends=('pkgconfig' 'cmake' 'automoc4' "kdepimlibs>=${_kdever}" 'openslp' 'docbook-xsl'
'networkmanager' 'xine-lib' 'libcanberra-pulse' 'soprano')
optdepends=('htdig: to build the search index' 'gdb: drkonq crash handler')
groups=("kde" "kde-minimal" "kde-uninstall")
replaces=('kdebase-runtime' 'kde-runtime-doc')
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
'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
build() {
cd ${pkgname}-${pkgver}
2010-05-22 06:25:44 +08:00
# copy our branding stuff
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
rm -rf build
mkdir build && cd build
2010-05-22 06:25:44 +08:00
msg "starting build ..."
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
}
package() {
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')