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

Jan Steffens heftig at archlinux.org
Wed Sep 23 22:11:33 UTC 2015


    Date: Thursday, September 24, 2015 @ 00:11:33
  Author: heftig
Revision: 247197

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  geoclue2/repos/gnome-unstable-i686/
  geoclue2/repos/gnome-unstable-i686/PKGBUILD
    (from rev 247196, geoclue2/trunk/PKGBUILD)
  geoclue2/repos/gnome-unstable-x86_64/
  geoclue2/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 247196, geoclue2/trunk/PKGBUILD)

--------------------------------+
 gnome-unstable-i686/PKGBUILD   |   48 +++++++++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD |   48 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

Copied: geoclue2/repos/gnome-unstable-i686/PKGBUILD (from rev 247196, geoclue2/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2015-09-23 22:11:33 UTC (rev 247197)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=geoclue2
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system"
+arch=(i686 x86_64)
+url="http://geoclue.freedesktop.org/"
+license=(LGPL)
+depends=(libsoup json-glib libnm-glib libmm-glib avahi)
+makedepends=(intltool geoip python2 systemd)
+optdepends=('geoip: geoip-lookup server binary')
+backup=(etc/geoclue/geoclue.conf)
+source=(http://freedesktop.org/software/geoclue/releases/${pkgver:0:3}/geoclue-$pkgver.tar.xz)
+md5sums=('e64de0f90dde76494b09b5c4c520d64e')
+
+# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact foutrelis at archlinux.org for
+# more information.
+_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
+
+# Mozilla API keys (see https://location.services.mozilla.com/api)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact heftig at archlinux.org for
+# more information.
+_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
+
+prepare() {
+  cd geoclue-$pkgver
+  sed -e "s/key=geoclue/key=$_mozilla_api_key/" \
+      -e "s/key=YOUR_KEY/key=$_google_api_key/" \
+      -i data/geoclue.conf.in
+}
+
+build() {
+  cd geoclue-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname --disable-static
+  make
+}
+
+package() {
+  cd geoclue-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: geoclue2/repos/gnome-unstable-x86_64/PKGBUILD (from rev 247196, geoclue2/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2015-09-23 22:11:33 UTC (rev 247197)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=geoclue2
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system"
+arch=(i686 x86_64)
+url="http://geoclue.freedesktop.org/"
+license=(LGPL)
+depends=(libsoup json-glib libnm-glib libmm-glib avahi)
+makedepends=(intltool geoip python2 systemd)
+optdepends=('geoip: geoip-lookup server binary')
+backup=(etc/geoclue/geoclue.conf)
+source=(http://freedesktop.org/software/geoclue/releases/${pkgver:0:3}/geoclue-$pkgver.tar.xz)
+md5sums=('e64de0f90dde76494b09b5c4c520d64e')
+
+# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact foutrelis at archlinux.org for
+# more information.
+_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
+
+# Mozilla API keys (see https://location.services.mozilla.com/api)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact heftig at archlinux.org for
+# more information.
+_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
+
+prepare() {
+  cd geoclue-$pkgver
+  sed -e "s/key=geoclue/key=$_mozilla_api_key/" \
+      -e "s/key=YOUR_KEY/key=$_google_api_key/" \
+      -i data/geoclue.conf.in
+}
+
+build() {
+  cd geoclue-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname --disable-static
+  make
+}
+
+package() {
+  cd geoclue-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list