[arch-commits] Commit in kdebase-runtime/repos (6 files)

Antonio Rojas arojas at archlinux.org
Mon Sep 14 20:52:17 UTC 2015


    Date: Monday, September 14, 2015 @ 22:52:16
  Author: arojas
Revision: 246051

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  kdebase-runtime/repos/testing-i686/
  kdebase-runtime/repos/testing-i686/PKGBUILD
    (from rev 246050, kdebase-runtime/trunk/PKGBUILD)
  kdebase-runtime/repos/testing-i686/kdebase-runtime.install
    (from rev 246050, kdebase-runtime/trunk/kdebase-runtime.install)
  kdebase-runtime/repos/testing-x86_64/
  kdebase-runtime/repos/testing-x86_64/PKGBUILD
    (from rev 246050, kdebase-runtime/trunk/PKGBUILD)
  kdebase-runtime/repos/testing-x86_64/kdebase-runtime.install
    (from rev 246050, kdebase-runtime/trunk/kdebase-runtime.install)

----------------------------------------+
 testing-i686/PKGBUILD                  |   79 +++++++++++++++++++++++++++++++
 testing-i686/kdebase-runtime.install   |   13 +++++
 testing-x86_64/PKGBUILD                |   79 +++++++++++++++++++++++++++++++
 testing-x86_64/kdebase-runtime.install |   13 +++++
 4 files changed, 184 insertions(+)

Copied: kdebase-runtime/repos/testing-i686/PKGBUILD (from rev 246050, kdebase-runtime/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-14 20:52:16 UTC (rev 246051)
@@ -0,0 +1,79 @@
+# $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' 'kdesu4')
+pkgver=15.08.1
+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' 'kdepimlibs4' 'openslp' 'doxygen' 'networkmanager' 'boost')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-runtime-${pkgver}.tar.xz")
+sha1sums=('00846093c4d0c5d562c6c8d0a4e79da1fbc6833c')
+
+prepare() {
+  mkdir -p build
+}
+
+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_kdebase-runtime() {
+  depends=('kdelibs' 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra'
+         'oxygen-icons' 'xorg-xauth' 'libwebp')
+  optdepends=('kdepimlibs4: 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
+
+# Remove khelpcenter
+  cd "$pkgdir"
+  find -name '*khelpcenter*' | xargs rm -fr
+  find -name 'khc*' | xargs rm -fr
+  rm usr/share/applications/kde4/Help.desktop
+
+# Remove docs
+  rm -r "$pkgdir"/usr/share/{doc,man}
+
+# Remove kdesu
+  rm "$pkgdir"/usr/lib/kde4/libexec/kdesu*
+}
+
+package_kdesu4() {
+  pkgdesc=("Run KDE applications as root")
+  depends=('kdebase-runtime')
+  conflicts=('kde-cli-tools')
+
+  cd build/kdesu
+  make DESTDIR="$pkgdir" install
+
+  cd ../doc/kdesu
+  make DESTDIR="$pkgdir" install
+
+  mkdir -p "$pkgdir"/usr/bin
+  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
+}

Copied: kdebase-runtime/repos/testing-i686/kdebase-runtime.install (from rev 246050, kdebase-runtime/trunk/kdebase-runtime.install)
===================================================================
--- testing-i686/kdebase-runtime.install	                        (rev 0)
+++ testing-i686/kdebase-runtime.install	2015-09-14 20:52:16 UTC (rev 246051)
@@ -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/testing-x86_64/PKGBUILD (from rev 246050, kdebase-runtime/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-14 20:52:16 UTC (rev 246051)
@@ -0,0 +1,79 @@
+# $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' 'kdesu4')
+pkgver=15.08.1
+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' 'kdepimlibs4' 'openslp' 'doxygen' 'networkmanager' 'boost')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-runtime-${pkgver}.tar.xz")
+sha1sums=('00846093c4d0c5d562c6c8d0a4e79da1fbc6833c')
+
+prepare() {
+  mkdir -p build
+}
+
+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_kdebase-runtime() {
+  depends=('kdelibs' 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra'
+         'oxygen-icons' 'xorg-xauth' 'libwebp')
+  optdepends=('kdepimlibs4: 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
+
+# Remove khelpcenter
+  cd "$pkgdir"
+  find -name '*khelpcenter*' | xargs rm -fr
+  find -name 'khc*' | xargs rm -fr
+  rm usr/share/applications/kde4/Help.desktop
+
+# Remove docs
+  rm -r "$pkgdir"/usr/share/{doc,man}
+
+# Remove kdesu
+  rm "$pkgdir"/usr/lib/kde4/libexec/kdesu*
+}
+
+package_kdesu4() {
+  pkgdesc=("Run KDE applications as root")
+  depends=('kdebase-runtime')
+  conflicts=('kde-cli-tools')
+
+  cd build/kdesu
+  make DESTDIR="$pkgdir" install
+
+  cd ../doc/kdesu
+  make DESTDIR="$pkgdir" install
+
+  mkdir -p "$pkgdir"/usr/bin
+  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
+}

Copied: kdebase-runtime/repos/testing-x86_64/kdebase-runtime.install (from rev 246050, kdebase-runtime/trunk/kdebase-runtime.install)
===================================================================
--- testing-x86_64/kdebase-runtime.install	                        (rev 0)
+++ testing-x86_64/kdebase-runtime.install	2015-09-14 20:52:16 UTC (rev 246051)
@@ -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