diff options
Diffstat (limited to 'meta-oe/recipes-support/libcanberra/libcanberra_0.30-20.bb')
| -rw-r--r-- | meta-oe/recipes-support/libcanberra/libcanberra_0.30-20.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libcanberra/libcanberra_0.30-20.bb b/meta-oe/recipes-support/libcanberra/libcanberra_0.30-20.bb new file mode 100644 index 0000000000..2f10a10931 --- /dev/null +++ b/meta-oe/recipes-support/libcanberra/libcanberra_0.30-20.bb | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | SUMMARY = "Implementation of XDG Sound Theme and Name Specifications" | ||
| 2 | DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops." | ||
| 3 | LICENSE = "LGPL-2.1-or-later" | ||
| 4 | LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
| 5 | file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03" | ||
| 6 | |||
| 7 | DEPENDS = "libtool libvorbis" | ||
| 8 | |||
| 9 | inherit autotools gtk-doc | ||
| 10 | |||
| 11 | SRC_URI = " \ | ||
| 12 | git://salsa.debian.org/gnome-team/libcanberra;protocol=https;branch=debian/latest;tag=debian/${PV} \ | ||
| 13 | file://0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch \ | ||
| 14 | " | ||
| 15 | SRCREV = "47d67f43c58af36143060888fc8e69a9cb0eddea" | ||
| 16 | |||
| 17 | EXTRA_OECONF = "\ | ||
| 18 | --enable-null \ | ||
| 19 | --disable-oss \ | ||
| 20 | --disable-tdb \ | ||
| 21 | --disable-lynx \ | ||
| 22 | --disable-gtk-doc \ | ||
| 23 | " | ||
| 24 | |||
| 25 | PACKAGECONFIG ??= " \ | ||
| 26 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \ | ||
| 27 | ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'gstreamer', '', d)} \ | ||
| 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk3', '', d)} \ | ||
| 29 | " | ||
| 30 | PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib" | ||
| 31 | PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio" | ||
| 32 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer, --disable-gstreamer, gstreamer1.0" | ||
| 33 | PACKAGECONFIG[gtk] = "--enable-gtk, --disable-gtk, gtk+" | ||
| 34 | PACKAGECONFIG[gtk3] = "--enable-gtk3, --disable-gtk3, gtk+3" | ||
| 35 | |||
| 36 | FILES:${PN} += " \ | ||
| 37 | ${systemd_system_unitdir} \ | ||
| 38 | ${libdir}/gtk-2.0 \ | ||
| 39 | ${libdir}/gtk-3.0 \ | ||
| 40 | ${libdir}/gnome-settings-daemon-3.0 \ | ||
| 41 | ${libdir}/libcanberra-0.30 \ | ||
| 42 | ${datadir}/gdm \ | ||
| 43 | ${datadir}/gnome \ | ||
| 44 | " | ||
| 45 | FILES:${PN}-dev += "${datadir}/vala" | ||
| 46 | |||
| 47 | # libcanberra-gtk3-module.so ships a symlink to libcanberra-gtk-module.so | ||
| 48 | INSANE_SKIP:${PN} = "dev-so" | ||
| 49 | |||
| 50 | RRECOMMENDS:${PN} = "sound-theme-freedesktop" | ||
