add symbols-nerd fonts
[oi-userland.git] / components / encumbered / xvidcore / Makefile
blob6074e1324226d20a0f7c31d8be4f6bcad9230ccd
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
16 BUILD_STYLE=configure
17 BUILD_BITS=64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= xvidcore
21 COMPONENT_VERSION= 1.3.7
22 COMPONENT_REVISION= 1
23 COMPONENT_FMRI= library/video/xvid
24 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
25 COMPONENT_SUMMARY= ISO MPEG-4 compliant video codec
26 COMPONENT_SRC= $(COMPONENT_NAME)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-$(COMPONENT_VERSION).tar.gz
28 COMPONENT_ARCHIVE_HASH= \
29 sha256:abbdcbd39555691dd1c9b4d08f0a031376a3b211652c0d8b3b8aa9be1303ce2d
30 COMPONENT_ARCHIVE_URL= \
31 https://downloads.xvid.com/downloads/$(COMPONENT_ARCHIVE)
32 COMPONENT_PROJECT_URL= https://www.xvid.com/
33 COMPONENT_LICENSE= GPLv2.0
34 COMPONENT_LICENSE_FILE= LICENSE
36 include $(WS_MAKE_RULES)/encumbered.mk
37 TEST_TARGET=$(NO_TESTS)
38 include $(WS_MAKE_RULES)/common.mk
40 PATH = $(PATH.gnu)
42 COMPONENT_PREP_ACTION += ( cd $(COMPONENT_SRC)/build/generic && $(CONFIG_SHELL) bootstrap.sh)
44 # Missing files in build dir for configure without this.
45 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
47 CONFIGURE_OPTIONS+= --enable-assembly
48 CONFIGURE_OPTIONS+= --target=amd64-pc-solaris2.11
50 CONFIGURE_SCRIPT = $(@D)/build/generic/configure
52 $(BUILD_DIR)/%/.configured: $(SOURCE_DIR)/.prep
53 ($(RM) -rf $(@D) ; $(MKDIR) $(@D))
54 $(COMPONENT_PRE_CONFIGURE_ACTION)
55 (cd $(@D)/build/generic ; $(ENV) $(CONFIGURE_ENV) $(CONFIG_SHELL) \
56 $(CONFIGURE_SCRIPT) $(CONFIGURE_OPTIONS))
57 $(COMPONENT_POST_CONFIGURE_ACTION)
58 $(TOUCH) $@
60 COMPONENT_BUILD_ARGS += -C $(@D)/build/generic
61 COMPONENT_INSTALL_ARGS += -C $(@D)/build/generic
63 # Auto-generated dependencies
64 REQUIRED_PACKAGES += system/library
65 REQUIRED_PACKAGES += system/library/math