* [PATCH 0/1] qmmp: update to 0.5.2
@ 2011-10-24 3:37 Xiaofeng Yan
2011-10-24 3:37 ` [PATCH 1/1] " Xiaofeng Yan
0 siblings, 1 reply; 4+ messages in thread
From: Xiaofeng Yan @ 2011-10-24 3:37 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Hi saul,
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"
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/qmmp_update
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/qmmp_update
Thanks,
Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (1):
qmmp: update to 0.5.2
meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 60 +++++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 0 deletions(-)
create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] qmmp: update to 0.5.2
2011-10-24 3:37 [PATCH 0/1] qmmp: update to 0.5.2 Xiaofeng Yan
@ 2011-10-24 3:37 ` Xiaofeng Yan
2011-10-26 20:29 ` Saul Wold
0 siblings, 1 reply; 4+ messages in thread
From: Xiaofeng Yan @ 2011-10-24 3:37 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
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"
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 60 +++++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 0 deletions(-)
create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb
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 0000000..58dd825
--- /dev/null
+++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb
@@ -0,0 +1,60 @@
+dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library"
+HOMEPAGE = "http://qmmp.ylsoftware.com"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
+SECTION = "multimedia"
+
+PR = "r4"
+
+PROVIDES = "qmmp"
+DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib"
+RDEPENDS_${PN} += "taglib alsa-lib libmad curl"
+
+SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6"
+SRC_URI[sha256sum] = "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec"
+
+
+PARALLEL_MAKE = ""
+
+inherit qmake2 cmake package
+
+export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
+ -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \
+ -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+ -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+ -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+ -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
+ -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \
+ -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
+ "
+PACKAGES_DYNAMIC = "qmmp-plugin-* "
+
+
+python populate_packages_prepend () {
+ import os
+ qmmp_libdir = bb.data.expand('${libdir}/qmmp', d)
+ gd = bb.data.expand('${D}/${libdir}/qmmp', d)
+ plug_dirs = os.listdir(gd)
+
+ for plug_dir in plug_dirs:
+ g_plug_dir = os.path.join(qmmp_libdir,plug_dir)
+ do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir + '-%s', 'Qmmp' + plug_dir + 'plugin for %s')
+
+
+
+}
+
+FILES_${PN} = "\
+ ${bindir}/qmmp \
+ ${libdir}/lib*${SOLIBS} \
+ ${datadir}/icons/* \
+ ${datadir}/qmmp/images/* \
+ ${datadir}/applications/* \
+ "
+
+FILES_${PN}-dbg += "\
+ ${libdir}/qmmp/*/.debug/* \
+ "
+
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] qmmp: update to 0.5.2
2011-10-24 3:37 ` [PATCH 1/1] " Xiaofeng Yan
@ 2011-10-26 20:29 ` Saul Wold
0 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-10-26 20:29 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 10/24/2011 05:37 AM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>
> 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"
>
This looks correct, but needs to be a git mv from 0.5.1 to 0.5.2, not a
new recipe. I will test this patch locally while waiting for your
correction.
Thanks
Sau!
> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com>
> ---
> meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 60 +++++++++++++++++++++++++++++++++
> 1 files changed, 60 insertions(+), 0 deletions(-)
> create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb
>
> 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 0000000..58dd825
> --- /dev/null
> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb
> @@ -0,0 +1,60 @@
> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library"
> +HOMEPAGE = "http://qmmp.ylsoftware.com"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
> +SECTION = "multimedia"
> +
> +PR = "r4"
> +
> +PROVIDES = "qmmp"
> +DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib"
> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl"
> +
> +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6"
> +SRC_URI[sha256sum] = "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec"
> +
> +
> +PARALLEL_MAKE = ""
> +
> +inherit qmake2 cmake package
> +
> +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
> + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \
> + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
> + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
> + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
> + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
> + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \
> + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
> + "
> +PACKAGES_DYNAMIC = "qmmp-plugin-* "
> +
> +
> +python populate_packages_prepend () {
> + import os
> + qmmp_libdir = bb.data.expand('${libdir}/qmmp', d)
> + gd = bb.data.expand('${D}/${libdir}/qmmp', d)
> + plug_dirs = os.listdir(gd)
> +
> + for plug_dir in plug_dirs:
> + g_plug_dir = os.path.join(qmmp_libdir,plug_dir)
> + do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir + '-%s', 'Qmmp' + plug_dir + 'plugin for %s')
> +
> +
> +
> +}
> +
> +FILES_${PN} = "\
> + ${bindir}/qmmp \
> + ${libdir}/lib*${SOLIBS} \
> + ${datadir}/icons/* \
> + ${datadir}/qmmp/images/* \
> + ${datadir}/applications/* \
> + "
> +
> +FILES_${PN}-dbg += "\
> + ${libdir}/qmmp/*/.debug/* \
> + "
> +
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 0/1] qmmp: update to 0.5.2
@ 2011-10-27 2:32 Xiaofeng Yan
0 siblings, 0 replies; 4+ messages in thread
From: Xiaofeng Yan @ 2011-10-27 2:32 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Hi Saul,
I Removed the old recipe qmmp_0.5.1 and added qmmp_0.5.2 according to your suggestion.
Thanks
Yan
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/qmmp_update
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/qmmp_update
Thanks,
Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (1):
qmmp: update to 0.5.2
.../conf/distro/include/distro_tracking_fields.inc | 9 +++-
meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 ----------------
meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 57 ++++++++++++++++++++
3 files changed, 64 insertions(+), 49 deletions(-)
delete mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.1.bb
create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-27 2:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24 3:37 [PATCH 0/1] qmmp: update to 0.5.2 Xiaofeng Yan
2011-10-24 3:37 ` [PATCH 1/1] " Xiaofeng Yan
2011-10-26 20:29 ` Saul Wold
-- strict thread matches above, loose matches on Subject: below --
2011-10-27 2:32 [PATCH 0/1] " Xiaofeng Yan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox