Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Heidelberg <markus.heidelberg@web.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/7 v2] package: add liboil package
Date: Tue, 25 Nov 2008 08:27:15 +0100	[thread overview]
Message-ID: <200811250827.15650.markus.heidelberg@web.de> (raw)
In-Reply-To: <200811190249.29428.markus.heidelberg@web.de>

Liboil is a library of simple functions that are optimized for various
CPUs. It is required by various GStreamer plugins.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
"select BR2_PACKAGE_LIBGLIB2" was missing in the previous patch.

 package/Config.in        |    1 +
 package/liboil/Config.in |    7 +++++++
 package/liboil/liboil.mk |   34 ++++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 0 deletions(-)
 create mode 100644 package/liboil/Config.in
 create mode 100644 package/liboil/liboil.mk

diff --git a/package/Config.in b/package/Config.in
index 2e842fb..23d3238 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -78,6 +78,7 @@ source "package/libgcrypt/Config.in"
 source "package/libgpg-error/Config.in"
 source "package/libiconv/Config.in"
 source "package/liblockfile/Config.in"
+source "package/liboil/Config.in"
 source "package/libsysfs/Config.in"
 source "package/lockfile-progs/Config.in"
 source "package/logrotate/Config.in"
diff --git a/package/liboil/Config.in b/package/liboil/Config.in
new file mode 100644
index 0000000..286c52c
--- /dev/null
+++ b/package/liboil/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBOIL
+	bool "liboil"
+	select BR2_PACKAGE_LIBGLIB2
+	help
+	  Library of simple functions that are optimized for various CPUs.
+
+	  http://liboil.freedesktop.org/
diff --git a/package/liboil/liboil.mk b/package/liboil/liboil.mk
new file mode 100644
index 0000000..092c83f
--- /dev/null
+++ b/package/liboil/liboil.mk
@@ -0,0 +1,34 @@
+#############################################################
+#
+# liboil
+#
+#############################################################
+LIBOIL_VERSION = 0.3.15
+LIBOIL_SOURCE = liboil-$(LIBOIL_VERSION).tar.gz
+LIBOIL_SITE = http://liboil.freedesktop.org/download
+LIBOIL_AUTORECONF = NO
+LIBOIL_INSTALL_STAGING = YES
+LIBOIL_INSTALL_TARGET = YES
+
+# Checking if unaligned memory access works correctly cannot be done when cross
+# compiling. For the following architectures there is no information available
+# in the configure script.
+ifeq ($(BR2_avr32),y)
+LIBOIL_CONF_ENV = as_cv_unaligned_access=no
+endif
+ifeq ($(BR2_cris),y)
+LIBOIL_CONF_ENV = as_cv_unaligned_access=yes
+endif
+ifeq ($(BR2_nios2),y)
+LIBOIL_CONF_ENV = as_cv_unaligned_access=no
+endif
+ifeq ($(BR2_s390),y)
+LIBOIL_CONF_ENV = as_cv_unaligned_access=yes
+endif
+ifeq ($(BR2_x86_64),y)
+LIBOIL_CONF_ENV = as_cv_unaligned_access=yes
+endif
+
+LIBOIL_DEPENDENCIES = uclibc libglib2
+
+$(eval $(call AUTOTARGETS,package,liboil))
-- 
1.6.0.4.774.g05773

  reply	other threads:[~2008-11-25  7:27 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19  1:44 [Buildroot] [PATCH 0/7] add Phonon support to qtopia4 Markus Heidelberg
2008-11-19  1:49 ` [Buildroot] [PATCH 1/7] package: add liboil package Markus Heidelberg
2008-11-25  7:27   ` Markus Heidelberg [this message]
2008-12-02 22:51     ` [Buildroot] [PATCH 1/7 v2] " Thomas Petazzoni
2008-12-03  6:15       ` Hans-Christian Egtvedt
2008-12-03  9:06   ` [Buildroot] [PATCH 1/7] " Thomas Petazzoni
2008-11-19  1:50 ` [Buildroot] [PATCH 2/7] package/multimedia: add libtheora package Markus Heidelberg
2008-11-19  1:50 ` [Buildroot] [PATCH 3/7] package/multimedia: add gstreamer package Markus Heidelberg
2008-11-19  1:51 ` [Buildroot] [PATCH 4/7] package/multimedia: add gst-plugins-base package Markus Heidelberg
2008-11-19  1:52 ` [Buildroot] [PATCH 5/7] package/multimedia: add gst-plugins-good package Markus Heidelberg
2008-11-19  1:52 ` [Buildroot] [PATCH 6/7] package/multimedia: add gst-plugins-ugly package Markus Heidelberg
2008-11-19  1:53 ` [Buildroot] [PATCH 7/7] qtopia4: add Phonon support Markus Heidelberg
2008-11-25  7:25 ` [Buildroot] [PATCH 0/7] add Phonon support to qtopia4 Markus Heidelberg
2008-11-25  7:27   ` Hans-Christian Egtvedt
2008-11-25  7:33     ` Markus Heidelberg
2008-12-08 18:03       ` Hans-Christian Egtvedt
2008-12-08 22:00         ` Markus Heidelberg
2008-12-09  6:02           ` Hans-Christian Egtvedt
2008-12-09 10:34             ` Markus Heidelberg
2008-12-09 10:45               ` Hans-Christian Egtvedt
2008-12-09 13:34                 ` Thiago A. Corrêa
2008-12-09 13:58                   ` Hans-Christian Egtvedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811250827.15650.markus.heidelberg@web.de \
    --to=markus.heidelberg@web.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox