blob: 5b089a0b33b613f62fd4169936f15d73a62dc95a [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "MPEG Audio Decoder library"
2HOMEPAGE = "http://sourceforge.net/projects/mad/"
3BUGTRACKER = "http://sourceforge.net/tracker/?group_id=12349&atid=112349"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "GPL-2.0-or-later"
Patrick Williamsddad1a12017-02-23 20:36:32 -06005LICENSE_FLAGS = "commercial"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://COPYRIGHT;md5=8e55eb14894e782b84488d5a239bc23d \
8 file://version.h;beginline=1;endline=8;md5=aa07311dd39288d4349f28e1de516454"
9SECTION = "libs"
10DEPENDS = "libid3tag"
11PR = "r3"
12
13SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libmad-${PV}.tar.gz \
14 file://no-force-mem.patch \
15 file://add-pkgconfig.patch \
16 file://fix_for_mips_with_gcc-4.5.0.patch \
17 file://obsolete_automake_macros.patch \
18 file://automake-foreign.patch \
Andrew Geissler3eeda902023-05-19 10:14:02 -050019 file://0001-configure-Respect-the-cflags-from-environment.patch \
Patrick Williamsddad1a12017-02-23 20:36:32 -060020"
Patrick Williams213cb262021-08-07 19:21:33 -050021SRC_URI:append:toolchain-clang = " file://0004-Remove-clang-unsupported-compiler-flags.patch "
Patrick Williamsddad1a12017-02-23 20:36:32 -060022
23SRC_URI[md5sum] = "1be543bc30c56fb6bea1d7bf6a64e66c"
24SRC_URI[sha256sum] = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690"
25
26S = "${WORKDIR}/libmad-${PV}"
27
28inherit autotools pkgconfig
29
30EXTRA_OECONF = "-enable-speed --enable-shared"
Patrick Williams213cb262021-08-07 19:21:33 -050031EXTRA_OECONF:append:arm = " --enable-fpm=arm"
Patrick Williamsddad1a12017-02-23 20:36:32 -060032
Patrick Williams213cb262021-08-07 19:21:33 -050033do_configure:prepend () {
Patrick Williamsddad1a12017-02-23 20:36:32 -060034# damn picky automake...
35 touch NEWS AUTHORS ChangeLog
36}
37
38ARM_INSTRUCTION_SET = "arm"