cdparanoia: created svn recipe
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Mon, 2 Nov 2009 16:16:08 +0000 (17:16 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Mon, 2 Nov 2009 16:16:08 +0000 (17:16 +0100)
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
recipes/cdparanoia/cdparanoia_svn.bb [new file with mode: 0644]

index 2bbd1dc..f7d78ec 100644 (file)
@@ -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 (file)
index 0000000..d3358a6
--- /dev/null
@@ -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}
+}