[arch-commits] Commit in plasma-workspace/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Dec 15 18:06:19 UTC 2015


    Date: Tuesday, December 15, 2015 @ 19:06:19
  Author: arojas
Revision: 256233

Readd wayland session, move to a split package for now

Modified:
  plasma-workspace/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-15 16:42:33 UTC (rev 256232)
+++ PKGBUILD	2015-12-15 18:06:19 UTC (rev 256233)
@@ -5,9 +5,9 @@
 # Contributor: Alexey D. <lq07829icatm at rambler.ru>
 
 pkgbase=plasma-workspace
-pkgname=('plasma-workspace' 'drkonqi')
+pkgname=('plasma-workspace' 'drkonqi' 'plasma-wayland-session')
 pkgver=5.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc='KDE Plasma Workspace'
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/kde/workspace/plasma-workspace'
@@ -15,11 +15,10 @@
 # note on libxdamage:
 # not detected by namcap because libgl depends on it
 # but nvidia providing libgl does not depend on libxdamage
-depends=('knewstuff' 'kjsembed' 'knotifyconfig' 'libxdamage' 'kscreenlocker'
-         'libksysguard' 'libkscreen' 'ktexteditor' 'libqalculate'
+depends=('kjsembed' 'knotifyconfig' 'libxdamage' 'libksysguard' 'libkscreen' 'ktexteditor' 'libqalculate'
          'qt5-tools' 'kded' 'kde-cli-tools' 'xorg-xrdb' 'xorg-xsetroot'
-         'xorg-xmessage' 'xorg-xprop' 'milou' 'breeze' 'prison-frameworks')
-makedepends=('extra-cmake-modules' 'kdoctools' 'kwin' 'gpsd' 'baloo'
+         'xorg-xmessage' 'xorg-xprop' 'milou' 'breeze' 'prison-frameworks' 'kwin')
+makedepends=('extra-cmake-modules' 'kdoctools' 'gpsd' 'baloo'
              'krunner' 'kxmlrpcclient' 'networkmanager-qt')
 groups=('plasma')
 source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgbase}-${pkgver}.tar.xz" 'kde.pam')
@@ -61,8 +60,9 @@
   rm "${pkgdir}"/usr/lib/drkonqi
   rm -r "${pkgdir}"/usr/share/drkonqi
 
-  # Drop plasma-wayland session file, doesn't work
+  # Split plasma-wayland scripts
   rm -r "$pkgdir"/usr/share/wayland-sessions
+  rm -r "$pkgdir"/usr/bin
 }
 
 package_drkonqi() {
@@ -72,3 +72,10 @@
   cd build/drkonqi
   make DESTDIR="${pkgdir}" install
 }
+
+package_plasma-wayland-session() {
+  pkgdesc='Plasma Wayland session'
+  depends=('plasma-workspace' 'qt5-wayland' 'kwayland-integration' 'xorg-server-xwayland')
+
+  install -Dm644 build/plasmawayland.desktop "$pkgdir"/usr/share/wayland-sessions/plasmawayland.desktop
+}



More information about the arch-commits mailing list