[oe-commits] Frans Meulenbroeks : cdparanoia: created svn recipe

git version control git at git.openembedded.org
Wed Nov 4 10:48:29 UTC 2009


Module: openembedded.git
Branch: martin_jansa/xorg-7.5
Commit: f3404090052164f7843dcd5b3190b046e9ff4a25
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f3404090052164f7843dcd5b3190b046e9ff4a25

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Mon Nov  2 17:16:08 2009 +0100

cdparanoia: created svn recipe
the 10.2 version exports a header file with a field called private
g++ 4.3.3 and up fail on that
this problem is resolved in svn

---

 conf/distro/include/sane-srcrevs.inc |    1 +
 recipes/cdparanoia/cdparanoia_svn.bb |   35 ++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index 2bbd1dc..f7d78ec 100644
--- a/conf/distro/include/sane-srcrevs.inc
+++ b/conf/distro/include/sane-srcrevs.inc
@@ -22,6 +22,7 @@ SRCREV_pn-bfin-uclibc ?= "1857"
 SRCREV_pn-bootchart-lite ?= "4"
 SRCREV_pn-bubble-keyboard ?= "194"
 SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c"
+SRCREV_pn-cdparanoia ?= "16684"
 SRCREV_pn-clutter-box2d ?= "3197"
 SRCREV_pn-clutter-cairo ?= "3210"
 SRCREV_pn-clutter-gst ?= "3188"
diff --git a/recipes/cdparanoia/cdparanoia_svn.bb b/recipes/cdparanoia/cdparanoia_svn.bb
new file mode 100644
index 0000000..d3358a6
--- /dev/null
+++ b/recipes/cdparanoia/cdparanoia_svn.bb
@@ -0,0 +1,35 @@
+# cdparanoia OE build file
+# Copyright (C) 2005, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+PR ="r0"
+LICENSE="GPL"
+
+PV = "10.2+svn${SRCREV}"
+
+SRC_URI="svn://svn.xiph.org/trunk;module=cdparanoia;proto=http \
+	 file://fixes10.patch;patch=1 \
+	 file://Makefile.in.patch;patch=1 \
+	 file://interface_Makefile.in.patch;patch=1 \
+	 file://paranoia_Makefile.in.patch;patch=1 "
+
+S="${WORKDIR}/cdparanoia"
+
+PARALLEL_MAKE = ""
+
+inherit autotools
+
+do_install() {
+	oe_runmake BINDIR="${D}/usr/bin" MANDIR="${D}/usr/share/man/" \
+		   INCLUDEDIR="${D}/usr/include/" LIBDIR="${D}/usr/lib" install
+}
+
+do_stage() {
+	install -d ${STAGING_INCDIR} ${STAGING_LIBDIR}
+
+	install -m 0644 paranoia/cdda_paranoia.h ${STAGING_INCDIR}
+	install -m 0644 interface/cdda_interface.h ${STAGING_INCDIR}
+
+	oe_libinstall -C interface libcdda_interface ${STAGING_LIBDIR}
+	oe_libinstall -C paranoia libcdda_paranoia ${STAGING_LIBDIR}
+}





More information about the Openembedded-commits mailing list