summaryrefslogtreecommitdiff
path: root/recipes/xmms-embedded/xmms-embedded_20040327.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/xmms-embedded/xmms-embedded_20040327.bb
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/xmms-embedded/xmms-embedded_20040327.bb')
-rw-r--r--recipes/xmms-embedded/xmms-embedded_20040327.bb66
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes/xmms-embedded/xmms-embedded_20040327.bb b/recipes/xmms-embedded/xmms-embedded_20040327.bb
new file mode 100644
index 0000000000..a8b24e709a
--- /dev/null
+++ b/recipes/xmms-embedded/xmms-embedded_20040327.bb
@@ -0,0 +1,66 @@
+DESCRIPTION = "XMMS embedded - lightweight audio player with video and codec plugins"
+SECTION = "opie/multimedia"
+DEPENDS = "zlib tremor glib-2.0 libmikmod \
+ ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libsidplay libmad libid3tag', d)}"
+LICENSE = "GPL"
+PR = "r6"
+
+SRC_URI = "cvs://anonymous@xmms-embedded.cvs.sourceforge.net/cvsroot/xmms-embedded;module=xmms-embedded;date=${PV} \
+ file://bogusincdir.patch;patch=1 \
+ file://gtkremoval.patch;patch=1 \
+ file://removenativeincdir.patch;patch=1 \
+ file://glib2.patch;patch=1 \
+ file://tremorlib.patch;patch=1 \
+ file://bufferdefaults.patch;patch=1 \
+ file://gcc34.patch;patch=1 \
+ file://gcc34-enum.patch;patch=1 \
+ file://mikmod-endian.patch;patch=1 \
+ file://mikmod-update.patch;patch=1 \
+ file://xmms.png"
+S = "${WORKDIR}/xmms-embedded"
+
+inherit palmtop
+
+EXTRA_QMAKEVARS_POST += "LIBS+=-Wl,-rpath-link,${STAGING_LIBDIR} DEFINES+=_REENTRANT"
+
+QMAKE_PROFILES = "xmms-e.pro"
+export OE_QMAKE_LINK="${CXX}"
+
+do_configure_prepend() {
+ #remove all Makefiles - build will generate the correct ones using qmake
+ find ${S} -name Makefile | xargs rm -f
+}
+
+do_compile() {
+ oe_runmake "STAGING_DIR=${STAGING_EXECPREFIXDIR}"
+}
+
+do_install() {
+ install -d ${D}${palmtopdir}/lib/xmms/Effect \
+ ${D}${palmtopdir}/lib/xmms/General \
+ ${D}${palmtopdir}/lib/xmms/Input \
+ ${D}${palmtopdir}/lib/xmms/Output \
+ ${D}${palmtopdir}/lib/xmms/skin \
+ ${D}${palmtopdir}/bin \
+ ${D}${palmtopdir}/apps/Applications \
+ ${D}${palmtopdir}/pics
+ install -m 0644 xmms/General/QPEgui/xmms.desktop ${D}${palmtopdir}/apps/Applications/xmms.desktop
+ install -m 0644 ${WORKDIR}/xmms.png ${D}${palmtopdir}/pics/xmms.png
+ install -m 0755 compiled/bin/xmms ${D}${palmtopdir}/bin/xmms
+ oe_libinstall -so -C compiled libxmms ${D}${palmtopdir}/lib
+ oe_libinstall -so -C compiled/xmms/General libQPEgui ${D}${palmtopdir}/lib/xmms/General
+ for f in libfixpvorbisplugin libmplayer libshorten \
+ libwav libxmms-mad libxmms-sid libmikmod
+ do
+ oe_libinstall -so -C compiled/xmms/Input $f ${D}${palmtopdir}/lib/xmms/Input
+ done
+ oe_libinstall -so -C compiled/xmms/Output liboss ${D}${palmtopdir}/lib/xmms/Output
+ for f in eject.png fileadd.png main.png norep.png pause.png play.png rew.png \
+ shuf.png stop.png ff.png filedel.png move.png noshuf.png plalap.png \
+ rep.png save.png skinconf urladd.png
+ do
+ install -m 0644 Skins/winamp_xmms/${f} ${D}${palmtopdir}/lib/xmms/skin/${f}
+ done
+}
+
+FILES-${PN}-dbg += "${palmtopdir}/lib/xmms/Input/.debug"