Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | SUMMARY = "MPEG Audio Decoder library" |
| 2 | HOMEPAGE = "http://sourceforge.net/projects/mad/" |
| 3 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=12349&atid=112349" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 4 | LICENSE = "GPL-2.0-or-later" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 5 | LICENSE_FLAGS = "commercial" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 7 | file://COPYRIGHT;md5=8e55eb14894e782b84488d5a239bc23d \ |
| 8 | file://version.h;beginline=1;endline=8;md5=aa07311dd39288d4349f28e1de516454" |
| 9 | SECTION = "libs" |
| 10 | DEPENDS = "libid3tag" |
| 11 | PR = "r3" |
| 12 | |
| 13 | SRC_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 \ |
| 19 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 20 | SRC_URI:append:toolchain-clang = " file://0004-Remove-clang-unsupported-compiler-flags.patch " |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 21 | |
| 22 | SRC_URI[md5sum] = "1be543bc30c56fb6bea1d7bf6a64e66c" |
| 23 | SRC_URI[sha256sum] = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690" |
| 24 | |
| 25 | S = "${WORKDIR}/libmad-${PV}" |
| 26 | |
| 27 | inherit autotools pkgconfig |
| 28 | |
| 29 | EXTRA_OECONF = "-enable-speed --enable-shared" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 30 | EXTRA_OECONF:append:arm = " --enable-fpm=arm" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 31 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 32 | do_configure:prepend () { |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 33 | # damn picky automake... |
| 34 | touch NEWS AUTHORS ChangeLog |
| 35 | } |
| 36 | |
| 37 | ARM_INSTRUCTION_SET = "arm" |