Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | SUMMARY = "GLib networking extensions" |
| 2 | DESCRIPTION = "glib-networking contains the implementations of certain GLib networking features that cannot be implemented directly in GLib itself because of their dependencies." |
| 3 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/glib-networking/" |
| 4 | BUGTRACKER = "http://bugzilla.gnome.org" |
| 5 | |
| 6 | LICENSE = "LGPL-2.1-only" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 8 | |
| 9 | SECTION = "libs" |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 10 | DEPENDS = "glib-2.0-native glib-2.0" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 11 | |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 12 | SRC_URI[archive.sha256sum] = "1f185aaef094123f8e25d8fa55661b3fd71020163a0174adb35a37685cda613b" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 13 | |
| 14 | PACKAGECONFIG ??= "openssl ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" |
| 15 | |
| 16 | PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls" |
| 17 | PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl" |
| 18 | PACKAGECONFIG[libproxy] = "-Dlibproxy=enabled,-Dlibproxy=disabled,libproxy" |
| 19 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" |
| 20 | |
| 21 | EXTRA_OEMESON = "-Dgnome_proxy=disabled" |
| 22 | |
| 23 | GNOMEBASEBUILDCLASS = "meson" |
| 24 | inherit gnomebase gettext upstream-version-is-even gio-module-cache ptest-gnome |
| 25 | |
| 26 | SRC_URI += "file://run-ptest" |
| 27 | |
| 28 | FILES:${PN} += "\ |
| 29 | ${libdir}/gio/modules/libgio*.so \ |
| 30 | ${datadir}/dbus-1/services/ \ |
| 31 | ${systemd_user_unitdir} \ |
| 32 | " |
| 33 | FILES:${PN}-dev += "${libdir}/gio/modules/libgio*.la" |
| 34 | FILES:${PN}-staticdev += "${libdir}/gio/modules/libgio*.a" |
| 35 | |
| 36 | RDEPENDS:${PN}-ptest += "bash" |
| 37 | |
| 38 | BBCLASSEXTEND = "native nativesdk" |