summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-qt/qt-apps/qmmp_0.7.5.bb')
-rw-r--r--meta/recipes-qt/qt-apps/qmmp_0.7.5.bb77
1 files changed, 77 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb b/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb
new file mode 100644
index 0000000000..910e7c2b31
--- /dev/null
+++ b/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb
@@ -0,0 +1,77 @@
1SUMMARY = "Qt-based Multimedia Player"
2DESCRIPTION = "Qmmp is an audio player, written with the help of the Qt library. The user interface is similar to Winamp or XMMS."
3HOMEPAGE = "http://qmmp.ylsoftware.com"
4LICENSE = "GPLv2"
5LICENSE_FLAGS = "commercial"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7SECTION = "multimedia"
8
9DEPENDS = "taglib libmad libvorbis libogg alsa-lib libsndfile1 libsamplerate0 curl"
10
11SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2 \
12 file://no-host-paths.patch \
13 "
14
15SRC_URI[md5sum] = "dcc3c9ecd4dfbf0ced91c59cb894d460"
16SRC_URI[sha256sum] = "6066aea939813667dae7cf32ff1d6eb9913894977d132c2cd729fea22d24cf67"
17
18inherit cmake qt4x11
19
20QMMP_PLUGIN_OPTIONS ??= "\
21 -DUSE_MMS:BOOL=FALSE \
22 -DUSE_MPC:BOOL=FALSE \
23 -DUSE_MODPLUG:BOOL=FALSE \
24 -DUSE_WAVPACK:BOOL=FALSE \
25 -DUSE_FFMPEG:BOOL=FALSE \
26 -DUSE_AAC:BOOL=FALSE \
27 -DUSE_CDA:BOOL=FALSE \
28 -DUSE_MIDI:BOOL=FALSE \
29 -DUSE_GME:BOOL=FALSE \
30 -DUSE_OSS4:BOOL=FALSE \
31 -DUSE_JACK:BOOL=FALSE \
32 -DUSE_BS2B:BOOL=FALSE \
33 -DUSE_PROJECTM:BOOL=FALSE \
34 -DUSE_ENCA:BOOL=FALSE \
35 "
36
37export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
38 -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \
39 -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
40 -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
41 -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
42 -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
43 -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \
44 -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
45 ${QMMP_PLUGIN_OPTIONS} \
46 "
47
48do_configure() {
49 # Ensure we get the cmake configure and not qmake
50 cmake_do_configure
51}
52
53PACKAGES_DYNAMIC += "^qmmp-plugin-.* "
54
55python populate_packages_prepend () {
56 qmmp_libdir = d.expand('${libdir}/qmmp')
57 gd = d.expand('${D}/${libdir}/qmmp')
58 plug_dirs = os.listdir(gd)
59
60 for plug_dir in plug_dirs:
61 g_plug_dir = os.path.join(qmmp_libdir,plug_dir)
62 do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir.lower() + '-%s', 'Qmmp ' + plug_dir + ' plugin for %s')
63}
64
65FILES_${PN} = "\
66 ${bindir}/qmmp \
67 ${libdir}/lib*${SOLIBS} \
68 ${datadir}/icons/* \
69 ${datadir}/qmmp/images/* \
70 ${datadir}/applications/* \
71 "
72
73FILES_${PN}-dbg += "\
74 ${libdir}/qmmp/*/.debug/* \
75 "
76
77RDEPENDS_${PN} += "taglib alsa-lib libmad curl"