[arch-commits] Commit in kdebase-runtime/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 10 18:46:45 UTC 2015
Date: Friday, April 10, 2015 @ 20:46:45
Author: arojas
Revision: 236067
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdebase-runtime/repos/staging-i686/
kdebase-runtime/repos/staging-i686/PKGBUILD
(from rev 236066, kdebase-runtime/trunk/PKGBUILD)
kdebase-runtime/repos/staging-i686/kdebase-runtime.install
(from rev 236066, kdebase-runtime/trunk/kdebase-runtime.install)
kdebase-runtime/repos/staging-x86_64/
kdebase-runtime/repos/staging-x86_64/PKGBUILD
(from rev 236066, kdebase-runtime/trunk/PKGBUILD)
kdebase-runtime/repos/staging-x86_64/kdebase-runtime.install
(from rev 236066, kdebase-runtime/trunk/kdebase-runtime.install)
----------------------------------------+
staging-i686/PKGBUILD | 72 +++++++++++++++++++++++++++++++
staging-i686/kdebase-runtime.install | 13 +++++
staging-x86_64/PKGBUILD | 72 +++++++++++++++++++++++++++++++
staging-x86_64/kdebase-runtime.install | 13 +++++
4 files changed, 170 insertions(+)
Copied: kdebase-runtime/repos/staging-i686/PKGBUILD (from rev 236066, kdebase-runtime/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-10 18:46:45 UTC (rev 236067)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=kdebase-runtime
+pkgname=('kdebase-runtime' 'khelpcenter4')
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Plugins and applications necessary for the running of KDE applications"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kde-runtime'
+license=('GPL' 'LGPL')
+makedepends=('kdelibs' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra' 'libwebp'
+ 'pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen' 'networkmanager' 'boost')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-runtime-${pkgver}.tar.xz")
+sha1sums=('5cbfec48ead85a1cd3dab675b98623dd4a831d91')
+
+prepare() {
+ mkdir build
+
+ cd kde-runtime-${pkgver}
+}
+
+build() {
+ cd build
+ cmake ../kde-runtime-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_QNtrack=OFF \
+ -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0 \
+ -DWITH_NepomukCore=OFF
+ make
+}
+
+package_khelpcenter4() {
+ pkgdesc=("Application to show KDE Applications' documentation")
+ depends=('kdebase-runtime' 'htdig' 'rarian')
+ provides=('khelpcenter')
+ conflicts=('khelpcenter')
+
+ cd build/khelpcenter
+ make DESTDIR="$pkgdir" install
+}
+
+package_kdebase-runtime() {
+ depends=("kdelibs" 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra'
+ 'oxygen-icons' 'xorg-xauth' 'libwebp')
+ optdepends=('kdepimlibs: for kwalletd, and is needed by DrKonqi to send crash reports to KDE.org'
+ 'gdb: needed by DrKonqi to generate backtrace' 'khelpcenter: to display applications documentation')
+ provides=('notification-daemon')
+ install=$pkgname.install
+
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ rm "${pkgdir}"/usr/share/icons/hicolor/index.theme
+
+ ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/"
+
+ # FS#36668
+ chown :nobody "${pkgdir}"/usr/lib/kde4/libexec/kdesud
+ chmod g+s "${pkgdir}"/usr/lib/kde4/libexec/kdesud
+
+# Remove khelpcenter
+ cd "$pkgdir"
+ find -name '*khelpcenter*' | xargs rm -fr
+ find -name 'khc*' | xargs rm -fr
+ rm usr/share/applications/kde4/Help.desktop
+}
Copied: kdebase-runtime/repos/staging-i686/kdebase-runtime.install (from rev 236066, kdebase-runtime/trunk/kdebase-runtime.install)
===================================================================
--- staging-i686/kdebase-runtime.install (rev 0)
+++ staging-i686/kdebase-runtime.install 2015-04-10 18:46:45 UTC (rev 236067)
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdebase-runtime/repos/staging-x86_64/PKGBUILD (from rev 236066, kdebase-runtime/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-10 18:46:45 UTC (rev 236067)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=kdebase-runtime
+pkgname=('kdebase-runtime' 'khelpcenter4')
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Plugins and applications necessary for the running of KDE applications"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kde-runtime'
+license=('GPL' 'LGPL')
+makedepends=('kdelibs' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra' 'libwebp'
+ 'pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen' 'networkmanager' 'boost')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-runtime-${pkgver}.tar.xz")
+sha1sums=('5cbfec48ead85a1cd3dab675b98623dd4a831d91')
+
+prepare() {
+ mkdir build
+
+ cd kde-runtime-${pkgver}
+}
+
+build() {
+ cd build
+ cmake ../kde-runtime-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_QNtrack=OFF \
+ -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0 \
+ -DWITH_NepomukCore=OFF
+ make
+}
+
+package_khelpcenter4() {
+ pkgdesc=("Application to show KDE Applications' documentation")
+ depends=('kdebase-runtime' 'htdig' 'rarian')
+ provides=('khelpcenter')
+ conflicts=('khelpcenter')
+
+ cd build/khelpcenter
+ make DESTDIR="$pkgdir" install
+}
+
+package_kdebase-runtime() {
+ depends=("kdelibs" 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra'
+ 'oxygen-icons' 'xorg-xauth' 'libwebp')
+ optdepends=('kdepimlibs: for kwalletd, and is needed by DrKonqi to send crash reports to KDE.org'
+ 'gdb: needed by DrKonqi to generate backtrace' 'khelpcenter: to display applications documentation')
+ provides=('notification-daemon')
+ install=$pkgname.install
+
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ rm "${pkgdir}"/usr/share/icons/hicolor/index.theme
+
+ ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/"
+
+ # FS#36668
+ chown :nobody "${pkgdir}"/usr/lib/kde4/libexec/kdesud
+ chmod g+s "${pkgdir}"/usr/lib/kde4/libexec/kdesud
+
+# Remove khelpcenter
+ cd "$pkgdir"
+ find -name '*khelpcenter*' | xargs rm -fr
+ find -name 'khc*' | xargs rm -fr
+ rm usr/share/applications/kde4/Help.desktop
+}
Copied: kdebase-runtime/repos/staging-x86_64/kdebase-runtime.install (from rev 236066, kdebase-runtime/trunk/kdebase-runtime.install)
===================================================================
--- staging-x86_64/kdebase-runtime.install (rev 0)
+++ staging-x86_64/kdebase-runtime.install 2015-04-10 18:46:45 UTC (rev 236067)
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list