diff --git a/common/shlibs b/common/shlibs index fa27c8268b5..d70bfcdfd26 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1414,3 +1414,4 @@ libthreadutil.so.6 libupnp-1.6.18_1 libixml.so.2 libupnp-1.6.18_1 libupnp.so.6 libupnp-1.6.18_1 libmozjs-17.0.so mozjs17-17.0.0_1 +libgeocode-glib.so.0 geocode-glib-3.10.0_1 diff --git a/srcpkgs/geocode-glib-devel b/srcpkgs/geocode-glib-devel new file mode 120000 index 00000000000..45ec1fe82f8 --- /dev/null +++ b/srcpkgs/geocode-glib-devel @@ -0,0 +1 @@ +geocode-glib \ No newline at end of file diff --git a/srcpkgs/geocode-glib/template b/srcpkgs/geocode-glib/template new file mode 100644 index 00000000000..2c7145299f5 --- /dev/null +++ b/srcpkgs/geocode-glib/template @@ -0,0 +1,39 @@ +# Template file for 'geocode-glib' +pkgname=geocode-glib +version=3.10.0 +revision=1 +build_style=gnu-configure +configure_args="--disable-static" +hostmakedepends="pkg-config intltool gobject-introspection" +makedepends="json-glib-devel>=0.16.2 libsoup-gnome-devel>=2.44" +short_desc="GLib library for geocoding and reverse geocoding" +homepage="http://www.gnome.org" +license="LGPL-2.1" +maintainer="Juan RP " +distfiles="${GNOME_SITE}/$pkgname/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=0aedc198cf8a9b934a290d50aadaf4b48bb13c3b4783618c6753eb466cdaa637 +long_desc=" + geocode-glib is a convenience library for the geocoding (finding longitude, + and latitude from an address) and reverse geocoding (finding an address from + coordinates). It uses Nominatim service to achieve that. It also caches + (reverse-)geocoding requests for faster results and to avoid unnecessary server + load." + +geocode-glib-devel_package() { + depends="libglib-devel ${sourcepkg}>=${version}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove usr/share/gtk-doc + vmove usr/share/gir-1.0 + } +} + +geocode-glib_package() { + depends="json-glib>=0.16.2 libsoup-gnome>=2.44" + pkg_install() { + vmove all + } +}