xref: /OK3568_Linux_fs/buildroot/package/vorbis-tools/vorbis-tools.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# vorbis-tools
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunVORBIS_TOOLS_VERSION = 1.4.2
8*4882a593SmuzhiyunVORBIS_TOOLS_SITE = http://downloads.xiph.org/releases/vorbis
9*4882a593SmuzhiyunVORBIS_TOOLS_LICENSE = GPL-2.0
10*4882a593SmuzhiyunVORBIS_TOOLS_LICENSE_FILES = COPYING
11*4882a593SmuzhiyunVORBIS_TOOLS_CPE_ID_VENDOR = xiph
12*4882a593SmuzhiyunVORBIS_TOOLS_DEPENDENCIES = libao libogg libvorbis libcurl
13*4882a593SmuzhiyunVORBIS_TOOLS_CONF_OPTS = --program-transform-name=''
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun# ogg123 calls math functions but forgets to link with libm
16*4882a593SmuzhiyunVORBIS_TOOLS_CONF_ENV = LIBS=-lm
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_FLAC),y)
19*4882a593SmuzhiyunVORBIS_TOOLS_DEPENDENCIES += flac
20*4882a593Smuzhiyunendif
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_OPUSFILE),y)
23*4882a593SmuzhiyunVORBIS_TOOLS_DEPENDENCIES += opusfile
24*4882a593Smuzhiyunendif
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_SPEEX),y)
27*4882a593SmuzhiyunVORBIS_TOOLS_DEPENDENCIES += speex
28*4882a593Smuzhiyunendif
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun$(eval $(autotools-package))
31