diff options
author | Yu Ke <ke.yu@intel.com> | 2010-08-25 11:13:00 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 13:29:52 +0100 |
commit | 923f920a7c798e675da11154ca5ecbec6059833a (patch) | |
tree | c8938e79061a3ec3d0fa3d70fc31003245a27f72 /meta-lsb/packages | |
parent | 43e62c449374ef585a876fbcd510c179ee13ca83 (diff) | |
download | openembedded-core-923f920a7c798e675da11154ca5ecbec6059833a.tar.gz openembedded-core-923f920a7c798e675da11154ca5ecbec6059833a.tar.bz2 openembedded-core-923f920a7c798e675da11154ca5ecbec6059833a.zip |
qmmp: add QT app qmmp, an QT audio-player
Add qmmp from qt-apps.org to validate and demo qt library. qmmp is an audio-player, written with help of Qt library
Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'meta-lsb/packages')
-rw-r--r-- | meta-lsb/packages/qt-apps/qmmp_0.4.1.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-lsb/packages/qt-apps/qmmp_0.4.1.bb b/meta-lsb/packages/qt-apps/qmmp_0.4.1.bb new file mode 100644 index 0000000000..5f971e8b47 --- /dev/null +++ b/meta-lsb/packages/qt-apps/qmmp_0.4.1.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" +HOMEPAGE = "http://qmmp.ylsoftware.com" +LICENSE = "GPLv2" +SECTION = "multimedia" + +DEPENDS = "qt4-x11-free" +RDEPENDS = "qt4-x11-free libmad libvorbis libogg taglib alsa-lib curl" + +SRC_URI = "http://qmmp.ylsoftware.com/files/qmmp-0.4.1.tar.bz2" + +PARALLEL_MAKE = "" + +inherit qmake2 pkgconfig + +do_configure_prepend() { + # fix qt4 lrelease name + sed -i -e 's/lrelease-qt4/lrelease4/' ${S}/qmmp.pro + + # disable the unsupported plugin + for plugin in sndfile wavpack ; do + sed -i -e "s/$plugin//" ${S}/src/plugins/Input/Input.pro + done + sed -i -e 's/mms//' ${S}/src/plugins/Transports/Transports.pro + sed -i -e 's/srconverter//' ${S}/src/plugins/Effect/Effect.pro + + sed -i -e 's/^CONFIG/#CONFIG/' ${S}/qmmp.pri + sed -i -e 's/CONFIG += WITH_ENCA/#CONFIG += WITH_ENCA/' ${S}/qmmp.pri +} + +do_install() { + oe_runmake INSTALL_ROOT=${D} install +} |