diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:36:22 +0200 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 15:32:53 +0200 |
| commit | f4cf9fe05bb3f32fabea4e54dd92d368967a80da (patch) | |
| tree | 487180fa9866985ea7b28e625651765d86f515c3 /meta/recipes-multimedia/speex | |
| download | poky-f4cf9fe05bb3f32fabea4e54dd92d368967a80da.tar.gz | |
initial commit for Enea Linux 4.0
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-multimedia/speex')
| -rw-r--r-- | meta/recipes-multimedia/speex/speex-fpu.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-multimedia/speex/speex_1.2rc1.bb | 25 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/speex/speex-fpu.inc b/meta/recipes-multimedia/speex/speex-fpu.inc new file mode 100644 index 0000000000..2571d32484 --- /dev/null +++ b/meta/recipes-multimedia/speex/speex-fpu.inc | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | def get_speex_fpu_setting(bb, d): | ||
| 2 | if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: | ||
| 3 | return "--enable-fixed-point --disable-float-api --disable-vbr" | ||
| 4 | return "" | ||
diff --git a/meta/recipes-multimedia/speex/speex_1.2rc1.bb b/meta/recipes-multimedia/speex/speex_1.2rc1.bb new file mode 100644 index 0000000000..9fd88a39f3 --- /dev/null +++ b/meta/recipes-multimedia/speex/speex_1.2rc1.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | SUMMARY = "Speech Audio Codec" | ||
| 2 | DESCRIPTION = "Speex is an Open Source/Free Software patent-free audio compression format designed for speech." | ||
| 3 | HOMEPAGE = "http://www.speex.org" | ||
| 4 | SECTION = "libs" | ||
| 5 | LICENSE = "BSD" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8 \ | ||
| 7 | file://include/speex/speex.h;beginline=1;endline=34;md5=a68129f78d7fe66e07163f73aba143b3" | ||
| 8 | DEPENDS = "libogg" | ||
| 9 | |||
| 10 | PR = "r2" | ||
| 11 | |||
| 12 | SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-${PV}.tar.gz" | ||
| 13 | |||
| 14 | SRC_URI[md5sum] = "c4438b22c08e5811ff10e2b06ee9b9ae" | ||
| 15 | SRC_URI[sha256sum] = "342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6" | ||
| 16 | |||
| 17 | PARALLEL_MAKE = "" | ||
| 18 | |||
| 19 | inherit autotools pkgconfig lib_package | ||
| 20 | |||
| 21 | EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ | ||
| 22 | --with-ogg-includes=${STAGING_INCDIR} --disable-oggtest" | ||
| 23 | |||
| 24 | require speex-fpu.inc | ||
| 25 | EXTRA_OECONF += "${@get_speex_fpu_setting(bb, d)}" | ||
