json-glib: update to 1.10.6
[oi-userland.git] / components / library / libvdpau / Makefile
blobc259f5e107dc53d84bc5a4951c2c48cc886151af
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2016-2020 Aurelien Larcher
14 BUILD_BITS=32_and_64
15 BUILD_STYLE=meson
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libvdpau
19 COMPONENT_VERSION= 1.5
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= VDPAU libaries and headers
22 COMPONENT_PROJECT_URL= https://freedesktop.org/wiki/Software/VDPAU/
23 COMPONENT_FMRI= library/graphics/libvdpau
24 COMPONENT_CLASSIFICATION=System/Libraries
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
27 COMPONENT_ARCHIVE_HASH= sha256:a5d50a42b8c288febc07151ab643ac8de06a18446965c7241f89b4e810821913
28 COMPONENT_ARCHIVE_URL= https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_LICENSE= MIT
31 include $(WS_MAKE_RULES)/common.mk
33 PATH=$(PATH.gnu)
35 unexport SHELLOPTS
37 # When running the tests an accelerated graphics device is needed (Xlib needs NV-GLX extension)
38 COMPONENT_TEST_TRANSFORMS += \
39 '-n ' \
40 '-e "s/ [0-9].[0-9][0-9] s//" ' \
41 '-e "/OK/p" ' \
42 '-e "/Ok/p" ' \
43 '-e "/Fail/p" ' \
44 '-e "/Pass/p" ' \
45 '-e "/Skipped/p" ' \
46 '-e "/Timeout/p" ' \
47 '-e "/ok/p" '
49 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
51 # Build dependencies
52 REQUIRED_PACKAGES += x11/header/x11-protocols
53 REQUIRED_PACKAGES += developer/documentation-tool/doxygen
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES += image/graphviz
57 REQUIRED_PACKAGES += system/library
58 REQUIRED_PACKAGES += x11/library/libx11
59 REQUIRED_PACKAGES += x11/library/libxext