[arch-commits] Commit in kdeedu-marble/repos (8 files)

Antonio Rojas arojas at archlinux.org
Fri Apr 10 18:50:57 UTC 2015


    Date: Friday, April 10, 2015 @ 20:50:57
  Author: arojas
Revision: 236077

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

Added:
  kdeedu-marble/repos/staging-i686/
  kdeedu-marble/repos/staging-i686/PKGBUILD
    (from rev 236076, kdeedu-marble/trunk/PKGBUILD)
  kdeedu-marble/repos/staging-i686/kdeedu-marble.install
    (from rev 236076, kdeedu-marble/trunk/kdeedu-marble.install)
  kdeedu-marble/repos/staging-i686/marble-qt.install
    (from rev 236076, kdeedu-marble/trunk/marble-qt.install)
  kdeedu-marble/repos/staging-x86_64/
  kdeedu-marble/repos/staging-x86_64/PKGBUILD
    (from rev 236076, kdeedu-marble/trunk/PKGBUILD)
  kdeedu-marble/repos/staging-x86_64/kdeedu-marble.install
    (from rev 236076, kdeedu-marble/trunk/kdeedu-marble.install)
  kdeedu-marble/repos/staging-x86_64/marble-qt.install
    (from rev 236076, kdeedu-marble/trunk/marble-qt.install)

--------------------------------------+
 staging-i686/PKGBUILD                |   63 +++++++++++++++++++++++++++++++++
 staging-i686/kdeedu-marble.install   |   13 ++++++
 staging-i686/marble-qt.install       |   13 ++++++
 staging-x86_64/PKGBUILD              |   63 +++++++++++++++++++++++++++++++++
 staging-x86_64/kdeedu-marble.install |   13 ++++++
 staging-x86_64/marble-qt.install     |   13 ++++++
 6 files changed, 178 insertions(+)

Copied: kdeedu-marble/repos/staging-i686/PKGBUILD (from rev 236076, kdeedu-marble/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 18:50:57 UTC (rev 236077)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdeedu-marble
+pkgname=('kdeedu-marble' 'marble-qt')
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Desktop Globe"
+url="http://kde.org/applications/education/marble/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('kdelibs' 'qt5-svg' 'qt5-webkit' 'qt5-script' 'qt5-tools' 'cmake' 'automoc4' 'gpsd' 'quazip' 'libwlocate')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/marble-${pkgver}.tar.xz")
+sha1sums=('2924d0446777c45df17fdf7be2c547e51662e37b')
+
+prepare() {
+  mkdir -p build{,-qt}
+}
+
+build() {
+  cd build
+  cmake ../marble-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+
+  cd ../build-qt
+  cmake ../marble-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DQT5BUILD=TRUE \
+    -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package_kdeedu-marble() {
+  depends=('kdebase-runtime' 'libwlocate')
+  optdepends=('gpsd: GPS support'
+            'quazip: reading and displaying KMZ files')
+  groups=('kde-applications' 'kdeedu')
+  install=$pkgname.install
+            
+  cd build
+  make DESTDIR="${pkgdir}" install
+# remove mobile and qt4 versions
+  rm -r "$pkgdir"/usr/bin/marble-*
+  rm -r "$pkgdir"/usr/share/applications/kde4/marble-*
+}
+
+package_marble-qt() {
+  pkgdesc="Desktop Globe (Qt version)"
+  depends=('qt5-svg' 'qt5-webkit' 'qt5-script' 'libwlocate')
+  optdepends=('gpsd: GPS support'
+          'quazip: reading and displaying KMZ files')
+  conflicts=('kdeedu-marble')
+  install=$pkgname.install  
+
+  cd build-qt
+  make DESTDIR="${pkgdir}" install
+# remove mobile version
+  rm -r "$pkgdir"/usr/bin/marble-{mobile,touch}
+  rm -r "$pkgdir"/usr/share/applications/marble-{mobile,touch}.desktop
+}

Copied: kdeedu-marble/repos/staging-i686/kdeedu-marble.install (from rev 236076, kdeedu-marble/trunk/kdeedu-marble.install)
===================================================================
--- staging-i686/kdeedu-marble.install	                        (rev 0)
+++ staging-i686/kdeedu-marble.install	2015-04-10 18:50:57 UTC (rev 236077)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdeedu-marble/repos/staging-i686/marble-qt.install (from rev 236076, kdeedu-marble/trunk/marble-qt.install)
===================================================================
--- staging-i686/marble-qt.install	                        (rev 0)
+++ staging-i686/marble-qt.install	2015-04-10 18:50:57 UTC (rev 236077)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdeedu-marble/repos/staging-x86_64/PKGBUILD (from rev 236076, kdeedu-marble/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 18:50:57 UTC (rev 236077)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdeedu-marble
+pkgname=('kdeedu-marble' 'marble-qt')
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Desktop Globe"
+url="http://kde.org/applications/education/marble/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('kdelibs' 'qt5-svg' 'qt5-webkit' 'qt5-script' 'qt5-tools' 'cmake' 'automoc4' 'gpsd' 'quazip' 'libwlocate')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/marble-${pkgver}.tar.xz")
+sha1sums=('2924d0446777c45df17fdf7be2c547e51662e37b')
+
+prepare() {
+  mkdir -p build{,-qt}
+}
+
+build() {
+  cd build
+  cmake ../marble-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+
+  cd ../build-qt
+  cmake ../marble-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DQT5BUILD=TRUE \
+    -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package_kdeedu-marble() {
+  depends=('kdebase-runtime' 'libwlocate')
+  optdepends=('gpsd: GPS support'
+            'quazip: reading and displaying KMZ files')
+  groups=('kde-applications' 'kdeedu')
+  install=$pkgname.install
+            
+  cd build
+  make DESTDIR="${pkgdir}" install
+# remove mobile and qt4 versions
+  rm -r "$pkgdir"/usr/bin/marble-*
+  rm -r "$pkgdir"/usr/share/applications/kde4/marble-*
+}
+
+package_marble-qt() {
+  pkgdesc="Desktop Globe (Qt version)"
+  depends=('qt5-svg' 'qt5-webkit' 'qt5-script' 'libwlocate')
+  optdepends=('gpsd: GPS support'
+          'quazip: reading and displaying KMZ files')
+  conflicts=('kdeedu-marble')
+  install=$pkgname.install  
+
+  cd build-qt
+  make DESTDIR="${pkgdir}" install
+# remove mobile version
+  rm -r "$pkgdir"/usr/bin/marble-{mobile,touch}
+  rm -r "$pkgdir"/usr/share/applications/marble-{mobile,touch}.desktop
+}

Copied: kdeedu-marble/repos/staging-x86_64/kdeedu-marble.install (from rev 236076, kdeedu-marble/trunk/kdeedu-marble.install)
===================================================================
--- staging-x86_64/kdeedu-marble.install	                        (rev 0)
+++ staging-x86_64/kdeedu-marble.install	2015-04-10 18:50:57 UTC (rev 236077)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdeedu-marble/repos/staging-x86_64/marble-qt.install (from rev 236076, kdeedu-marble/trunk/marble-qt.install)
===================================================================
--- staging-x86_64/marble-qt.install	                        (rev 0)
+++ staging-x86_64/marble-qt.install	2015-04-10 18:50:57 UTC (rev 236077)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list