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

Antonio Rojas arojas at archlinux.org
Mon Sep 14 21:41:18 UTC 2015


    Date: Monday, September 14, 2015 @ 23:41:17
  Author: arojas
Revision: 246177

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

Added:
  libkgeomap/repos/testing-i686/
  libkgeomap/repos/testing-i686/PKGBUILD
    (from rev 246176, libkgeomap/trunk/PKGBUILD)
  libkgeomap/repos/testing-i686/libkgeomap.install
    (from rev 246176, libkgeomap/trunk/libkgeomap.install)
  libkgeomap/repos/testing-x86_64/
  libkgeomap/repos/testing-x86_64/PKGBUILD
    (from rev 246176, libkgeomap/trunk/PKGBUILD)
  libkgeomap/repos/testing-x86_64/libkgeomap.install
    (from rev 246176, libkgeomap/trunk/libkgeomap.install)

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

Copied: libkgeomap/repos/testing-i686/PKGBUILD (from rev 246176, libkgeomap/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-14 21:41:17 UTC (rev 246177)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkgeomap
+pkgver=15.08.1
+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')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('605b2230690af4e506ce3fde56c6b618c7c03183')
+
+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: libkgeomap/repos/testing-i686/libkgeomap.install (from rev 246176, libkgeomap/trunk/libkgeomap.install)
===================================================================
--- testing-i686/libkgeomap.install	                        (rev 0)
+++ testing-i686/libkgeomap.install	2015-09-14 21:41:17 UTC (rev 246177)
@@ -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/testing-x86_64/PKGBUILD (from rev 246176, libkgeomap/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-14 21:41:17 UTC (rev 246177)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkgeomap
+pkgver=15.08.1
+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')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('605b2230690af4e506ce3fde56c6b618c7c03183')
+
+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: libkgeomap/repos/testing-x86_64/libkgeomap.install (from rev 246176, libkgeomap/trunk/libkgeomap.install)
===================================================================
--- testing-x86_64/libkgeomap.install	                        (rev 0)
+++ testing-x86_64/libkgeomap.install	2015-09-14 21:41:17 UTC (rev 246177)
@@ -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