diff mbox

[1/1] libsndfile: New recipe

Message ID CFDF955F78BEAB47A018765A600E2BDC36E2C1A2@VMPREVAS2.prevas.se
State Accepted
Delegated to: Christian Sørensen
Headers show

Commit Message

christian.braunersorensen@prevas.dk June 25, 2013, 7:49 a.m. UTC
Hi kim

merged to master. Thanks :)

/Christian
diff mbox

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