vim: update to 9.1.0984
[oi-userland.git] / components / library / libass / Makefile
blob1f09046fb4e375c4466770dea233562c83aafff6
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, 2024 Andreas Wacknitz
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libass
21 COMPONENT_VERSION= 0.17.3
22 COMPONENT_REVISION= 1
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 # gcc 14 complains about incompatible pointer types
38 CFLAGS += -Wno-error=incompatible-pointer-types
40 CONFIGURE_OPTIONS += --disable-static
41 CONFIGURE_OPTIONS += --with-pic
42 ifeq ($(strip $(MACH)),i386)
43 CONFIGURE_OPTIONS.64 += --host=amd64-pc-solaris2.11
44 else
45 CONFIGURE_OPTIONS.64 += --host=sparcv9-sun-solaris2.11
46 endif
48 # build requirement
49 REQUIRED_PACKAGES += developer/assembler/nasm
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += library/c++/harfbuzz
53 REQUIRED_PACKAGES += library/fribidi
54 REQUIRED_PACKAGES += library/libunibreak
55 REQUIRED_PACKAGES += system/library
56 REQUIRED_PACKAGES += system/library/fontconfig
57 REQUIRED_PACKAGES += system/library/freetype-2
58 REQUIRED_PACKAGES += system/library/math