summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt-apps/qmmp_0.6.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-qt/qt-apps/qmmp_0.6.1.bb')
-rw-r--r--meta/recipes-qt/qt-apps/qmmp_0.6.1.bb54
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.6.1.bb b/meta/recipes-qt/qt-apps/qmmp_0.6.1.bb
new file mode 100644
index 0000000000..9522d88e12
--- /dev/null
+++ b/meta/recipes-qt/qt-apps/qmmp_0.6.1.bb
@@ -0,0 +1,54 @@
1DESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library"
2HOMEPAGE = "http://qmmp.ylsoftware.com"
3LICENSE = "GPLv2"
4LICENSE_FLAGS = "commercial"
5LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
6SECTION = "multimedia"
7
8PR = "r0"
9
10DEPENDS = "taglib libmad libvorbis libogg alsa-lib"
11
12SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2"
13
14SRC_URI[md5sum] = "23a1a3aa924da901ebc8327ea76135d4"
15SRC_URI[sha256sum] = "b48be8c0e3882088919a77ce7b619cfc99d32af29cc688ba8749a58cbb25fb6f"
16
17
18inherit qmake2 cmake qt4x11
19
20export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
21 -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \
22 -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
23 -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
24 -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
25 -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
26 -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \
27 -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
28 "
29PACKAGES_DYNAMIC = "qmmp-plugin-* "
30
31
32python populate_packages_prepend () {
33 qmmp_libdir = d.expand('${libdir}/qmmp')
34 gd = d.expand('${D}/${libdir}/qmmp')
35 plug_dirs = os.listdir(gd)
36
37 for plug_dir in plug_dirs:
38 g_plug_dir = os.path.join(qmmp_libdir,plug_dir)
39 do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir.lower() + '-%s', 'Qmmp' + plug_dir + 'plugin for %s')
40}
41
42FILES_${PN} = "\
43 ${bindir}/qmmp \
44 ${libdir}/lib*${SOLIBS} \
45 ${datadir}/icons/* \
46 ${datadir}/qmmp/images/* \
47 ${datadir}/applications/* \
48 "
49
50FILES_${PN}-dbg += "\
51 ${libdir}/qmmp/*/.debug/* \
52 "
53
54RDEPENDS_${PN} += "taglib alsa-lib libmad curl"