@ -9,8 +9,8 @@ PKG_NAME:=fdk-aac
PKG_VERSION := 2.0.1
PKG_VERSION := 2.0.1
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE_URL = https://codeload.github.com/mstorsjo/fdk-aac/tar.gz/v$( PKG_VERSION) ?
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/mstorsjo/fdk-aac/tar.gz/v$( PKG_VERSION) ?
PKG_HASH := a4142815d8d52d0e798212a5adea54ecf42bcd4eec8092b37a8cb615ace91dc6
PKG_HASH := a4142815d8d52d0e798212a5adea54ecf42bcd4eec8092b37a8cb615ace91dc6
PKG_MAINTAINER := Ted Hess <thess@kitschensync.net>
PKG_MAINTAINER := Ted Hess <thess@kitschensync.net>
@ -23,6 +23,10 @@ PKG_BUILD_PARALLEL:=1
PKG_CONFIG_DEPENDS := CONFIG_FDK-AAC_OPTIMIZE_SPEED
PKG_CONFIG_DEPENDS := CONFIG_FDK-AAC_OPTIMIZE_SPEED
i f e q ( $( BUILD_VARIANT ) , f r e e )
PATCH_DIR := ./patches-free
e n d i f
i f e q ( $( CONFIG_FDK -AAC_OPTIMIZE_SPEED ) , y )
i f e q ( $( CONFIG_FDK -AAC_OPTIMIZE_SPEED ) , y )
TARGET_CFLAGS := $( filter-out -O%,$( TARGET_CFLAGS) )
TARGET_CFLAGS := $( filter-out -O%,$( TARGET_CFLAGS) )
TARGET_CFLAGS += $( TARGET_CFLAGS) -O2 -flto
TARGET_CFLAGS += $( TARGET_CFLAGS) -O2 -flto
@ -33,20 +37,48 @@ endif
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / f d k - a a c
d e f i n e P a c k a g e / f d k - a a c / D e f a u l t
SECTION:= sound
SECTION:= sound
CATEGORY:= Sound
CATEGORY:= Sound
DEPENDS:= @BUILD_PATENTED
TITLE:= Fraunhofer FDK AAC Codec Library
TITLE:= Fraunhofer FDK AAC Codec Library
URL:= https://sourceforge.net/projects/opencore-amr/
URL:= https://sourceforge.net/projects/opencore-amr/
e n d e f
e n d e f
d e f i n e P a c k a g e / f d k - a a c / d e s c r i p t i o n
d e f i n e P a c k a g e / f d k - a a c / D e f a u l t / d e s c r i p t i o n
Port of the Fraunhofer FDK AAC Codec Library for Android
Port of the Fraunhofer FDK AAC Codec Library for Android
e n d e f
e n d e f
d e f i n e P a c k a g e / f d k - a a c / D e f a u l t / c o n f i g
source " $( SOURCE) /Config.in "
e n d e f
d e f i n e P a c k a g e / f d k - a a c
$( call Package/fdk-aac/Default)
DEPENDS:= @BUILD_PATENTED
VARIANT:= nonfree
e n d e f
d e f i n e P a c k a g e / f d k - a a c / d e s c r i p t i o n
$( call Package/fdk-aac/Default/description)
This is the full patent encumbered version.
e n d e f
d e f i n e P a c k a g e / f d k - a a c / c o n f i g
d e f i n e P a c k a g e / f d k - a a c / c o n f i g
source " $( SOURCE) /Config.in "
$( call Package/fdk-aac/Default/config)
e n d e f
d e f i n e P a c k a g e / f d k - a a c - f r e e
$( call Package/fdk-aac/Default)
VARIANT:= free
e n d e f
d e f i n e P a c k a g e / f d k - a a c - f r e e / d e s c r i p t i o n
$( call Package/fdk-aac/Default/description)
This is the free version that only supports LC-AAC.
e n d e f
d e f i n e P a c k a g e / f d k - a a c - f r e e / c o n f i g
$( call Package/fdk-aac/Default/config)
e n d e f
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
d e f i n e B u i l d / I n s t a l l D e v
@ -63,4 +95,10 @@ define Package/fdk-aac/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libfdk-aac.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libfdk-aac.so* $( 1) /usr/lib/
e n d e f
e n d e f
d e f i n e P a c k a g e / f d k - a a c - f r e e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libfdk-aac.so* $( 1) /usr/lib/
e n d e f
$( eval $ ( call BuildPackage ,fdk -aac ) )
$( eval $ ( call BuildPackage ,fdk -aac ) )
$( eval $ ( call BuildPackage ,fdk -aac -free ) )