1 SUMMARY = "AM/FM Radio QML plugin (for RTL2832U hardware)"
2 DESCRIPTION = "This provides a simple QML plugin able to detect and use \
3 radio hardware, most notably RTL2832U chipsets (although it can easily \
4 be extended). Among other things, it provides generic APIs to display \
5 status, switch between AM/FM mode, choose frequency, mute sound..."
6 HOMEPAGE = "https://github.com/iotbzh/qml_radio_plugin"
9 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
10 file://qml_radio.cpp;endline=16;md5=10a65c128e3a6cff2a61bb38556ceb04"
12 DEPENDS = "qtbase-native qtdeclarative rtl-sdr pulseaudio alsa-lib"
13 RDEPENDS_${PN}-examples = "qtdeclarative-tools qtquickcontrols-qmlplugins"
15 SRC_URI = "git://github.com/iotbzh/qml_radio_plugin"
16 SRCREV = "36e6bbaaa6637abab344d38d8a0c4794fa42fb03"
19 inherit autotools pkgconfig
21 EXTRA_OECONF = "--with-moc-dir=${STAGING_BINDIR_NATIVE}/qt5"
23 QML_LIBDIR = "${libdir}/qt5/qml"
26 # Remove .la files for loadable module
27 rm -f ${D}/${QML_LIBDIR}/radio/*.la
29 install -d ${D}/${datadir}/qt5/examples/radio
30 install -m 0644 ${S}/radio.qml ${D}/${datadir}/qt5/examples/radio
33 PACKAGES += "${PN}-examples"
35 FILES_${PN} += "${QML_LIBDIR}/radio/*.so ${QML_LIBDIR}/radio/qmldir"
36 FILES_${PN}-dbg += "${QML_LIBDIR}/radio/.debug"
37 FILES_${PN}-examples += "${datadir}"