Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 1 | SUMMARY = "A Gtk client and libraries for SPICE remote desktop servers." |
| 2 | HOMEPAGE = "https://spice-space.org" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 3 | LICENSE = "LGPL-2.1-only & BSD-3-Clause & GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = " \ |
| 5 | file://COPYING;md5=4fbd65380cdd255951079008b364516c \ |
| 6 | file://subprojects/spice-common/COPYING;md5=4b54a1fd55a448865a0b32d41598759d \ |
| 7 | file://subprojects/keycodemapdb/LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b \ |
| 8 | file://subprojects/keycodemapdb/LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ |
| 9 | " |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 10 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame] | 11 | SRCREV = "f04479c16f0969fb394ebe74b6eff74e560a42f0" |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 12 | |
| 13 | SRC_URI = "gitsm://gitlab.freedesktop.org/spice/spice-gtk.git;protocol=https;branch=master" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | DEPENDS = " \ |
| 18 | ${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ |
| 19 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland wayland-native wayland-protocols', '', d)} \ |
| 20 | acl \ |
| 21 | cyrus-sasl \ |
| 22 | gstreamer1.0 \ |
| 23 | gstreamer1.0-plugins-base \ |
| 24 | gstreamer1.0-vaapi \ |
| 25 | gtk+3 \ |
| 26 | jpeg \ |
| 27 | json-glib \ |
| 28 | libcap-ng \ |
| 29 | libepoxy \ |
| 30 | libopus \ |
| 31 | libusb1 \ |
| 32 | lz4 \ |
| 33 | pixman \ |
| 34 | python3-pyparsing-native \ |
| 35 | python3-six-native \ |
| 36 | spice-protocol \ |
| 37 | usbredir \ |
| 38 | usbutils \ |
| 39 | zlib \ |
| 40 | " |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 41 | DEPENDS:append:libc-musl = " libucontext" |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 42 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 43 | RDEPENDS:${PN} = "python3-pyparsing python3-six usbids" |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 44 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 45 | inherit meson pkgconfig vala gobject-introspection features_check gtk-doc |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 46 | |
| 47 | REQUIRED_DISTRO_FEATURES = "opengl" |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 48 | |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 49 | GIR_MESON_ENABLE_FLAG = 'enabled' |
| 50 | GIR_MESON_DISABLE_FLAG = 'disabled' |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 51 | GTKDOC_MESON_OPTION = 'gtk_doc' |
| 52 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' |
| 53 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 54 | |
Patrick Williams | da29531 | 2023-12-05 16:48:56 -0600 | [diff] [blame] | 55 | do_configure:prepend() { |
| 56 | echo ${PV} > ${S}/.tarball-version |
| 57 | } |
| 58 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 59 | PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} smartcard" |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 60 | PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 61 | PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard" |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 62 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 63 | EXTRA_OEMESON = "-Dpie=true -Dusb-ids-path=${datadir}/usb.ids " |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 64 | EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 65 | |
Patrick Williams | 520786c | 2023-06-25 16:20:36 -0500 | [diff] [blame] | 66 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}" |
| 67 | |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 68 | FILES:${PN} += "${datadir}" |