summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-07-11 22:49:52 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-07-11 22:49:52 +0000
commit955ee67fb9e48d28ab8d95f2df6cea1e9ef1e33b (patch)
treea99a04ce0cc0845dd27ebb4cb771544ab06335dc /packages
parent45e20ab54578e3d82eb4e43ec7e8a159dfbbf9c5 (diff)
alsa: integrate alsa-states recipe into alsa-state
Diffstat (limited to 'packages')
-rw-r--r--packages/alsa/alsa-state.bb26
-rw-r--r--packages/alsa/alsa-state/fic-gta01/capturehandset.state (renamed from packages/alsa/alsa-states/fic-gta01/capturehandset.state)0
-rw-r--r--packages/alsa/alsa-state/fic-gta01/captureheadset.state (renamed from packages/alsa/alsa-states/fic-gta01/captureheadset.state)0
-rw-r--r--packages/alsa/alsa-state/fic-gta01/gsmbluetooth.state (renamed from packages/alsa/alsa-states/fic-gta01/gsmbluetooth.state)0
-rw-r--r--packages/alsa/alsa-state/fic-gta01/gsmhandset.state (renamed from packages/alsa/alsa-states/fic-gta01/gsmhandset.state)0
-rw-r--r--packages/alsa/alsa-state/fic-gta01/gsmheadset.state (renamed from packages/alsa/alsa-states/fic-gta01/gsmheadset.state)0
-rw-r--r--packages/alsa/alsa-state/fic-gta01/stereoout.state (renamed from packages/alsa/alsa-states/fic-gta01/stereoout.state)0
-rw-r--r--packages/alsa/alsa-states/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-states/dummy.state0
-rw-r--r--packages/alsa/alsa-states/fic-gta01/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-states_0.0.0.bb14
11 files changed, 19 insertions, 21 deletions
diff --git a/packages/alsa/alsa-state.bb b/packages/alsa/alsa-state.bb
index 495329457c..35c8f5d3d3 100644
--- a/packages/alsa/alsa-state.bb
+++ b/packages/alsa/alsa-state.bb
@@ -9,12 +9,20 @@
DESCRIPTION = "Default ALSA configuration"
LICENSE = "GPL"
-
+RRECOMMENDS_alsa-state = "alsa-states"
PV = "0.0.4"
-PR = "r1"
+PR = "r2"
SRC_URI = "file://asound.state \
- file://alsa-state"
+ file://alsa-state "
+
+SRC_URI_append_fic-gta01 = " \
+ file://capturehandset.state \
+ file://captureheadset.state \
+ file://gsmbluetooth.state \
+ file://gsmhandset.state \
+ file://gsmheadset.state \
+ file://stereoout.state"
inherit update-rc.d
@@ -22,13 +30,17 @@ INITSCRIPT_NAME = "alsa-state"
INITSCRIPT_PARAMS = "defaults 10"
do_install() {
- install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/alsa-state ${D}${sysconfdir}/init.d
- install -m 0644 ${WORKDIR}/asound.state ${D}${sysconfdir}
- install -m 0755 ${WORKDIR}/alsa-state ${D}${sysconfdir}/init.d
+ install -m 0644 ${WORKDIR}/*.state ${D}${sysconfdir}
}
-FILES_${PN} = "${sysconfdir}/*"
+PACKAGES += "alsa-states"
+FILES_${PN} = "${sysconfdir}/init.d"
+FILES_alsa-states = "${sysconfdir}/*.state"
+PACKAGE_ARCH_${PN} = "all"
+PACKAGE_ARCH_alsa-states = "${MACHINE}"
pkg_postinst_${PN}() {
if test -z "$D"
diff --git a/packages/alsa/alsa-states/fic-gta01/capturehandset.state b/packages/alsa/alsa-state/fic-gta01/capturehandset.state
index 4a55f09035..4a55f09035 100644
--- a/packages/alsa/alsa-states/fic-gta01/capturehandset.state
+++ b/packages/alsa/alsa-state/fic-gta01/capturehandset.state
diff --git a/packages/alsa/alsa-states/fic-gta01/captureheadset.state b/packages/alsa/alsa-state/fic-gta01/captureheadset.state
index 3a27323b25..3a27323b25 100644
--- a/packages/alsa/alsa-states/fic-gta01/captureheadset.state
+++ b/packages/alsa/alsa-state/fic-gta01/captureheadset.state
diff --git a/packages/alsa/alsa-states/fic-gta01/gsmbluetooth.state b/packages/alsa/alsa-state/fic-gta01/gsmbluetooth.state
index a0c0c95ea6..a0c0c95ea6 100644
--- a/packages/alsa/alsa-states/fic-gta01/gsmbluetooth.state
+++ b/packages/alsa/alsa-state/fic-gta01/gsmbluetooth.state
diff --git a/packages/alsa/alsa-states/fic-gta01/gsmhandset.state b/packages/alsa/alsa-state/fic-gta01/gsmhandset.state
index a83141fcbb..a83141fcbb 100644
--- a/packages/alsa/alsa-states/fic-gta01/gsmhandset.state
+++ b/packages/alsa/alsa-state/fic-gta01/gsmhandset.state
diff --git a/packages/alsa/alsa-states/fic-gta01/gsmheadset.state b/packages/alsa/alsa-state/fic-gta01/gsmheadset.state
index e732b77db8..e732b77db8 100644
--- a/packages/alsa/alsa-states/fic-gta01/gsmheadset.state
+++ b/packages/alsa/alsa-state/fic-gta01/gsmheadset.state
diff --git a/packages/alsa/alsa-states/fic-gta01/stereoout.state b/packages/alsa/alsa-state/fic-gta01/stereoout.state
index c27b78bb27..c27b78bb27 100644
--- a/packages/alsa/alsa-states/fic-gta01/stereoout.state
+++ b/packages/alsa/alsa-state/fic-gta01/stereoout.state
diff --git a/packages/alsa/alsa-states/.mtn2git_empty b/packages/alsa/alsa-states/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/alsa/alsa-states/.mtn2git_empty
+++ /dev/null
diff --git a/packages/alsa/alsa-states/dummy.state b/packages/alsa/alsa-states/dummy.state
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/alsa/alsa-states/dummy.state
+++ /dev/null
diff --git a/packages/alsa/alsa-states/fic-gta01/.mtn2git_empty b/packages/alsa/alsa-states/fic-gta01/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/alsa/alsa-states/fic-gta01/.mtn2git_empty
+++ /dev/null
diff --git a/packages/alsa/alsa-states_0.0.0.bb b/packages/alsa/alsa-states_0.0.0.bb
deleted file mode 100644
index 8bf8f80e21..0000000000
--- a/packages/alsa/alsa-states_0.0.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = "Machine specific alsa state files"
-SECTION = "base"
-LICENSE = "MIT"
-PR = "r1"
-
-SRC_URI = "file://*.state"
-
-do_install () {
- install -d ${D}${sysconfdir}/alsa
- install -m 0644 ${WORKDIR}/*.state ${D}${sysconfdir}/alsa
-}
-
-ALLOW_EMPTY = "1"
-FILES_${PN} += "${sysconfdir}/alsa/*"