summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
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/fic-gta01/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-states_0.0.0.bb13
10 files changed, 19 insertions, 20 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/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 28c40b3fea..0000000000
--- a/packages/alsa/alsa-states_0.0.0.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-DESCRIPTION = "Machine specific alsa state files"
-SECTION = "base"
-LICENSE = "MIT"
-PR = "r0"
-
-SRC_URI = "file://*.state"
-
-do_install () {
- install -d ${D}${sysconfdir}/alsa
- install -m 0644 ${WORKDIR}/*.state ${D}${sysconfdir}/alsa
-}
-
-FILES_${PN} += "${sysconfdir}/alsa/*"