Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 1 | SUMMARY = "OpenAL is a cross-platform 3D audio API" |
| 2 | HOMEPAGE = "http://kcat.strangesoft.net/openal.html" |
| 3 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0f159f19f9377e1895fbb477d5a7953e" |
| 5 | |
| 6 | inherit cmake pkgconfig |
| 7 | |
| 8 | DEPENDS = "zlib libsndfile1" |
| 9 | |
| 10 | SRCREV = "d3875f333fb6abe2f39d82caca329414871ae53b" |
| 11 | SRC_URI = "git://github.com/kcat/openal-soft.git;protocol=https;branch=master" |
| 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pipewire pulseaudio', d)}" |
| 16 | PACKAGECONFIG[alsa] = "-DALSOFT_BACKEND_ALSA=ON,-DALSOFT_BACKEND_ALSA=OFF,alsa-lib" |
| 17 | PACKAGECONFIG[oss] = "-DALSOFT_BACKEND_OSS=ON,-DALSOFT_BACKEND_OSS=OFF" |
| 18 | PACKAGECONFIG[pulseaudio] = "-DALSOFT_BACKEND_PULSEAUDIO=ON,-DALSOFT_BACKEND_PULSEAUDIO=OFF,pulseaudio" |
| 19 | PACKAGECONFIG[pipewire] = "-DALSOFT_BACKEND_PIPEWIRE=ON,-DALSOFT_BACKEND_PIPEWIRE=OFF,pipewire" |
| 20 | PACKAGECONFIG[examples] = "-DALSOFT_EXAMPLES=ON,-DALSOFT_EXAMPLES=OFF" |
| 21 | PACKAGECONFIG[sdl2] = "-DALSOFT_BACKEND_SDL2=ON,-DALSOFT_BACKEND_SDL2=OFF,libsdl2 ffmpeg" |
| 22 | |
| 23 | FILES:${PN} += "${datadir}" |