rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / library / libass / Makefile
blob6adf03beb35047decdccab6890b6b9ce29f7e5bd
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 2015 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
15 # Copyright 2020, 2021 Andreas Wacknitz
18 BUILD_BITS= 64
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= libass
22 COMPONENT_VERSION= 0.17.3
23 COMPONENT_SUMMARY= Portable renderer for the ASS/SSA (Substation Alpha) subtitle format
24 COMPONENT_PROJECT_URL= https://github.com/libass/libass
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:da7c348deb6fa6c24507afab2dee7545ba5dd5bbf90a137bfe9e738f7df68537
28 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= library/video/libass
30 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
31 COMPONENT_LICENSE= ISC
32 COMPONENT_LICENSE_FILE= COPYING
34 TEST_TARGET= $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 CONFIGURE_OPTIONS += --disable-static
38 CONFIGURE_OPTIONS += --with-pic
39 ifeq ($(strip $(MACH)),i386)
40 CONFIGURE_OPTIONS.64 += --host=amd64-pc-solaris2.11
41 else
42 CONFIGURE_OPTIONS.64 += --host=sparcv9-sun-solaris2.11
43 endif
45 # build requirement
46 REQUIRED_PACKAGES += developer/assembler/nasm
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES += library/c++/harfbuzz
50 REQUIRED_PACKAGES += library/fribidi
51 REQUIRED_PACKAGES += library/libunibreak
52 REQUIRED_PACKAGES += system/library
53 REQUIRED_PACKAGES += system/library/fontconfig
54 REQUIRED_PACKAGES += system/library/freetype-2
55 REQUIRED_PACKAGES += system/library/math