[oe-commits] Michael Lippautz : libexif: Switched to .inc file based recipe.

git version control git at git.openembedded.org
Sun May 9 19:22:32 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7c48de99aedfb89454a4b2fa7870544e4a22df24
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7c48de99aedfb89454a4b2fa7870544e4a22df24

Author: Michael Lippautz <michael.lippautz at gmail.com>
Date:   Sun May  9 21:21:39 2010 +0200

libexif: Switched to .inc file based recipe.

* Added gettext as build dep. Thanks to M.v.Khurja <vonkhurja at gmx.net>
  for reporting.

Signed-off-by: Michael Lippautz <michael.lippautz at gmail.com>

---

 recipes/libexif/libexif.inc       |   16 ++++++++++++++++
 recipes/libexif/libexif_0.6.16.bb |   19 ++-----------------
 recipes/libexif/libexif_0.6.17.bb |   19 ++-----------------
 3 files changed, 20 insertions(+), 34 deletions(-)

diff --git a/recipes/libexif/libexif.inc b/recipes/libexif/libexif.inc
new file mode 100644
index 0000000..9284d19
--- /dev/null
+++ b/recipes/libexif/libexif.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Library to read the extended image information (EXIF) from JPEG pictures"
+HOMEPAGE = "http://sourceforge.net/projects/libexif"
+SECTION = "libs"
+LICENSE = "LGPL"
+DEPENDS = "gettext"
+INC_PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libexif/libexif-${PV}.tar.bz2"
+
+inherit autotools 
+
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
+do_configure_append() {
+    sed -i s:doc\ binary:binary:g Makefile
+}
diff --git a/recipes/libexif/libexif_0.6.16.bb b/recipes/libexif/libexif_0.6.16.bb
index 20ebc71..3fa9fd5 100644
--- a/recipes/libexif/libexif_0.6.16.bb
+++ b/recipes/libexif/libexif_0.6.16.bb
@@ -1,21 +1,6 @@
-DESCRIPTION = "Library to read the extended image information (EXIF) from JPEG pictures"
-HOMEPAGE = "http://sourceforge.net/projects/libexif"
-SECTION = "libs"
-LICENSE = "LGPL"
+require libexif.inc
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/libexif/libexif-${PV}.tar.bz2"
-
-inherit autotools 
-
-do_configure_append() {
-	sed -i s:doc\ binary:binary:g Makefile
-}
-
-AUTOTOOLS_STAGE_PKGCONFIG = "1"
-
-do_stage() {
-	autotools_stage_all
-}
+PR = "${INC_PR}.0"
 
 SRC_URI[md5sum] = "deee153b1ded5a944ea05d041d959eca"
 SRC_URI[sha256sum] = "db6885d5e40e3a273ff8bb9708ab739c8ace3c5abdd75509eec8ea31a31aac43"
diff --git a/recipes/libexif/libexif_0.6.17.bb b/recipes/libexif/libexif_0.6.17.bb
index 5b52092..4acd35a 100644
--- a/recipes/libexif/libexif_0.6.17.bb
+++ b/recipes/libexif/libexif_0.6.17.bb
@@ -1,21 +1,6 @@
-DESCRIPTION = "Library to read the extended image information (EXIF) from JPEG pictures"
-HOMEPAGE = "http://sourceforge.net/projects/libexif"
-SECTION = "libs"
-LICENSE = "LGPL"
+require libexif.inc
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/libexif/libexif-${PV}.tar.bz2"
-
-inherit autotools 
-
-do_configure_append() {
-	sed -i s:doc\ binary:binary:g Makefile
-}
-
-AUTOTOOLS_STAGE_PKGCONFIG = "1"
-
-do_stage() {
-	autotools_stage_all
-}
+PR = "${INC_PR}.1"
 
 SRC_URI[md5sum] = "f7cf4e623a48c9a3b13f7f95f0a41015"
 SRC_URI[sha256sum] = "dceb9355b148a8ee6aa96e3dff82a06c066c81e6ab18c190c946ed3b30fc7353"





More information about the Openembedded-commits mailing list