geocode-glib: use libsoup3, split -common

This commit is contained in:
Michal Vasilek 2022-10-01 16:39:35 +02:00
parent 730d00ad5e
commit e24fd1c898
3 changed files with 16 additions and 4 deletions

View file

@ -1429,6 +1429,7 @@ 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-libsoup2-3.26.4_1
libgeocode-glib-2.so.0 geocode-glib-3.26.4_2
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

1
srcpkgs/geocode-glib-common Symbolic link
View file

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

View file

@ -1,24 +1,34 @@
# Template file for 'geocode-glib'
# keep in sync with geocode-glib-libsoup2
pkgname=geocode-glib
version=3.26.4
revision=1
revision=2
build_style=meson
build_helper="gir"
configure_args="-Denable-gtk-doc=false $(vopt_bool gir enable-introspection)
-Denable-installed-tests=false"
-Denable-installed-tests=false -Dsoup2=false"
hostmakedepends="pkg-config glib-devel"
makedepends="json-glib-devel libsoup-gnome-devel"
makedepends="json-glib-devel libsoup3-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}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
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"
geocode-glib-common_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/share/icons
}
}
geocode-glib-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"