# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2015 Alexander Pyhalov # Copyright 2023 Niklas Poslovski # BUILD_STYLE=configure include ../../../make-rules/shared-macros.mk COMPONENT_NAME= faac COMPONENT_VERSION= 1.30 COMPONENT_REVISION= 1 COMPONENT_SUMMARY= Reference encoder and encoding library for MPEG2/4 AAC COMPONENT_SRC= $(COMPONENT_NAME)-1_30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= \ sha256:adc387ce588cca16d98c03b6ec1e58f0ffd9fc6eadb00e254157d6b16203b2d2 COMPONENT_ARCHIVE_URL= \ https://sourceforge.net/projects/faac/files/faac-src/$(COMPONENT_NAME)-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download COMPONENT_PROJECT_URL= https://sourceforge.net/projects/faac/ COMPONENT_LICENSE= LGPLv2 COMPONENT_LICENSE_FILE= COPYING COMPONENT_CLASSIFICATION=Applications/Sound and Video COMPONENT_FMRI= audio/faac include $(WS_MAKE_RULES)/encumbered.mk include $(WS_MAKE_RULES)/common.mk COMPONENT_PREP_ACTION = (cd $(@D); ./bootstrap) # Missing files in build dir for configure without this. COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) CONFIGURE_SCRIPT = $(@D)/configure CFLAGS += $(CPP_LARGEFILES) CONFIGURE_OPTIONS += --disable-static # Auto-generated dependencies REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/math