Date: Saturday, September 1, 2018 @ 19:44:18 Author: heftig Revision: 333182
archrelease: copy trunk to extra-x86_64 Added: geoclue2/repos/extra-x86_64/PKGBUILD (from rev 333181, geoclue2/trunk/PKGBUILD) Deleted: geoclue2/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 113 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 58 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-01 19:43:47 UTC (rev 333181) +++ PKGBUILD 2018-09-01 19:44:18 UTC (rev 333182) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> -# Contributor: György Balló <ball...@freestart.hu> - -pkgname=geoclue2 -pkgver=2.4.11 -pkgrel=1 -pkgdesc="Modular geoinformation service built on the D-Bus messaging system" -arch=(x86_64) -url="https://www.freedesktop.org/wiki/Software/GeoClue/" -license=(LGPL) -depends=(libsoup json-glib libmm-glib avahi libnotify) -makedepends=(intltool python2 systemd gobject-introspection gnome-common git vala) -backup=(etc/geoclue/geoclue.conf) -_commit=69a5d624c636f4e1fd6471db0d55b1100a0c4e65 # tags/2.4.11^0 -source=("git+https://anongit.freedesktop.org/git/geoclue#commit=$_commit") -sha256sums=('SKIP') - -# 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 foutre...@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 hef...@archlinux.org for -# more information. -_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff - -pkgver() { - cd geoclue - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd geoclue - sed -e "s/key=geoclue/key=$_mozilla_api_key/" \ - -e "s/key=YOUR_KEY/key=$_google_api_key/" \ - -i data/geoclue.conf.in - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd geoclue - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libexecdir=/usr/lib --disable-static --enable-gtk-doc --enable-vala - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -package() { - cd geoclue - make DESTDIR="$pkgdir" install -} Copied: geoclue2/repos/extra-x86_64/PKGBUILD (from rev 333181, geoclue2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-01 19:44:18 UTC (rev 333182) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: György Balló <ball...@freestart.hu> + +pkgname=geoclue2 +pkgver=2.4.12 +pkgrel=1 +pkgdesc="Modular geoinformation service built on the D-Bus messaging system" +arch=(x86_64) +url="https://www.freedesktop.org/wiki/Software/GeoClue/" +license=(LGPL) +depends=(libsoup json-glib libmm-glib avahi libnotify) +makedepends=(intltool python2 systemd gobject-introspection gnome-common git vala) +backup=(etc/geoclue/geoclue.conf) +conflicts=(geoclue) +_commit=db0ebbed54d91530309c6a4f7270f29654e836dd # tags/2.4.12^0 +source=("git+https://gitlab.freedesktop.org/geoclue/geoclue.git#commit=$_commit") +sha256sums=('SKIP') + +# 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 foutre...@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 hef...@archlinux.org for +# more information. +_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff + +pkgver() { + cd geoclue + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd geoclue + sed -e "s/key=geoclue/key=$_mozilla_api_key/" \ + -e "s/key=YOUR_KEY/key=$_google_api_key/" \ + -i data/geoclue.conf.in + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd geoclue + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libexecdir=/usr/lib --disable-static --enable-gtk-doc --enable-vala + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd geoclue + make DESTDIR="$pkgdir" install +} + +# vim:set sw=2 et: