diff options
| -rw-r--r-- | meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch | 10 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb (renamed from meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb) | 15 |
2 files changed, 11 insertions, 14 deletions
diff --git a/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch b/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch index 605863a221..4f02a66fcc 100644 --- a/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch +++ b/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From c2aed28e3e14329ad0a8c4371fdcce9934013f21 Mon Sep 17 00:00:00 2001 | 1 | From d0313be5fb947df399a4db24a5f9244510d2ce87 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 12 Jul 2017 16:36:06 -0700 | 3 | Date: Wed, 12 Jul 2017 16:36:06 -0700 |
| 4 | Subject: [PATCH] remove the #error line and live without file-type detection | 4 | Subject: [PATCH] remove the #error line and live without file-type detection |
| @@ -12,17 +12,17 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 12 | 1 file changed, 1 deletion(-) | 12 | 1 file changed, 1 deletion(-) |
| 13 | 13 | ||
| 14 | diff --git a/src/formats.c b/src/formats.c | 14 | diff --git a/src/formats.c b/src/formats.c |
| 15 | index 7e231ca..b13f0d5 100644 | 15 | index 724a4cda..f683a922 100644 |
| 16 | --- a/src/formats.c | 16 | --- a/src/formats.c |
| 17 | +++ b/src/formats.c | 17 | +++ b/src/formats.c |
| 18 | @@ -416,7 +416,6 @@ static void UNUSED rewind_pipe(FILE * fp) | 18 | @@ -422,7 +422,6 @@ static void UNUSED rewind_pipe(FILE * fp) |
| 19 | /* To fix this #error, either simply remove the #error line and live without | 19 | /* To fix this #error, either simply remove the #error line and live without |
| 20 | * file-type detection with pipes, or add support for your compiler in the | 20 | * file-type detection with pipes, or add support for your compiler in the |
| 21 | * lines above. Test with cat monkey.au | ./sox --info - */ | 21 | * lines above. Test with cat monkey.wav | ./sox --info - */ |
| 22 | - #error FIX NEEDED HERE | 22 | - #error FIX NEEDED HERE |
| 23 | #define NO_REWIND_PIPE | 23 | #define NO_REWIND_PIPE |
| 24 | (void)fp; | 24 | (void)fp; |
| 25 | #endif | 25 | #endif |
| 26 | -- | 26 | -- |
| 27 | 2.13.2 | 27 | 2.16.2 |
| 28 | 28 | ||
diff --git a/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb index 3eb1856e06..d1ed08a892 100644 --- a/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb +++ b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb | |||
| @@ -4,13 +4,11 @@ and can apply different effects and filters to the audio data." | |||
| 4 | HOMEPAGE = "http://sox.sourceforge.net" | 4 | HOMEPAGE = "http://sox.sourceforge.net" |
| 5 | SECTION = "audio" | 5 | SECTION = "audio" |
| 6 | 6 | ||
| 7 | DEPENDS = "libpng ffmpeg libsndfile1 libvorbis" | 7 | DEPENDS = "libpng ffmpeg libsndfile1" |
| 8 | 8 | ||
| 9 | # While this item does not require it, it depends on ffmpeg which does | 9 | # While this item does not require it, it depends on ffmpeg which does |
| 10 | LICENSE_FLAGS = "commercial" | 10 | LICENSE_FLAGS = "commercial" |
| 11 | 11 | ||
| 12 | PR = "r2" | ||
| 13 | |||
| 14 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \ | 12 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \ |
| 15 | magic \ | 13 | magic \ |
| 16 | " | 14 | " |
| @@ -20,6 +18,8 @@ PACKAGECONFIG[wavpack] = "--with-wavpack=dyn,--with-wavpack=no,wavpack," | |||
| 20 | PACKAGECONFIG[flac] = "--with-flac=dyn,--with-flac=no,flac," | 18 | PACKAGECONFIG[flac] = "--with-flac=dyn,--with-flac=no,flac," |
| 21 | PACKAGECONFIG[amrwb] = "--with-amrwb=dyn,--with-amrwb=no,opencore-amr," | 19 | PACKAGECONFIG[amrwb] = "--with-amrwb=dyn,--with-amrwb=no,opencore-amr," |
| 22 | PACKAGECONFIG[amrnb] = "--with-amrnb=dyn,--with-amrnb=no,opencore-amr," | 20 | PACKAGECONFIG[amrnb] = "--with-amrnb=dyn,--with-amrnb=no,opencore-amr," |
| 21 | PACKAGECONFIG[oggvorbis] = "--with-oggvorbis=dyn,--with-oggvorbis=no,libvorbis" | ||
| 22 | PACKAGECONFIG[opus] = "--with-opus=dyn,--with-opus=no,opusfile" | ||
| 23 | PACKAGECONFIG[magic] = "--with-magic,--without-magic,file," | 23 | PACKAGECONFIG[magic] = "--with-magic,--without-magic,file," |
| 24 | PACKAGECONFIG[mad] = "--with-mad,--without-mad,libmad," | 24 | PACKAGECONFIG[mad] = "--with-mad,--without-mad,libmad," |
| 25 | PACKAGECONFIG[id3tag] = "--with-id3tag,--without-id3tag,libid3tag," | 25 | PACKAGECONFIG[id3tag] = "--with-id3tag,--without-id3tag,libid3tag," |
| @@ -33,10 +33,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe \ | |||
| 33 | SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \ | 33 | SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \ |
| 34 | file://0001-remove-the-error-line-and-live-without-file-type-det.patch \ | 34 | file://0001-remove-the-error-line-and-live-without-file-type-det.patch \ |
| 35 | " | 35 | " |
| 36 | SRC_URI[md5sum] = "b0c15cff7a4ba0ec17fdc74e6a1f9cf1" | 36 | SRC_URI[md5sum] = "d04fba2d9245e661f245de0577f48a33" |
| 37 | SRC_URI[sha256sum] = "3ee34b14dd267de378e8a117aae81ec4cae330772342e6a55bbf6520a0a88aa3" | 37 | SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c" |
| 38 | |||
| 39 | inherit autotools | ||
| 40 | |||
| 41 | BBCLASSEXTEND = "native" | ||
| 42 | 38 | ||
| 39 | inherit autotools pkgconfig | ||
