GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / encumbered / faad2 / Makefile
blob6675d413558fcc6b3705fd9655d9405440c5db92
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 Aurelien Larcher
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= faad2
19 COMPONENT_VERSION= 2.7
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= Open source MPEG-4 and MPEG-2 AAC decoder
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:ee26ed1e177c0cd8fa8458a481b14a0b24ca0b51468c8b4c8b676fd3ceccd330
26 COMPONENT_ARCHIVE_URL= \
27 http://downloads.sourceforge.net/project/faac/faad2-src/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://www.audiocoding.com/faad2.html
29 COMPONENT_LICENSE = GPLv2
30 COMPONENT_LICENSE_FILE = $(COMPONENT_NAME).license
31 COMPONENT_CLASSIFICATION = Applications/Sound and Video
32 COMPONENT_FMRI = audio/faad2
34 include $(WS_TOP)/make-rules/encumbered.mk
35 include $(WS_TOP)/make-rules/prep.mk
36 include $(WS_TOP)/make-rules/configure.mk
37 include $(WS_TOP)/make-rules/ips.mk
39 COMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -if)
41 CFLAGS += $(CPP_LARGEFILES)
43 CONFIGURE_OPTIONS += --disable-static
44 CONFIGURE_OPTIONS += --without-drm
45 CONFIGURE_OPTIONS += --with-mpeg4ip
47 build: $(BUILD_32_and_64)
49 install: $(INSTALL_32_and_64)