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
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
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 2.11.1
22 COMPONENT_SUMMARY
= Freeware Advanced Audio
(AAC
) Decoder including SBR decoding
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:72dbc0494de9ee38d240f670eccf2b10ef715fd0508c305532ca3def3225bb06
26 COMPONENT_PROJECT_URL
= https
://github.com
/knik0
/faad2
27 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_CLASSIFICATION
=Applications
/Sound and Video
29 COMPONENT_FMRI
= audio
/faad2
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= COPYING
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/encumbered.mk
35 include $(WS_MAKE_RULES
)/common.mk
37 #COMPONENT_POST_CONFIGURE_ACTION = ( $(CP) -rp $(BUILD_DIR_$(BITS))/include/*.h $(SOURCE_DIR)/include/ )
39 CFLAGS
+= $(CPP_LARGEFILES
)
41 CMAKE_OPTIONS
+= -DBUILD_SHARED_LIBS
=ON
43 # Two man pages are in the sources that need to be copied into the proto area
44 COMPONENT_POST_INSTALL_ACTION
+= \
45 $(MKDIR
) $(PROTOUSRSHAREMAN1DIR
) ; \
46 $(MKDIR
) $(PROTOUSRSHAREMAN3DIR
) ; \
47 $(CP
) $(SOURCE_DIR
)/frontend
/faad.man
$(PROTOUSRSHAREMAN1DIR
)/faad
.1 ; \
48 $(CP
) $(SOURCE_DIR
)/docs
/libfaad
.3 $(PROTOUSRSHAREMAN3DIR
)/
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= system
/library
52 REQUIRED_PACKAGES
+= system
/library
/math