[arch-commits] Commit in libkgeomap4 (7 files)

Antonio Rojas arojas at archlinux.org
Tue Nov 10 21:30:24 UTC 2015


    Date: Tuesday, November 10, 2015 @ 22:30:23
  Author: arojas
Revision: 250587

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

Added:
  libkgeomap4/repos/
  libkgeomap4/repos/staging-i686/
  libkgeomap4/repos/staging-i686/PKGBUILD
    (from rev 250586, libkgeomap4/trunk/PKGBUILD)
  libkgeomap4/repos/staging-i686/libkgeomap4.install
    (from rev 250586, libkgeomap4/trunk/libkgeomap4.install)
  libkgeomap4/repos/staging-x86_64/
  libkgeomap4/repos/staging-x86_64/PKGBUILD
    (from rev 250586, libkgeomap4/trunk/PKGBUILD)
  libkgeomap4/repos/staging-x86_64/libkgeomap4.install
    (from rev 250586, libkgeomap4/trunk/libkgeomap4.install)

------------------------------------+
 staging-i686/PKGBUILD              |   41 +++++++++++++++++++++++++++++++++++
 staging-i686/libkgeomap4.install   |   11 +++++++++
 staging-x86_64/PKGBUILD            |   41 +++++++++++++++++++++++++++++++++++
 staging-x86_64/libkgeomap4.install |   11 +++++++++
 4 files changed, 104 insertions(+)

Copied: libkgeomap4/repos/staging-i686/PKGBUILD (from rev 250586, libkgeomap4/trunk/PKGBUILD)
===================================================================
--- repos/staging-i686/PKGBUILD	                        (rev 0)
+++ repos/staging-i686/PKGBUILD	2015-11-10 21:30:23 UTC (rev 250587)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkgeomap4
+_pkgname=libkgeomap
+pkgver=15.08.3
+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=(kdelibs libmarble4)
+makedepends=(cmake automoc4)
+replaces=('libkgeomap<15.11')
+conflicts=('libkgeomap<15.11')
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/$pkgver/src/$_pkgname-$pkgver.tar.xz")
+sha1sums=('d6cf746741b9e344890db7dac36a7900b8f9ad62')
+
+prepare() {
+  mkdir -p 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: libkgeomap4/repos/staging-i686/libkgeomap4.install (from rev 250586, libkgeomap4/trunk/libkgeomap4.install)
===================================================================
--- repos/staging-i686/libkgeomap4.install	                        (rev 0)
+++ repos/staging-i686/libkgeomap4.install	2015-11-10 21:30:23 UTC (rev 250587)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: libkgeomap4/repos/staging-x86_64/PKGBUILD (from rev 250586, libkgeomap4/trunk/PKGBUILD)
===================================================================
--- repos/staging-x86_64/PKGBUILD	                        (rev 0)
+++ repos/staging-x86_64/PKGBUILD	2015-11-10 21:30:23 UTC (rev 250587)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkgeomap4
+_pkgname=libkgeomap
+pkgver=15.08.3
+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=(kdelibs libmarble4)
+makedepends=(cmake automoc4)
+replaces=('libkgeomap<15.11')
+conflicts=('libkgeomap<15.11')
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/$pkgver/src/$_pkgname-$pkgver.tar.xz")
+sha1sums=('d6cf746741b9e344890db7dac36a7900b8f9ad62')
+
+prepare() {
+  mkdir -p 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: libkgeomap4/repos/staging-x86_64/libkgeomap4.install (from rev 250586, libkgeomap4/trunk/libkgeomap4.install)
===================================================================
--- repos/staging-x86_64/libkgeomap4.install	                        (rev 0)
+++ repos/staging-x86_64/libkgeomap4.install	2015-11-10 21:30:23 UTC (rev 250587)
@@ -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