summaryrefslogtreecommitdiff
path: root/user/glib-networking/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 22:22:16 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 22:22:16 -0500
commite9f227317657df6367e9a11d7a1d4961c3e192ef (patch)
treedc6856ecbeec604e0e82335217040d5fb99dc13d /user/glib-networking/APKBUILD
parent185acca122fc5e7a7787d8ec97dc2ece9ef3cd08 (diff)
downloadpackages-e9f227317657df6367e9a11d7a1d4961c3e192ef.tar.gz
packages-e9f227317657df6367e9a11d7a1d4961c3e192ef.tar.bz2
packages-e9f227317657df6367e9a11d7a1d4961c3e192ef.tar.xz
packages-e9f227317657df6367e9a11d7a1d4961c3e192ef.zip
user/glib-networking: bump to 2.56.1, fix, use meson, add deps
Diffstat (limited to 'user/glib-networking/APKBUILD')
-rw-r--r--user/glib-networking/APKBUILD42
1 files changed, 21 insertions, 21 deletions
diff --git a/user/glib-networking/APKBUILD b/user/glib-networking/APKBUILD
index 65ae109a0..1608be81d 100644
--- a/user/glib-networking/APKBUILD
+++ b/user/glib-networking/APKBUILD
@@ -1,43 +1,43 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
pkgname=glib-networking
-pkgver=2.54.1
+pkgver=2.56.1
_maj=${pkgver%%.*}
_min=${pkgver#${_maj}.}
_min=${_min%%.*}
_ver=$_maj.$_min
-pkgrel=1
+pkgrel=0
pkgdesc="Networking support for GLib"
-url="http://www.gnome.org"
+url="http://www.gnome.org/"
arch="all"
license="LGPL-2.1+"
depends="ca-certificates"
-makedepends="glib-dev gnutls-dev libproxy-dev intltool libgcrypt-dev bash p11-kit-dev"
-install=
+makedepends="bash glib-dev gnutls-dev gsettings-desktop-schemas-dev intltool
+ libgcrypt-dev libproxy-dev meson ninja p11-kit-dev"
subpackages="$pkgname-lang"
-source="http://download.gnome.org/sources/glib-networking/$_ver/glib-networking-$pkgver.tar.xz"
+source="https://download.gnome.org/sources/glib-networking/$_ver/glib-networking-$pkgver.tar.xz"
-build() {
+prepare() {
cd "$builddir"
- CONFIG_SHELL=/bin/bash ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --disable-more-warnings \
- --with-libproxy \
- --with-gnutls
- make
+ default_prepare
+ mkdir -p _build
+}
+
+build() {
+ cd "$builddir"/_build
+ meson -Dprefix=/usr
+ ninja
}
check() {
- cd "$builddir"
- make check
+ cd "$builddir"/_build
+ ninja test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ cd "$builddir"/_build
+ DESTDIR="$pkgdir" ninja install
rm -f "$pkgdir"/usr/lib/gio/modules/*.a
}
-sha512sums="8356d835914e33df43f4f2bb6a915ddcd48dd0565e4d5bc1f1d692e9c3124ee4421b99f87f2586f74e9fed24ef7421159f3242fd1eb7bd74950bd25e860896ec glib-networking-2.54.1.tar.xz"
+sha512sums="474d3e334b901c7445a2ee38018a23bbf0a1f4f7403952bf0e1c882f5c9a518b11696d0c69695b3cb378e33e15f619414e46733172ff6564732b96f3c375003d glib-networking-2.56.1.tar.xz"