summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2005-07-01 20:47:55 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-01 20:47:55 +0000
commitc0c13ed4c933845dc25fdb387774da8f476875aa (patch)
tree98313fa216cb720245d054a6692839d081bfc21b /packages
parent49f3db13f5b0ce0db3f9e0f6430d947471f65751 (diff)
Add a set of packages for sound support in maemo images.
Diffstat (limited to 'packages')
-rw-r--r--packages/maemo/audiofile_0.2.6-3osso4.bb26
-rw-r--r--packages/maemo/osso-dsp-headers_0.1.bb21
-rw-r--r--packages/maemo/osso-sounds_0.3-1.bb31
3 files changed, 78 insertions, 0 deletions
diff --git a/packages/maemo/audiofile_0.2.6-3osso4.bb b/packages/maemo/audiofile_0.2.6-3osso4.bb
new file mode 100644
index 0000000000..46c1b701cb
--- /dev/null
+++ b/packages/maemo/audiofile_0.2.6-3osso4.bb
@@ -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
index 0000000000..41e4fe87ea
--- /dev/null
+++ b/packages/maemo/osso-dsp-headers_0.1.bb
@@ -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
index 0000000000..588c3139fd
--- /dev/null
+++ b/packages/maemo/osso-sounds_0.3-1.bb
@@ -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
+}