New package: geocode-glib-libsoup2-2.26.4

This commit is contained in:
Michal Vasilek 2022-10-01 16:40:14 +02:00
parent d5c66d8281
commit 730d00ad5e
3 changed files with 43 additions and 1 deletions

View File

@ -1428,7 +1428,7 @@ libthreadutil.so.6 libupnp-1.6.18_1
libupnp.so.17 libupnp-1.14.0_1
libixml.so.11 libupnp-1.14.0_1
libupnpp.so.12 libupnpp-0.22.2_1
libgeocode-glib.so.0 geocode-glib-3.10.0_1
libgeocode-glib.so.0 geocode-glib-libsoup2-3.26.4_1
libzeitgeist-2.0.so.0 libzeitgeist2-0.9.14_1
libpotrace.so.0 libpotrace-1.11_1
libSDL2-2.0.so.0 SDL2-2.0.0_1

View File

@ -0,0 +1 @@
geocode-glib-libsoup2

View File

@ -0,0 +1,41 @@
# Template file for 'geocode-glib-libsoup2'
# keep in sync with geocode-glib
pkgname=geocode-glib-libsoup2
version=3.26.4
revision=1
wrksrc="geocode-glib-$version"
build_style=meson
build_helper="gir"
configure_args="-Denable-gtk-doc=false $(vopt_bool gir enable-introspection)
-Denable-installed-tests=false -Dsoup2=true"
hostmakedepends="pkg-config glib-devel"
makedepends="json-glib-devel libsoup-gnome-devel"
depends="geocode-glib-common"
short_desc="GLib library for geocoding and reverse geocoding"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://developer.gnome.org/geocode-glib"
distfiles="${GNOME_SITE}/geocode-glib/${version%.*}/geocode-glib-${version}.tar.xz"
checksum=2d9a6826d158470449a173871221596da0f83ebdcff98b90c7049089056a37aa
make_check=no # expects installed locales
# Package build options
build_options="gir"
build_options_default="gir"
post_install() {
rm -r ${DESTDIR}/usr/share/icons
}
geocode-glib-libsoup2-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}