Patchwork Add native recipe type to alsa, libogg, libtheora, libvorbis and speex

login
register
mail settings
Submitter Yann Diorcet
Date Oct. 21, 2012, 2:21 p.m.
Message ID <1350829314-7513-1-git-send-email-diorcet.yann@gmail.com>
Download mbox | patch
Permalink /patch/193000/
State Rejected
Delegated to: Esben Haabendal
Headers show

Comments

Yann Diorcet - Oct. 21, 2012, 2:21 p.m.
From: Yann Diorcet <yann.diorcet@belledonne-communications.com>

Add native in RECIPE_TYPES.
Usefull when using oe-lite for compile package for build machine.
---
 recipes/alsa/alsa-lib_1.0.24.1.oe    |    2 ++
 recipes/alsa/alsa-utils_1.0.24.2.oe  |    2 ++
 recipes/libogg/libogg_1.3.0.oe       |    2 ++
 recipes/libtheora/libtheora_1.1.1.oe |    2 ++
 recipes/libvorbis/libvorbis_1.3.2.oe |    2 ++
 recipes/speex/speex.inc              |    2 ++
 6 files changed, 12 insertions(+)
Esben Haabendal - March 5, 2013, 8:06 a.m.
Yann Diorcet <diorcet.yann@gmail.com> writes:

> From: Yann Diorcet <yann.diorcet@belledonne-communications.com>
>
> Add native in RECIPE_TYPES.
> Usefull when using oe-lite for compile package for build machine.

As discussed on IRC (AFAIR), native builds should not be used for
building packages for anything else than internal OE-lite usage.  For
building packages for darwin, set MACHINE to the desired arch and build
the recipes as machine.

/Esben

Patch

diff --git a/recipes/alsa/alsa-lib_1.0.24.1.oe b/recipes/alsa/alsa-lib_1.0.24.1.oe
index 9351436..346bab5 100644
--- a/recipes/alsa/alsa-lib_1.0.24.1.oe
+++ b/recipes/alsa/alsa-lib_1.0.24.1.oe
@@ -3,6 +3,8 @@  HOMEPAGE = "http://www.alsa-project.org"
 BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
 LICENSE = "LGPL-2.1 LGPL-2.0+"
 
+RECIPE_TYPES = "machine native"
+
 DEPENDS += "libdl \
 			libpthread \
 			libm"
diff --git a/recipes/alsa/alsa-utils_1.0.24.2.oe b/recipes/alsa/alsa-utils_1.0.24.2.oe
index f4ead7d..83a0970 100644
--- a/recipes/alsa/alsa-utils_1.0.24.2.oe
+++ b/recipes/alsa/alsa-utils_1.0.24.2.oe
@@ -5,6 +5,8 @@  SECTION = "console/utils"
 LICENSE = "GPL-2.0+"
 DEPENDS = "libasound libpthread libgcc libdl"
 
+RECIPE_TYPES = "machine native"
+
 SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
            "
 
diff --git a/recipes/libogg/libogg_1.3.0.oe b/recipes/libogg/libogg_1.3.0.oe
index 09e273e..b79f836 100644
--- a/recipes/libogg/libogg_1.3.0.oe
+++ b/recipes/libogg/libogg_1.3.0.oe
@@ -5,6 +5,8 @@  HOMEPAGE = "http://xiph.org/"
 BUGTRACKER = "https://trac.xiph.org/newticket"
 LICENSE = "BSD"
 
+RECIPE_TYPES = "machine native"
+
 inherit autotools-autoreconf pkgconfig library
 
 SRC_URI = "http://downloads.xiph.org/releases/ogg/libogg-${PV}.tar.gz"
diff --git a/recipes/libtheora/libtheora_1.1.1.oe b/recipes/libtheora/libtheora_1.1.1.oe
index f068835..afefb7d 100644
--- a/recipes/libtheora/libtheora_1.1.1.oe
+++ b/recipes/libtheora/libtheora_1.1.1.oe
@@ -3,6 +3,8 @@  HOMEPAGE = "http://xiph.org/"
 BUGTRACKER = "https://trac.xiph.org/newticket"
 LICENSE = "BSD"
 
+RECIPE_TYPES = "machine native"
+
 inherit autotools pkgconfig
 
 SRC_URI = "http://downloads.xiph.org/releases/theora/libtheora-${PV}.tar.bz2"
diff --git a/recipes/libvorbis/libvorbis_1.3.2.oe b/recipes/libvorbis/libvorbis_1.3.2.oe
index f83422e..9aa1113 100644
--- a/recipes/libvorbis/libvorbis_1.3.2.oe
+++ b/recipes/libvorbis/libvorbis_1.3.2.oe
@@ -5,6 +5,8 @@  HOMEPAGE = "http://xiph.org/"
 BUGTRACKER = "https://trac.xiph.org/newticket"
 LICENSE = "BSD"
 
+RECIPE_TYPES = "machine native"
+
 DEPENDS = "libogg \
            libm"
 
diff --git a/recipes/speex/speex.inc b/recipes/speex/speex.inc
index 3227a79..a9b7373 100644
--- a/recipes/speex/speex.inc
+++ b/recipes/speex/speex.inc
@@ -3,6 +3,8 @@  HOMEPAGE = "http://www.speex.org"
 SECTION = "libs"
 LICENSE = "BSD"
 
+RECIPE_TYPES = "machine native"
+
 inherit autotools pkgconfig library
 
 SRC_URI = "http://downloads.xiph.org/releases/speex/speex-${PV}.tar.gz"