Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Marko Lindqvist <cazfi74@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] libpng: split recipe to libpng.inc and libpng_1.2.50.bb
Date: Wed,  5 Dec 2012 22:40:32 +0200	[thread overview]
Message-ID: <1354740033-18500-2-git-send-email-cazfi74@gmail.com> (raw)
In-Reply-To: <1354740033-18500-1-git-send-email-cazfi74@gmail.com>

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 meta/recipes-multimedia/libpng/libpng.inc       |   17 +++++++++++++++++
 meta/recipes-multimedia/libpng/libpng_1.2.50.bb |   22 ++++++----------------
 2 files changed, 23 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-multimedia/libpng/libpng.inc

diff --git a/meta/recipes-multimedia/libpng/libpng.inc b/meta/recipes-multimedia/libpng/libpng.inc
new file mode 100644
index 0000000..68b325a
--- /dev/null
+++ b/meta/recipes-multimedia/libpng/libpng.inc
@@ -0,0 +1,17 @@
+SUMMARY = "PNG Library"
+DESCRIPTION = "PNG Library"
+HOMEPAGE = "http://www.libpng.org/"
+SECTION = "libs"
+LICENSE = "Libpng"
+DEPENDS = "zlib"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${PNV}/${PV}/libpng-${PV}.tar.xz"
+
+inherit autotools binconfig pkgconfig
+
+PACKAGES =+ "${PN}${PNV}"
+
+FILES_${PN}${PNV} = "${libdir}/libpng${PNV}${SOLIBS}"
+RPROVIDES_${PN}-dev += "${PN}${PNV}-dev"
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-multimedia/libpng/libpng_1.2.50.bb b/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
index 62989bb..7627e3a 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
@@ -1,23 +1,13 @@
-SUMMARY = "PNG Library"
-DESCRIPTION = "PNG Library"
-HOMEPAGE = "http://www.libpng.org/"
-SECTION = "libs"
-LICENSE = "Libpng"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c3d807a85c09ebdff087f18b4969ff96 \
-                    file://png.h;beginline=310;endline=424;md5=b87b5e9252a3e14808a27b92912d268d"
-DEPENDS = "zlib"
+PNV="12"
+
+require libpng.inc
+
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c3d807a85c09ebdff087f18b4969ff96 \
+                    file://png.h;beginline=310;endline=424;md5=b87b5e9252a3e14808a27b92912d268d"
 
 SRC_URI[md5sum] = "a3e00fccbfe356174ab515b5c00641c7"
 SRC_URI[sha256sum] = "4724f81f8c92ac7f360ad1fbf173396ea7c535923424db9fbaff07bfd9d8e8e7"
 
 inherit autotools binconfig pkgconfig
-
-PACKAGES =+ "${PN}12"
-
-FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}"
-RPROVIDES_${PN}-dev += "${PN}12-dev"
-
-BBCLASSEXTEND = "native"
-- 
1.7.10.4




  reply	other threads:[~2012-12-05 21:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 20:40 libpng-1.5.13 Marko Lindqvist
2012-12-05 20:40 ` Marko Lindqvist [this message]
2012-12-05 20:40   ` [PATCH 2/2] libpng: add 1.5.13 recipe Marko Lindqvist
2012-12-06 18:26 ` libpng-1.5.13 Saul Wold
2012-12-07 13:30   ` libpng-1.5.13 Marko Lindqvist
2012-12-08 22:43   ` libpng-1.5.13 Scott Garman

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=1354740033-18500-2-git-send-email-cazfi74@gmail.com \
    --to=cazfi74@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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