4d8b0ac67a
Changes in libsoup from 2.62.2 to 2.62.3: * Check for trailing dots in domains [#5, Claudio Saavedra] * Set default cookie path for NULL origins [#1, Adrian Perez de Castro] * Use atomic-refcounting in classes that are not using GObject-refcounting [bgo#785110, Edward Hervey] * Many Coverity-found code fixes [bgo#781771, Milan Crha] * Bail out on cookie-jar calls with empty hostnames [#3, Michael Catanzaro] Note: from now onwards bgo# references bugs in GNOME Bugzilla and # issues in GNOME gitlab.
60 lines
1.8 KiB
Makefile
60 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.47 2018/08/16 12:16:17 wiz Exp $
|
|
|
|
DISTNAME= libsoup-2.62.3
|
|
CATEGORIES= net gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/${PKGVERSION_NOREV:R}/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://wiki.gnome.org/Projects/libsoup
|
|
COMMENT= HTTP library implementation in C
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
DEPENDS+= glib-networking-[0-9]*:../../net/glib-networking
|
|
|
|
USE_TOOLS+= pkg-config gmake intltool msgfmt
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
# XXX work around botched gettext check (ignores libintl)
|
|
CONFIGURE_ENV+= DATADIRNAME=share
|
|
|
|
# XXX: disable Vala bindings otherwise the configure phase fails because is not
|
|
# XXX: able to find vapigen.
|
|
CONFIGURE_ARGS+= --enable-vala=no \
|
|
--disable-tls-check
|
|
|
|
PKGCONFIG_OVERRIDE+= libsoup-2.4.pc.in
|
|
PKGCONFIG_OVERRIDE+= libsoup-gnome-2.4.pc.in
|
|
|
|
TEST_TARGET= check
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror=missing-include-dirs
|
|
|
|
# gcc>=4.2 specific -Werror=XXX flags will be added unconditionally.
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(CC_VERSION:Mgcc-4.[01].*) || !empty(CC_VERSION:Mgcc-[1-3].*)
|
|
CONFIGURE_ARGS+= --disable-more-warnings
|
|
.endif
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
_WRAP_EXTRA_ARGS.CC+= -Wno-error=format-nonliteral
|
|
CWRAPPERS_APPEND.cc+= -Wno-error=format-nonliteral
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
REPLACE_PYTHON= libsoup/tld-parser.py
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.0
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5
|
|
BUILDLINK_DEPMETHOD.gobject-introspection+= build
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-introspection
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|