27 lines
670 B
BlitzBasic
27 lines
670 B
BlitzBasic
DESCRIPTION = "MPEG Audio Decoder Library"
|
|
SECTION = "libs"
|
|
PRIORITY = "optional"
|
|
DEPENDS = "libid3tag"
|
|
LICENSE = "GPL"
|
|
PR = "r1"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \
|
|
file://no-force-mem.patch;patch=1 \
|
|
file://add-pkgconfig.patch;patch=1"
|
|
|
|
S = "${WORKDIR}/libmad-${PV}"
|
|
|
|
inherit autotools_stage pkgconfig
|
|
|
|
EXTRA_OECONF = "-enable-speed --enable-shared"
|
|
# The ASO's don't take any account of thumb...
|
|
EXTRA_OECONF_append_thumb = " --disable-aso --enable-fpm=default"
|
|
EXTRA_OECONF_append_arm = " --enable-fpm=arm"
|
|
|
|
do_configure_prepend () {
|
|
# damn picky automake...
|
|
touch NEWS AUTHORS ChangeLog
|
|
}
|
|
|
|
ARM_INSTRUCTION_SET = "arm"
|