Browse Source
subrepo: subdir: "geoclue2" merged: "27c91b8" upstream: origin: "gitea@gitea.artixlinux.org:packagesG/geoclue2.git" branch: "master" commit: "27c91b8" git-subrepo: version: "0.4.0" origin: "???" commit: "???"master
7 changed files with 169 additions and 0 deletions
@ -0,0 +1,33 @@
|
||||
# ---> ArchLinuxPackages |
||||
*.tar |
||||
*.tar.* |
||||
*.jar |
||||
*.exe |
||||
*.msi |
||||
*.zip |
||||
*.tgz |
||||
*.log |
||||
*.log.* |
||||
*.sig |
||||
|
||||
pkg/ |
||||
src/ |
||||
|
||||
|
||||
# ---> Archives |
||||
*.7z |
||||
*.rar |
||||
*.gz |
||||
*.bzip |
||||
*.bz2 |
||||
*.xz |
||||
*.lzma |
||||
*.cab |
||||
|
||||
# ---> systemd |
||||
*.service |
||||
*.socket |
||||
*.timer |
||||
|
||||
# ---> snap |
||||
*.snap |
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing) |
||||
; |
||||
; This subdirectory is a git "subrepo", and this file is maintained by the |
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme |
||||
; |
||||
[subrepo] |
||||
remote = gitea@gitea.artixlinux.org:packagesG/geoclue2.git |
||||
branch = master |
||||
commit = 27c91b8f4fc92daa3fb5be915aba6d9994a8dce8 |
||||
parent = 4478d0145b499bac7fd69cfc5cc05e8f1a5da704 |
||||
method = merge |
||||
cmdver = 0.4.0 |
@ -0,0 +1,3 @@
|
||||
@Library('artix-ci') import org.artixlinux.RepoPackage |
||||
|
||||
PackagePipeline(new RepoPackage(this)) |
@ -0,0 +1,57 @@
|
||||
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> |
||||
# Contributor: György Balló <ballogy@freestart.hu> |
||||
|
||||
pkgname=geoclue2 |
||||
pkgver=2.5.2 |
||||
pkgrel=2 |
||||
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=(eudev 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 foutrelis@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@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 -D dbus-sys-dir=/usr/share/dbus-1/system.d |
||||
ninja -C build |
||||
} |
||||
|
||||
check() { |
||||
meson test -C build |
||||
} |
||||
|
||||
package() { |
||||
DESTDIR="$pkgdir" meson install -C build |
||||
} |
||||
|
||||
# vim:set sw=2 et: |
@ -0,0 +1,57 @@
|
||||
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> |
||||
# Contributor: György Balló <ballogy@freestart.hu> |
||||
|
||||
pkgname=geoclue2 |
||||
pkgver=2.5.2 |
||||
pkgrel=2 |
||||
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=(eudev 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 foutrelis@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@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 -D dbus-sys-dir=/usr/share/dbus-1/system.d |
||||
ninja -C build |
||||
} |
||||
|
||||
check() { |
||||
meson test -C build |
||||
} |
||||
|
||||
package() { |
||||
DESTDIR="$pkgdir" meson install -C build |
||||
} |
||||
|
||||
# vim:set sw=2 et: |
Loading…
Reference in new issue