Patchwork [1/1] libsndfile: New recipe

login
register
mail settings
Submitter Kim Bøndergaard Poulsen
Date June 25, 2013, 7:03 a.m.
Message ID <4014368E77617E44944113A4A656BD6836E286ED@VMPREVAS2.prevas.se>
Download mbox | patch
Permalink /patch/254043/
State Rejected
Delegated to: Christian Sørensen
Headers show

Comments

Kim Bøndergaard Poulsen - June 25, 2013, 7:03 a.m.
OK - trying again:

Commit still on remote as:
commit 7e7b0a317af8501a90e449829cfa070303e7e2ee
Author: Kim Bøndergaard <kibo@prevas.dk>
Date:   Tue Jun 25 07:00:43 2013 +0000

    libsndfile: New recipe

--
1.8.0.3

Patch

diff --git a/recipes/libsndfile/libsndfile_1.0.25.oe b/recipes/libsndfile/libsndfil
new file mode 100644
index 0000000..44d7fc4
--- /dev/null
+++ b/recipes/libsndfile/libsndfile_1.0.25.oe
@@ -0,0 +1,32 @@ 
+DESCRIPTION = "libsndfile"
+HOMEPAGE = "http://www.mega-nerd.com/libsndfile/"
+LICENSE = "LGPLv2"
+
+inherit c c++ autotools pkgconfig library auto-package-utils
+
+DEPENDS = "libm"
+
+RECIPE_TYPES = "machine native sdk"
+EXTRA_OECONF += "--disable-sqlite --disable-external-libs"
+
+SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz"
+
+AUTO_PACKAGE_UTILS = " \
+       sndfile-cmp     \
+       sndfile-deinterleave    \
+       sndfile-metadata-get    \
+       sndfile-regtest \
+       sndfile-concat  \
+       sndfile-info    \
+       sndfile-metadata-set    \
+       sndfile-salvage \
+       sndfile-convert \
+       sndfile-interleave      \
+       sndfile-play    \
+"
+
+AUTO_PACKAGE_UTILS_RDEPENDS += "${PN}"
+
+PACKAGES += "${PN}-all"
+RDEPENDS_${PN}-all = "${AUTO_PACKAGE_UTILS_PACKAGES}"
+
diff --git a/recipes/libsndfile/libsndfile_1.0.25.oe.sig b/recipes/libsndfile/libsn
new file mode 100644
index 0000000..af8acf0
--- /dev/null
+++ b/recipes/libsndfile/libsndfile_1.0.25.oe.sig
@@ -0,0 +1 @@ 
+e95d9fca57f7ddace9f197071cbcfb92fa16748e  libsndfile-1.0.25.tar.gz

 
________________________________________
From: Christian Bräuner Sørensen
Sent: Monday, June 24, 2013 4:13 PM
To: Kim Bøndergaard Poulsen; dev@oe-lite.org
Subject: RE: [PATCH 1/1] libsndfile: New recipe

Hi again

The package contains 10 different executable files. None of the executable files depends on each other, but all seem to depend on libsndfile, so please split them using AUTO_PACKAGE_UTILS using something like:
AUTO_PACKAGE_UTILS = "sndfile-cmp ..."
AUTO_PACKAGE_UTILS_RDEPENDS += "libsndfile"

/Christian
________________________________________
From: Kim Bøndergaard Poulsen
Sent: 24 June 2013 15:56
To: Christian Bräuner Sørensen; dev@oe-lite.org
Subject: RE: [PATCH 1/1] libsndfile: New recipe

No you are right.

Remote repository updated with the following commit:
 git show 4fa582bd6fe44895466dd354df918d43fb7aa8a4
commit 4fa582bd6fe44895466dd354df918d43fb7aa8a4
Author: Kim Bøndergaard <kibo@prevas.dk>
Date:   Mon Jun 24 13:49:14 2013 +0000

    libsndfile: New recipe

diff --git a/recipes/libsndfile/libsndfile_1.0.25.oe b/recipes/libsndfile/libsndfile_1.0.25
new file mode 100644
index 0000000..9055a46
--- /dev/null
+++ b/recipes/libsndfile/libsndfile_1.0.25.oe
@@ -0,0 +1,14 @@ 
+DESCRIPTION = "libsndfile"
+HOMEPAGE = "http://www.mega-nerd.com/libsndfile/"
+LICENSE = "LGPLv2"
+
+inherit c c++ autotools pkgconfig library
+
+DEPENDS = "libm"
+
+RECIPE_TYPES = "machine"
+EXTRA_OECONF += "--disable-sqlite --disable-external-libs"
+
+SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz"
+
+FILES_${PN} += "/usr/bin/sndfile-*"
diff --git a/recipes/libsndfile/libsndfile_1.0.25.oe.sig b/recipes/libsndfile/libsndfile_1.
new file mode 100644
index 0000000..af8acf0
--- /dev/null
+++ b/recipes/libsndfile/libsndfile_1.0.25.oe.sig
@@ -0,0 +1 @@ 
+e95d9fca57f7ddace9f197071cbcfb92fa16748e  libsndfile-1.0.25.tar.gz


________________________________________
From: Christian Bräuner Sørensen
Sent: Monday, June 24, 2013 3:34 PM
To: Kim Bøndergaard Poulsen; dev@oe-lite.org
Cc: Kim Bøndergaard Poulsen
Subject: RE: [PATCH 1/1] libsndfile: New recipe

Hi

Do you need the native and sdk versions of the recipe?
If so; for what?

/Christian
________________________________________
From: dev-bounces@oe-lite.org [dev-bounces@oe-lite.org] on behalf of Kim Bøndergaard [kibo@prevas.dk]
Sent: 24 June 2013 14:42
To: dev@oe-lite.org
Cc: Kim Bøndergaard Poulsen
Subject: [PATCH 1/1] libsndfile: New recipe

---
 recipes/libsndfile/libsndfile_1.0.25.oe     | 14 ++++++++++++++
 recipes/libsndfile/libsndfile_1.0.25.oe.sig |  1 +
 2 files changed, 15 insertions(+)
 create mode 100644 recipes/libsndfile/libsndfile_1.0.25.oe
 create mode 100644 recipes/libsndfile/libsndfile_1.0.25.oe.sig

diff --git a/recipes/libsndfile/libsndfile_1.0.25.oe b/recipes/libsndfile/libsndfile_1.0.25.oe
new file mode 100644
index 0000000..ecf7d8c
--- /dev/null
+++ b/recipes/libsndfile/libsndfile_1.0.25.oe
@@ -0,0 +1,14 @@ 
+DESCRIPTION = "libsndfile"
+HOMEPAGE = "http://www.mega-nerd.com/libsndfile/"
+LICENSE = "LGPLv2"
+
+inherit c c++ autotools pkgconfig library
+
+DEPENDS = "libm"
+
+RECIPE_TYPES = "machine native sdk"
+EXTRA_OECONF += "--disable-sqlite --disable-external-libs"
+
+SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz"
+
+FILES_${PN} += "/usr/bin/sndfile-*"
diff --git a/recipes/libsndfile/libsndfile_1.0.25.oe.sig b/recipes/libsndfile/libsndfile_1.0.25.oe.sig
new file mode 100644
index 0000000..af8acf0
--- /dev/null
+++ b/recipes/libsndfile/libsndfile_1.0.25.oe.sig
@@ -0,0 +1 @@ 
+e95d9fca57f7ddace9f197071cbcfb92fa16748e  libsndfile-1.0.25.tar.gz