mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
Update to 0.29 (latest, 0.30, needs GStreamer 1.0) and refresh the package based on the different recipes in oe-core and meta-oe. Explicitly depend on GTK+ 2 and GTK+ 3, but split those dependencies into different packages. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
56 lines
2.0 KiB
BlitzBasic
56 lines
2.0 KiB
BlitzBasic
SUMMARY = "Implementation of XDG Sound Theme and Name Specifications"
|
|
DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops."
|
|
LICENSE = "LGPLv2.1+"
|
|
LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
|
file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03"
|
|
|
|
DEPENDS = "alsa-lib gstreamer gtk+ gtk+3 libtool libvorbis pulseaudio"
|
|
PR = "r0"
|
|
|
|
inherit autotools
|
|
|
|
SRC_URI = "http://0pointer.de/lennart/projects/${BPN}/${BPN}-${PV}.tar.xz"
|
|
SRC_URI[md5sum] = "2594093a5d61047bd9cc87e955f86df8"
|
|
SRC_URI[sha256sum] = "127a5ef07805856d63758e5180ebfb241d1f80094fd301c287591a15b8cfcd72"
|
|
|
|
EXTRA_OECONF = "\
|
|
--enable-null \
|
|
--enable-alsa \
|
|
--enable-gstreamer \
|
|
--enable-pulse \
|
|
--disable-oss \
|
|
--enable-gtk \
|
|
--enable-gtk3 \
|
|
--disable-tdb \
|
|
--disable-lynx \
|
|
"
|
|
|
|
python populate_packages_prepend() {
|
|
plugindir = d.expand('${libdir}/${P}/')
|
|
do_split_packages(d, plugindir, '^libcanberra-(.*)\.so$', 'libcanberra-%s', '%s support library', extra_depends='' )
|
|
do_split_packages(d, plugindir, '^libcanberra-(.*)\.la$', 'libcanberra-%s', '%s support library', extra_depends='' )
|
|
}
|
|
|
|
PACKAGES =+ "${PN}-gnome ${PN}-gtk2 ${PN}-gtk3 ${PN}-systemd"
|
|
|
|
FILES_${PN} = "${bindir}/ ${libdir}/${BPN}.so.*"
|
|
|
|
FILES_${PN}-dev += "${datadir}/vala/vapi"
|
|
|
|
FILES_${PN}-dbg += "${libdir}/${P}/.debug ${libdir}/gtk-*/modules/.debug"
|
|
|
|
FILES_${PN}-gtk2 = "${libdir}/${BPN}-gtk.so.* \
|
|
${libdir}/gtk-2.0/modules/*.la \
|
|
${libdir}/gtk-2.0/modules/*.so"
|
|
|
|
# -gtk3 ships a symlink to a .so
|
|
INSANE_SKIP_${PN}-gtk3 = "dev-so"
|
|
FILES_${PN}-gtk3 = "${libdir}/${BPN}-gtk3.so.* \
|
|
${libdir}/gtk-3.0/modules/*.la \
|
|
${libdir}/gtk-3.0/modules/*.so"
|
|
|
|
FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/ \
|
|
${datadir}/gdm/ ${datadir}/gnome/"
|
|
|
|
FILES_${PN}-systemd = "${base_libdir}/systemd/system/*.service"
|