Add a set of packages for sound support in maemo images.
authorFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 1 Jul 2005 20:47:55 +0000 (20:47 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 1 Jul 2005 20:47:55 +0000 (20:47 +0000)
packages/maemo/audiofile_0.2.6-3osso4.bb [new file with mode: 0644]
packages/maemo/osso-dsp-headers_0.1.bb [new file with mode: 0644]
packages/maemo/osso-sounds_0.3-1.bb [new file with mode: 0644]

diff --git a/packages/maemo/audiofile_0.2.6-3osso4.bb b/packages/maemo/audiofile_0.2.6-3osso4.bb
new file mode 100644 (file)
index 0000000..46c1b70
--- /dev/null
@@ -0,0 +1,26 @@
+DEFAULT_PREFERENCE = "-1"
+PR = "r0"
+SECTION = "libs"
+LICENSE = "LGPL GPL"
+DESCRIPTION = "The Audio File Library provides a uniform and elegant \
+API for accessing a variety of audio file formats, such as AIFF/AIFF-C, \
+WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual \
+Research, Amiga IFF/8SVX, and NIST SPHERE." 
+
+PACKAGES += "${PN}-bin"
+FILES_${PN} = "${libdir}/libaudiofile*.so.*"
+FILES_${PN}-dev += "${bindir}/*-config"
+FILES_${PN}-bin += "${bindir}"
+RPROVIDES_${PN} += "audiofile"
+
+SRC_URI = "http://stage.maemo.org/pool/maemo/ossw/source/a/${PN}/${PN}_${PV}.tar.gz"
+
+S = ${WORKDIR}/${PN}-0.2.6
+
+inherit autotools pkgconfig binconfig
+
+do_stage () {
+       install -m 0644 libaudiofile/audiofile.h libaudiofile/aupvlist.h libaudiofile/af_vfs.h ${STAGING_INCDIR}/
+       oe_libinstall -C libaudiofile libaudiofile ${STAGING_LIBDIR}
+       install -m 0644 audiofile.m4 ${STAGING_DATADIR}/aclocal/
+}
diff --git a/packages/maemo/osso-dsp-headers_0.1.bb b/packages/maemo/osso-dsp-headers_0.1.bb
new file mode 100644 (file)
index 0000000..41e4fe8
--- /dev/null
@@ -0,0 +1,21 @@
+PR         = "r0"
+LICENSE    = "GPL"
+MAINTAINER = "Florian Boor <florian@kernelconcepts.de>"
+
+DEPENDS = ""
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.orig.tar.gz"
+
+inherit autotools pkgconfig
+
+headers = "a_igeq.h amrnb_socket_node.h audio_socket_node.h  pcm_socket_node.h \
+           a_imumdrc.h amrwb_socket_node.h interface_common.h video_socket_node.h \
+           aac_socket_node.h audio_pp_socket_node.h mp3_socket_node.h"
+
+do_stage () {
+
+       install -d ${STAGING_INCDIR}/dsp
+       for h in ${headers}; do
+                install -m 0644 ${S}/include/dsp/$h ${STAGING_INCDIR}/dsp/$h
+        done
+}
\ No newline at end of file
diff --git a/packages/maemo/osso-sounds_0.3-1.bb b/packages/maemo/osso-sounds_0.3-1.bb
new file mode 100644 (file)
index 0000000..588c313
--- /dev/null
@@ -0,0 +1,31 @@
+PR         = "r0"
+LICENSE    = "GPL"
+MAINTAINER = "Florian Boor <florian@kernelconcepts.de>"
+
+DEPENDS = "audiofile"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz"
+
+S = ${WORKDIR}/${PN}-0.3
+
+datafiles = "game-chess_check.wav ui-charging_started.wav game-chess_checkmate.wav \
+             ui-clock_alarm.mp3 game-chess_illegal_move.wav ui-confirmation_note.wav \
+             game-chess_piece_capture.wav ui-connection_lost.wav \
+             game-chess_successful_movement.wav ui-default_beep.wav \
+             game-chess_successful_selection.wav ui-general_warning.wav \
+             game-chess_unsuccesful_selection.wav ui-information_note.wav \
+             game-mahjong_correct_combination.wav    ui-key_press.wav \
+             game-mahjong_hint_usage.wav             ui-new_email.wav \
+             game-mahjong_incorrect_combination.wav  ui-operation_ready.wav \
+             game-mahjong_incorrect_selection.wav    ui-pen_down.wav \
+             game-mahjong_shuffle_usage.wav          ui-recharge_battery.wav \
+             game-mahjong_successful_selection.wav   ui-shutdown.wav \
+             game-mahjong_undo_usage.wav             ui-wake_up_tune.wav \
+             ui-battery_low.wav                      ui-wrong_charger.wav"
+
+do_install () {
+       install -d ${D}/${datadir}/sounds
+       for h in ${datafiles}; do
+               install -m 0644 ${S}/usr/share/sounds/$h ${D}/${datadir}/sounds/$h
+       done
+}