commit | author | age
|
699b9d
|
1 |
# |
AP |
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. |
|
6 |
# |
|
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. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2015 Alexander Pyhalov |
|
14 |
# |
|
15 |
|
|
16 |
include ../../../make-rules/shared-macros.mk |
|
17 |
|
|
18 |
COMPONENT_NAME= faac |
|
19 |
COMPONENT_VERSION= 1.28 |
a01aca
|
20 |
COMPONENT_REVISION= 1 |
699b9d
|
21 |
COMPONENT_SUMMARY= Reference encoder and encoding library for MPEG2/4 AAC |
AP |
22 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
23 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
24 |
COMPONENT_ARCHIVE_HASH= \ |
|
25 |
sha256:c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df |
|
26 |
COMPONENT_ARCHIVE_URL= \ |
|
27 |
http://downloads.sourceforge.net/project/faac/faac-src/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE) |
2070a4
|
28 |
COMPONENT_PROJECT_URL = http://www.audiocoding.com/faac.html |
699b9d
|
29 |
COMPONENT_LICENSE = LGPLv2 |
AP |
30 |
COMPONENT_LICENSE_FILE = COPYING |
|
31 |
COMPONENT_CLASSIFICATION = Applications/Sound and Video |
|
32 |
COMPONENT_FMRI = audio/faac |
|
33 |
|
a01aca
|
34 |
include $(WS_MAKE_RULES)/encumbered.mk |
AL |
35 |
include $(WS_MAKE_RULES)/prep.mk |
|
36 |
include $(WS_MAKE_RULES)/configure.mk |
|
37 |
include $(WS_MAKE_RULES)/ips.mk |
699b9d
|
38 |
|
AP |
39 |
# Missing files in build dir for configure without this. |
|
40 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
|
41 |
|
|
42 |
CONFIGURE_SCRIPT = $(@D)/configure |
|
43 |
|
|
44 |
CFLAGS += $(CPP_LARGEFILES) |
|
45 |
|
|
46 |
CONFIGURE_OPTIONS += --disable-static |
|
47 |
CONFIGURE_OPTIONS += --enable-drm |
|
48 |
CONFIGURE_OPTIONS += --with-mp4v2 |
|
49 |
|
|
50 |
build: $(BUILD_32_and_64) |
|
51 |
|
|
52 |
install: $(INSTALL_32_and_64) |
a01aca
|
53 |
|
AL |
54 |
# Auto-generated dependencies |
|
55 |
REQUIRED_PACKAGES += system/library |
f5010f
|
56 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
969846
|
57 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
a01aca
|
58 |
REQUIRED_PACKAGES += system/library/math |