[oe-commits] Julien 'Ainulindale' Cassignol : alsa-scenarii-shr: Added new recipe.

git version control git at git.openembedded.org
Wed May 27 22:29:37 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: 73882fc926ff77f70e356c76b426f6e27ff61aa6
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=73882fc926ff77f70e356c76b426f6e27ff61aa6

Author: Julien 'Ainulindale' Cassignol <ainulindale at gmail.com>
Date:   Thu May 28 00:27:17 2009 +0200

alsa-scenarii-shr: Added new recipe.

---

 conf/distro/include/shr-autorev.inc  |    2 +-
 recipes/shr/alsa-scenarii-shr_git.bb |   23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/conf/distro/include/shr-autorev.inc b/conf/distro/include/shr-autorev.inc
index 89ce870..af83511 100644
--- a/conf/distro/include/shr-autorev.inc
+++ b/conf/distro/include/shr-autorev.inc
@@ -99,4 +99,4 @@ PREFERRED_VERSION_calc = "0.0.1"
 #pin shr-config due to gnome bug 579803 (requires vala > 0.7.1)
 SRCREV_pn-shr-config = "9b59390d265805b68ea10136fa03fa67713f1275"
 SRCREV_pn-libeflvala = "${AUTOREV}"
-
+SRCREV_pn-alsa-scenarii-shr = "${AUTOREV}"
diff --git a/recipes/shr/alsa-scenarii-shr_git.bb b/recipes/shr/alsa-scenarii-shr_git.bb
new file mode 100644
index 0000000..974825d
--- /dev/null
+++ b/recipes/shr/alsa-scenarii-shr_git.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Package for the different scenarios used by Openmoko"
+SECTION = "openmoko/base"
+PV = "1.0+gitr${SRCREV}"
+PR = "r0"
+
+COMPATIBLE_MACHINE = "(om-gta01|om-gta02|om-3d7k)"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/${PN}/${MACHINE_ARCH}"
+
+do_install() {
+    install -d ${D}${datadir}/shr/scenarii/
+    install -m 644 ${S}/*.state ${D}${datadir}/shr/scenarii/
+    install -d ${D}${sysconfdir}/
+    install -m 644 ${S}/stereoout.state ${D}${sysconfdir}/asound.state
+}
+
+PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
+
+FILES_${PN} += "${datadir}/shr"
+
+CONFFILES_${PN} += "${datadir}/shr/scenarii/*"





More information about the Openembedded-commits mailing list