2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2014-02-23 00:32:21 +00:00
|
|
|
|
2014-04-26 19:36:06 +01:00
|
|
|
# WARNING: Like openssl, the license of this package is not compatible with
|
2016-08-22 21:29:49 +01:00
|
|
|
# GPL 2+, but it is with LGPL 2.1+. See docs/index.html#potential-legal-issues
|
2014-04-26 19:36:06 +01:00
|
|
|
|
2014-02-23 00:32:21 +00:00
|
|
|
PKG := fdk-aac
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := https://github.com/mstorsjo/fdk-aac
|
|
|
|
$(PKG)_DESCR := FDK-AAC
|
2014-02-23 00:32:21 +00:00
|
|
|
$(PKG)_IGNORE :=
|
2019-03-31 12:00:31 +01:00
|
|
|
$(PKG)_VERSION := 2.0.0
|
|
|
|
$(PKG)_CHECKSUM := f7d6e60f978ff1db952f7d5c3e96751816f5aef238ecf1d876972697b85fd96c
|
2014-02-23 00:32:21 +00:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/opencore-amr/$(PKG)/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc
|
2014-02-23 00:32:21 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2017-03-04 10:33:47 +00:00
|
|
|
$(WGET) -q -O- 'https://sourceforge.net/projects/opencore-amr/files/fdk-aac/' | \
|
2014-02-23 00:32:21 +00:00
|
|
|
$(SED) -n 's,.*fdk-aac-\([0-9.]*\)\.tar.*,\1,p' | \
|
|
|
|
$(SORT) -V | \
|
|
|
|
tail -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
2016-05-05 13:09:49 +01:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
|
|
|
CXXFLAGS='-Wno-narrowing'
|
2014-02-23 00:32:21 +00:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(1)' -j 1 install
|
|
|
|
endef
|