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 | |
| parent | 43e62c449374ef585a876fbcd510c179ee13ca83 (diff) | |
| download | poky-923f920a7c798e675da11154ca5ecbec6059833a.tar.gz | |
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>
| -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 @@ | |||
| 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 | SECTION = "multimedia" | ||
| 5 | |||
| 6 | DEPENDS = "qt4-x11-free" | ||
| 7 | RDEPENDS = "qt4-x11-free libmad libvorbis libogg taglib alsa-lib curl" | ||
| 8 | |||
| 9 | SRC_URI = "http://qmmp.ylsoftware.com/files/qmmp-0.4.1.tar.bz2" | ||
| 10 | |||
| 11 | PARALLEL_MAKE = "" | ||
| 12 | |||
| 13 | inherit qmake2 pkgconfig | ||
| 14 | |||
| 15 | do_configure_prepend() { | ||
| 16 | # fix qt4 lrelease name | ||
| 17 | sed -i -e 's/lrelease-qt4/lrelease4/' ${S}/qmmp.pro | ||
| 18 | |||
| 19 | # disable the unsupported plugin | ||
| 20 | for plugin in sndfile wavpack ; do | ||
| 21 | sed -i -e "s/$plugin//" ${S}/src/plugins/Input/Input.pro | ||
| 22 | done | ||
| 23 | sed -i -e 's/mms//' ${S}/src/plugins/Transports/Transports.pro | ||
| 24 | sed -i -e 's/srconverter//' ${S}/src/plugins/Effect/Effect.pro | ||
| 25 | |||
| 26 | sed -i -e 's/^CONFIG/#CONFIG/' ${S}/qmmp.pri | ||
| 27 | sed -i -e 's/CONFIG += WITH_ENCA/#CONFIG += WITH_ENCA/' ${S}/qmmp.pri | ||
| 28 | } | ||
| 29 | |||
| 30 | do_install() { | ||
| 31 | oe_runmake INSTALL_ROOT=${D} install | ||
| 32 | } | ||
