Date: Monday, January 7, 2019 @ 11:48:12 Author: heftig Revision: 343073
archrelease: copy trunk to extra-x86_64 Added: geoclue2/repos/extra-x86_64/PKGBUILD (from rev 343072, geoclue2/trunk/PKGBUILD) Deleted: geoclue2/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 113 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-07 11:47:57 UTC (rev 343072) +++ PKGBUILD 2019-01-07 11:48:12 UTC (rev 343073) @@ -1,56 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> -# Contributor: György Balló <ball...@freestart.hu> - -pkgname=geoclue2 -pkgver=2.5.1 -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=(systemd gobject-introspection git vala meson gtk-doc) -backup=(etc/geoclue/geoclue.conf) -conflicts=(geoclue) -_commit=9b6c03640e66a4e7d615200d95b89051b2214da1 # tags/2.5.1^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 -} - -build() { - arch-meson geoclue build - ninja -C build -} - -check() { - meson test -C build -} - -package() { - DESTDIR="$pkgdir" meson install -C build -} - -# vim:set sw=2 et: Copied: geoclue2/repos/extra-x86_64/PKGBUILD (from rev 343072, geoclue2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-07 11:48:12 UTC (rev 343073) @@ -0,0 +1,57 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: György Balló <ball...@freestart.hu> + +pkgname=geoclue2 +pkgver=2.5.2 +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 geocode-glib) +makedepends=(systemd gobject-introspection git vala meson gtk-doc libnotify) +optdepends=('libnotify: Demo Agent') +backup=(etc/geoclue/geoclue.conf) +conflicts=(geoclue) +_commit=ed2d81fe558b657b52940dd52316bcc1a32d0cff # tags/2.5.2^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 +} + +build() { + arch-meson geoclue build + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} + +# vim:set sw=2 et: