diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-06-26 17:46:31 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-06-30 13:13:52 +0100 |
commit | eda72fba0f6aaea7c9de1f23693c3322970f6e5b (patch) | |
tree | 169b7ca8e0ad3959bc11b8eff1c6e1683df4f48a /meta/packages | |
parent | 923f141efe6addcf1c2cc5600b3a3cd3da50bc32 (diff) | |
download | poky-eda72fba0f6aaea7c9de1f23693c3322970f6e5b.tar.gz |
flac: Upgraded to version 1.2.1
Acquire flac-gcc43-fixes.patch from OE to fix a build issue
Rebase disable-xmms-plugin.patch
Change the local file directory name to ${PN}-${PV}
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/flac/flac-1.1.2/disable-xmms-plugin.patch | 21 | ||||
-rw-r--r-- | meta/packages/flac/flac-1.2.1/disable-xmms-plugin.patch | 24 | ||||
-rw-r--r-- | meta/packages/flac/flac-1.2.1/flac-gcc43-fixes.patch | 14 | ||||
-rw-r--r-- | meta/packages/flac/flac-1.2.1/xmms.m4 (renamed from meta/packages/flac/flac-1.1.2/xmms.m4) | 1 | ||||
-rw-r--r-- | meta/packages/flac/flac_1.2.1.bb (renamed from meta/packages/flac/flac_1.1.2.bb) | 3 |
5 files changed, 41 insertions, 22 deletions
diff --git a/meta/packages/flac/flac-1.1.2/disable-xmms-plugin.patch b/meta/packages/flac/flac-1.1.2/disable-xmms-plugin.patch deleted file mode 100644 index e42fcbd84d..0000000000 --- a/meta/packages/flac/flac-1.1.2/disable-xmms-plugin.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | --- flac-1.1.0/src/Makefile.am.orig 2004-12-25 01:11:45.000000000 +0100 | ||
2 | +++ flac-1.1.0/src/Makefile.am 2004-12-25 01:12:10.000000000 +0100 | ||
3 | @@ -15,10 +15,6 @@ | ||
4 | # along with this program; if not, write to the Free Software | ||
5 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
6 | |||
7 | -if FLaC__HAS_XMMS | ||
8 | -XMMS_DIRS = plugin_xmms | ||
9 | -endif | ||
10 | - | ||
11 | if FLaC__HAS_OGG | ||
12 | OGGFLAC_DIRS = libOggFLAC libOggFLAC++ | ||
13 | OGGFLAC_TEST_DIRS = test_libOggFLAC test_libOggFLAC++ | ||
14 | @@ -33,7 +29,6 @@ | ||
15 | metaflac \ | ||
16 | monkeys_audio_utilities \ | ||
17 | plugin_common \ | ||
18 | - $(XMMS_DIRS) \ | ||
19 | plugin_winamp2 \ | ||
20 | plugin_winamp3 \ | ||
21 | test_grabbag \ | ||
diff --git a/meta/packages/flac/flac-1.2.1/disable-xmms-plugin.patch b/meta/packages/flac/flac-1.2.1/disable-xmms-plugin.patch new file mode 100644 index 0000000000..e2f4fa1360 --- /dev/null +++ b/meta/packages/flac/flac-1.2.1/disable-xmms-plugin.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | # Acquired from OpenEmbedded | ||
2 | |||
3 | diff -ruN flac-1.2.1-orig/src/Makefile.am flac-1.2.1-new/src/Makefile.am | ||
4 | --- flac-1.2.1-orig/src/Makefile.am 2010-06-23 15:06:29.167865355 +0800 | ||
5 | +++ flac-1.2.1-new/src/Makefile.am 2010-06-25 16:23:05.555202728 +0800 | ||
6 | @@ -15,10 +15,6 @@ | ||
7 | # restrictive of those mentioned above. See the file COPYING.Xiph in this | ||
8 | # distribution. | ||
9 | |||
10 | -if FLaC__HAS_XMMS | ||
11 | -XMMS_DIRS = plugin_common plugin_xmms | ||
12 | -endif | ||
13 | - | ||
14 | if FLaC__WITH_CPPLIBS | ||
15 | CPPLIBS_DIRS = libFLAC++ test_libFLAC++ | ||
16 | endif | ||
17 | @@ -29,7 +25,6 @@ | ||
18 | flac \ | ||
19 | metaflac \ | ||
20 | monkeys_audio_utilities \ | ||
21 | - $(XMMS_DIRS) \ | ||
22 | plugin_winamp2 \ | ||
23 | test_grabbag \ | ||
24 | test_libs_common \ | ||
diff --git a/meta/packages/flac/flac-1.2.1/flac-gcc43-fixes.patch b/meta/packages/flac/flac-1.2.1/flac-gcc43-fixes.patch new file mode 100644 index 0000000000..fdb6f1337e --- /dev/null +++ b/meta/packages/flac/flac-1.2.1/flac-gcc43-fixes.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | # Acquired from OpenEmbedded | ||
2 | # Fix no declaration of memcmp() | ||
3 | |||
4 | diff -urN flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp | ||
5 | --- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp 2010-06-23 15:06:29.159481339 +0800 | ||
6 | +++ flac-1.2.1/examples/cpp/encode/file/main.cpp 2010-06-23 15:06:46.233384883 +0800 | ||
7 | @@ -30,6 +30,7 @@ | ||
8 | |||
9 | #include <stdio.h> | ||
10 | #include <stdlib.h> | ||
11 | +#include <string.h> | ||
12 | #include "FLAC++/metadata.h" | ||
13 | #include "FLAC++/encoder.h" | ||
14 | |||
diff --git a/meta/packages/flac/flac-1.1.2/xmms.m4 b/meta/packages/flac/flac-1.2.1/xmms.m4 index 6d1489bf19..5e250cdd38 100644 --- a/meta/packages/flac/flac-1.1.2/xmms.m4 +++ b/meta/packages/flac/flac-1.2.1/xmms.m4 | |||
@@ -1,5 +1,6 @@ | |||
1 | # CFLAGS and library paths for XMMS | 1 | # CFLAGS and library paths for XMMS |
2 | # written 15 December 1999 by Ben Gertzfield <che@debian.org> | 2 | # written 15 December 1999 by Ben Gertzfield <che@debian.org> |
3 | # Acquired from OpenEmbedded | ||
3 | 4 | ||
4 | dnl Usage: | 5 | dnl Usage: |
5 | dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) | 6 | dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) |
diff --git a/meta/packages/flac/flac_1.1.2.bb b/meta/packages/flac/flac_1.2.1.bb index 78f29fbca3..8459201ee7 100644 --- a/meta/packages/flac/flac_1.1.2.bb +++ b/meta/packages/flac/flac_1.2.1.bb | |||
@@ -2,10 +2,11 @@ DESCRIPTION = "FLAC is a Free Lossless Audio Codec." | |||
2 | LICENSE = "BSD GPL" | 2 | LICENSE = "BSD GPL" |
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | DEPENDS = "libogg" | 4 | DEPENDS = "libogg" |
5 | PR = "r6" | 5 | PR = "r0" |
6 | 6 | ||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \ | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \ |
8 | file://disable-xmms-plugin.patch;patch=1 \ | 8 | file://disable-xmms-plugin.patch;patch=1 \ |
9 | file://flac-gcc43-fixes.patch;patch=1 \ | ||
9 | file://xmms.m4" | 10 | file://xmms.m4" |
10 | 11 | ||
11 | S = "${WORKDIR}/flac-${PV}" | 12 | S = "${WORKDIR}/flac-${PV}" |