summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt-apps
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2011-11-07 19:19:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-08 21:44:38 +0000
commit5a9e41d85514f4ea2c8ecf6e23dae2857c8786a7 (patch)
tree558756b3b950e1b36e751502f369dff0cf8acec0 /meta/recipes-qt/qt-apps
parent55646b1bec6a3153c6e47b37b1e2ff94d68fc7c2 (diff)
downloadpoky-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/recipes-qt/qt-apps')
-rw-r--r--meta/recipes-qt/qt-apps/qmmp_0.5.1.bb47
-rw-r--r--meta/recipes-qt/qt-apps/qmmp_0.5.2.bb54
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 @@
1DESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library"
2HOMEPAGE = "http://qmmp.ylsoftware.com"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
5SECTION = "multimedia"
6
7PR = "r0"
8
9DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib"
10RDEPENDS_${PN} += "taglib alsa-lib curl"
11
12SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2"
13
14SRC_URI[md5sum] = "7934c069256bf2fc4ab762ad2683db2f"
15SRC_URI[sha256sum] = "16ab0334f368a5ef14d631a1d43d7cae876ee06b7185643377b5e9cfd6143099"
16
17
18PARALLEL_MAKE = ""
19
20inherit qmake2 cmake
21
22export 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
32FILES_${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
42PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis"
43
44FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so"
45RDEPENDS_${PN}-plugin-input-mad = "libmad"
46FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so"
47RDEPENDS_${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 @@
1DESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library"
2HOMEPAGE = "http://qmmp.ylsoftware.com"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
5SECTION = "multimedia"
6
7PR = "r0"
8
9DEPENDS = "taglib libmad libvorbis libogg alsa-lib"
10
11SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2"
12
13SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6"
14SRC_URI[sha256sum] = "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec"
15
16
17inherit qmake2 cmake qt4x11
18
19export 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 "
28PACKAGES_DYNAMIC = "qmmp-plugin-* "
29
30
31python 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
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"