diff options
author | Xiaofeng Yan <xiaofeng.yan@windriver.com> | 2011-11-07 19:19:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-08 21:44:38 +0000 |
commit | 5a9e41d85514f4ea2c8ecf6e23dae2857c8786a7 (patch) | |
tree | 558756b3b950e1b36e751502f369dff0cf8acec0 /meta | |
parent | 55646b1bec6a3153c6e47b37b1e2ff94d68fc7c2 (diff) | |
download | poky-5a9e41d85514f4ea2c8ecf6e23dae2857c8786a7.tar.gz |
qmmp: update to 0.5.2
qmmp: remove old recipe and add new recipe
Use do_split_package for each grouping and name them correctly besides updating package.
The format to name plugins of qmmp:
qmmp-plugin-<group>-<library> with the Description: Qmmp<Group> plugin for %s"
(From OE-Core rev: fff02c7c2c1c6ab0ceb1f888134d381d8b612884)
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Fix dESCRIPTION -> DESCRIPTION
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 | ||||
-rw-r--r-- | meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 54 |
2 files changed, 54 insertions, 47 deletions
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.1.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.1.bb deleted file mode 100644 index 948c32a070..0000000000 --- a/meta/recipes-qt/qt-apps/qmmp_0.5.1.bb +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
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 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
5 | SECTION = "multimedia" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" | ||
10 | RDEPENDS_${PN} += "taglib alsa-lib curl" | ||
11 | |||
12 | SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" | ||
13 | |||
14 | SRC_URI[md5sum] = "7934c069256bf2fc4ab762ad2683db2f" | ||
15 | SRC_URI[sha256sum] = "16ab0334f368a5ef14d631a1d43d7cae876ee06b7185643377b5e9cfd6143099" | ||
16 | |||
17 | |||
18 | PARALLEL_MAKE = "" | ||
19 | |||
20 | inherit qmake2 cmake | ||
21 | |||
22 | export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ | ||
23 | -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ | ||
24 | -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ | ||
25 | -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ | ||
26 | -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ | ||
27 | -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ | ||
28 | -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ | ||
29 | -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ | ||
30 | " | ||
31 | |||
32 | FILES_${PN} = "${bindir}/qmmp ${libdir}/*.so* \ | ||
33 | ${libdir}/qmmp/PlaylistFormats/*.so \ | ||
34 | ${libdir}/qmmp/Output/libalsa.so \ | ||
35 | ${libdir}/qmmp/Transports/libhttp.so \ | ||
36 | ${libdir}/qmmp/Visual/libanalyzer.so \ | ||
37 | ${datadir}/icons/* \ | ||
38 | ${datadir}/qmmp/images/* \ | ||
39 | ${datadir}/applications/qmmp.desktop \ | ||
40 | " | ||
41 | |||
42 | PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" | ||
43 | |||
44 | FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" | ||
45 | RDEPENDS_${PN}-plugin-input-mad = "libmad" | ||
46 | FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" | ||
47 | RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" | ||
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb new file mode 100644 index 0000000000..b3ecc457bc --- /dev/null +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.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 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
5 | SECTION = "multimedia" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | DEPENDS = "taglib libmad libvorbis libogg alsa-lib" | ||
10 | |||
11 | SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" | ||
12 | |||
13 | SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" | ||
14 | SRC_URI[sha256sum] = "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" | ||
15 | |||
16 | |||
17 | inherit qmake2 cmake qt4x11 | ||
18 | |||
19 | export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ | ||
20 | -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ | ||
21 | -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ | ||
22 | -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ | ||
23 | -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ | ||
24 | -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ | ||
25 | -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ | ||
26 | -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ | ||
27 | " | ||
28 | PACKAGES_DYNAMIC = "qmmp-plugin-* " | ||
29 | |||
30 | |||
31 | python populate_packages_prepend () { | ||
32 | import os | ||
33 | qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) | ||
34 | gd = bb.data.expand('${D}/${libdir}/qmmp', d) | ||
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" | ||