diff options
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.bb | 54 |
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 @@ | |||
1 | DESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" | ||
2 | HOMEPAGE = "http://qmmp.ylsoftware.com" | ||
3 | LICENSE = "GPLv2" | ||
4 | LICENSE_FLAGS = "commercial" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
6 | SECTION = "multimedia" | ||
7 | |||
8 | PR = "r0" | ||
9 | |||
10 | DEPENDS = "taglib libmad libvorbis libogg alsa-lib" | ||
11 | |||
12 | SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" | ||
13 | |||
14 | SRC_URI[md5sum] = "23a1a3aa924da901ebc8327ea76135d4" | ||
15 | SRC_URI[sha256sum] = "b48be8c0e3882088919a77ce7b619cfc99d32af29cc688ba8749a58cbb25fb6f" | ||
16 | |||
17 | |||
18 | inherit qmake2 cmake qt4x11 | ||
19 | |||
20 | export 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 | " | ||
29 | PACKAGES_DYNAMIC = "qmmp-plugin-* " | ||
30 | |||
31 | |||
32 | python 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 | |||
42 | FILES_${PN} = "\ | ||
43 | ${bindir}/qmmp \ | ||
44 | ${libdir}/lib*${SOLIBS} \ | ||
45 | ${datadir}/icons/* \ | ||
46 | ${datadir}/qmmp/images/* \ | ||
47 | ${datadir}/applications/* \ | ||
48 | " | ||
49 | |||
50 | FILES_${PN}-dbg += "\ | ||
51 | ${libdir}/qmmp/*/.debug/* \ | ||
52 | " | ||
53 | |||
54 | RDEPENDS_${PN} += "taglib alsa-lib libmad curl" | ||