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

Antonio Rojas arojas at archlinux.org
Wed Jul 29 07:56:15 UTC 2015


    Date: Wednesday, July 29, 2015 @ 09:56:15
  Author: arojas
Revision: 242743

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

Added:
  libkgeomap/repos/kde-unstable-i686/
  libkgeomap/repos/kde-unstable-i686/PKGBUILD
    (from rev 242742, libkgeomap/kde-unstable/PKGBUILD)
  libkgeomap/repos/kde-unstable-i686/libkgeomap.install
    (from rev 242742, libkgeomap/kde-unstable/libkgeomap.install)
  libkgeomap/repos/kde-unstable-x86_64/
  libkgeomap/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 242742, libkgeomap/kde-unstable/PKGBUILD)
  libkgeomap/repos/kde-unstable-x86_64/libkgeomap.install
    (from rev 242742, libkgeomap/kde-unstable/libkgeomap.install)

----------------------------------------+
 kde-unstable-i686/PKGBUILD             |   37 +++++++++++++++++++++++++++++++
 kde-unstable-i686/libkgeomap.install   |   11 +++++++++
 kde-unstable-x86_64/PKGBUILD           |   37 +++++++++++++++++++++++++++++++
 kde-unstable-x86_64/libkgeomap.install |   11 +++++++++
 4 files changed, 96 insertions(+)

Copied: libkgeomap/repos/kde-unstable-i686/PKGBUILD (from rev 242742, libkgeomap/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-07-29 07:56:15 UTC (rev 242743)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkgeomap
+pkgver=15.07.80
+pkgrel=1
+pkgdesc="A wrapper around world map components for browsing and arranging photos on a map"
+url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkgeomap"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('libmarble4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('0b9ccd2f009af8ab0a3a894601e913eb7ff9f960')
+
+prepare() {
+  mkdir build
+
+# Fix build with libmarble4
+  sed -e 's|#include <marble|#include <marble4|' -i $pkgname-$pkgver/libkgeomap/*.cpp -i $pkgname-$pkgver/libkgeomap/*.h
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: libkgeomap/repos/kde-unstable-i686/libkgeomap.install (from rev 242742, libkgeomap/kde-unstable/libkgeomap.install)
===================================================================
--- kde-unstable-i686/libkgeomap.install	                        (rev 0)
+++ kde-unstable-i686/libkgeomap.install	2015-07-29 07:56:15 UTC (rev 242743)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: libkgeomap/repos/kde-unstable-x86_64/PKGBUILD (from rev 242742, libkgeomap/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-07-29 07:56:15 UTC (rev 242743)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkgeomap
+pkgver=15.07.80
+pkgrel=1
+pkgdesc="A wrapper around world map components for browsing and arranging photos on a map"
+url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkgeomap"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('libmarble4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('0b9ccd2f009af8ab0a3a894601e913eb7ff9f960')
+
+prepare() {
+  mkdir build
+
+# Fix build with libmarble4
+  sed -e 's|#include <marble|#include <marble4|' -i $pkgname-$pkgver/libkgeomap/*.cpp -i $pkgname-$pkgver/libkgeomap/*.h
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: libkgeomap/repos/kde-unstable-x86_64/libkgeomap.install (from rev 242742, libkgeomap/kde-unstable/libkgeomap.install)
===================================================================
--- kde-unstable-x86_64/libkgeomap.install	                        (rev 0)
+++ kde-unstable-x86_64/libkgeomap.install	2015-07-29 07:56:15 UTC (rev 242743)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list