[arch-commits] Commit in oxygen/repos (4 files)

Antonio Rojas arojas at archlinux.org
Tue Apr 14 07:42:55 UTC 2015


    Date: Tuesday, April 14, 2015 @ 09:42:54
  Author: arojas
Revision: 236493

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  oxygen/repos/kde-unstable-i686/
  oxygen/repos/kde-unstable-i686/PKGBUILD
    (from rev 236492, oxygen/kde-unstable/PKGBUILD)
  oxygen/repos/kde-unstable-x86_64/
  oxygen/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 236492, oxygen/kde-unstable/PKGBUILD)

------------------------------+
 kde-unstable-i686/PKGBUILD   |   74 +++++++++++++++++++++++++++++++++++++++++
 kde-unstable-x86_64/PKGBUILD |   74 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 148 insertions(+)

Copied: oxygen/repos/kde-unstable-i686/PKGBUILD (from rev 236492, oxygen/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-04-14 07:42:54 UTC (rev 236493)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas
+
+pkgbase=oxygen
+pkgname=('oxygen' 'oxygen-cursors' 'oxygen-kde4')
+pkgver=5.2.95
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/oxygen'
+license=('LGPL')
+makedepends=('frameworkintegration' 'kdecoration' 'extra-cmake-modules' 'kdoctools' 'kdelibs' 'automoc4')
+source=("http://download.kde.org/unstable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('2ee03ebc10176efbb023c236c71d8d0a')
+
+prepare() {
+  mkdir build{,-kde4}
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+  cd ..
+
+  cd build-kde4
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTING=OFF \
+    -DUSE_KDE4=ON
+  make
+}
+
+package_oxygen() {
+  pkgdesc='KDE Oxygen style'
+  depends=('frameworkintegration' 'kdecoration')
+  optdepends=('oxygen-cursors: cursor themes for Plasma 5')
+  groups=('plasma')
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  # Cursors conflicts with kdebase-workspace
+  rm -r "${pkgdir}"/usr/share/icons/
+}
+
+package_oxygen-cursors() {
+  pkgdesc='KDE Oxygen cursor themes for Plasma 5'
+  groups=('plasma')
+  conflicts=('kdebase-workspace')
+
+  cd build/cursors
+  make DESTDIR="${pkgdir}" install
+}
+
+package_oxygen-kde4() {
+  pkgdesc='KDE Oxygen style for KDE4 applications'
+  depends=('kdelibs')
+  conflicts=('kdebase-workspace')
+
+  cd build-kde4
+  make DESTDIR="${pkgdir}" install
+
+  # needed so that pure Qt4 apps are correctly themed
+  install -d -m755 "$pkgdir"/usr/lib/qt4/plugins/styles
+  ln -s /usr/lib/kde4/plugins/styles/oxygen.so "$pkgdir"/usr/lib/qt4/plugins/styles
+}

Copied: oxygen/repos/kde-unstable-x86_64/PKGBUILD (from rev 236492, oxygen/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-04-14 07:42:54 UTC (rev 236493)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas
+
+pkgbase=oxygen
+pkgname=('oxygen' 'oxygen-cursors' 'oxygen-kde4')
+pkgver=5.2.95
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/oxygen'
+license=('LGPL')
+makedepends=('frameworkintegration' 'kdecoration' 'extra-cmake-modules' 'kdoctools' 'kdelibs' 'automoc4')
+source=("http://download.kde.org/unstable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('2ee03ebc10176efbb023c236c71d8d0a')
+
+prepare() {
+  mkdir build{,-kde4}
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+  cd ..
+
+  cd build-kde4
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTING=OFF \
+    -DUSE_KDE4=ON
+  make
+}
+
+package_oxygen() {
+  pkgdesc='KDE Oxygen style'
+  depends=('frameworkintegration' 'kdecoration')
+  optdepends=('oxygen-cursors: cursor themes for Plasma 5')
+  groups=('plasma')
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  # Cursors conflicts with kdebase-workspace
+  rm -r "${pkgdir}"/usr/share/icons/
+}
+
+package_oxygen-cursors() {
+  pkgdesc='KDE Oxygen cursor themes for Plasma 5'
+  groups=('plasma')
+  conflicts=('kdebase-workspace')
+
+  cd build/cursors
+  make DESTDIR="${pkgdir}" install
+}
+
+package_oxygen-kde4() {
+  pkgdesc='KDE Oxygen style for KDE4 applications'
+  depends=('kdelibs')
+  conflicts=('kdebase-workspace')
+
+  cd build-kde4
+  make DESTDIR="${pkgdir}" install
+
+  # needed so that pure Qt4 apps are correctly themed
+  install -d -m755 "$pkgdir"/usr/lib/qt4/plugins/styles
+  ln -s /usr/lib/kde4/plugins/styles/oxygen.so "$pkgdir"/usr/lib/qt4/plugins/styles
+}



More information about the arch-commits mailing list