illumos-gate: omit tagged pointers on SPARC, causes panic on UltraI/II systems
[oi-userland.git] / components / encumbered / libbluray / Makefile
blob01b91efd4a3d3e9c2bf64327ee4df5259cff2d93
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 phorcys@126.com. All rights reserved.
14 # Copyright 2019 Michal Nowak
15 # Copyright 2023 Niklas Poslovski
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libbluray
21 COMPONENT_VERSION= 1.3.4
22 COMPONENT_FMRI= library/video/libbluray
23 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
24 COMPONENT_SUMMARY= An open-source library designed for Blu-Ray Discs playback for media players.
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
27 COMPONENT_ARCHIVE_HASH= \
28 sha256:478ffd68a0f5dde8ef6ca989b7f035b5a0a22c599142e5cd3ff7b03bbebe5f2b
29 COMPONENT_ARCHIVE_URL= \
30 ftp://ftp.videolan.org/pub/videolan/libbluray/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
31 COMPONENT_PROJECT_URL= https://www.videolan.org/developers/libbluray.html
32 COMPONENT_LICENSE= LGPLv2.1
34 include $(WS_MAKE_RULES)/encumbered.mk
35 include $(WS_MAKE_RULES)/common.mk
37 COMMON_BUILD_ENV += JDK_HOME="$(JAVA_HOME)"
39 CFLAGS += -I $(JAVA_HOME)/include/solaris
41 CONFIGURE_OPTIONS += --datadir=$(USRSHARELIBDIR)
42 CONFIGURE_OPTIONS += --disable-static
43 CONFIGURE_OPTIONS += --with-libxml2
44 CONFIGURE_OPTIONS += --with-freetype
46 # Manually added build dependencies
47 REQUIRED_PACKAGES += developer/build/ant
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES += library/libxml2
51 REQUIRED_PACKAGES += system/library
52 REQUIRED_PACKAGES += system/library/fontconfig
53 REQUIRED_PACKAGES += system/library/freetype-2