summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
committerRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
commit5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch)
tree342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin')
-rw-r--r--org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin.inc20
-rw-r--r--org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin/libmadplugin.pro51
-rw-r--r--org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin_1.2.1.bb6
-rw-r--r--org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin_cvs.bb6
4 files changed, 83 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin.inc b/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin.inc
new file mode 100644
index 0000000..cb893ed
--- /dev/null
+++ b/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "MP3 file plugin for opie-mediaplayer11 using libmad"
+SECTION = "opie/codecs"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = "opie-mediaplayer1 libmad"
+RDEPENDS = "opie-mediaplayer1"
+APPNAME = "madplugin"
+
+
+S = "${WORKDIR}/opieplayer/libmad"
+QMAKE_PROFILES = "libmadplugin.pro"
+
+inherit opie
+
+do_configure_prepend() {
+ install -m 0644 ${WORKDIR}/libmadplugin.pro ${S}/
+}
+
+# FILES plugins/codecs/libmadplugin.so
diff --git a/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin/libmadplugin.pro b/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin/libmadplugin.pro
new file mode 100644
index 0000000..0a8d410
--- /dev/null
+++ b/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin/libmadplugin.pro
@@ -0,0 +1,51 @@
+TEMPLATE = lib
+CONFIG += qt warn_on
+HEADERS = libmadplugin.h libmadpluginimpl.h
+SOURCES = libmadplugin.cpp libmadpluginimpl.cpp
+TARGET = madplugin
+DESTDIR = $(OPIEDIR)/plugins/codecs
+INCLUDEPATH += $(OPIEDIR)/include ..
+DEPENDPATH += ..
+LIBS += -lqpe -lm -lmad
+VERSION = 1.0.0
+
+include ( $(OPIEDIR)/include.pro )
+
+DEFINES += FPM_INTEL
+
+system(echo $QMAKESPEC | grep -s sharp) {
+ DEFINES -= FPM_INTEL
+ DEFINES += FPM_ARM
+}
+
+system(echo $QMAKESPEC | grep -s ipaq) {
+ DEFINES -= FPM_INTEL
+ DEFINES += FPM_ARM
+}
+
+system(echo $QMAKESPEC | grep -s mipsel) {
+ DEFINES -= FPM_INTEL
+ DEFINES += FPM_MIPS
+}
+
+system(echo $QMAKESPEC | grep -s mnci) {
+ DEFINES -= FPM_INTEL
+ DEFINES += FPM_ARM
+}
+
+system(echo $QMAKESPEC | grep -s arm) {
+ DEFINES -= FPM_INTEL
+ DEFINES += FPM_ARM
+}
+
+system(echo $QMAKESPEC | grep -s simpad) {
+ DEFINES -= FPM_INTEL
+ DEFINES += FPM_ARM
+}
+
+system(echo $QMAKESPEC | grep -s yopy) {
+ DEFINES -= FPM_INTEL
+ DEFINES += FPM_ARM
+}
+
+
diff --git a/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin_1.2.1.bb b/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin_1.2.1.bb
new file mode 100644
index 0000000..44f420c
--- /dev/null
+++ b/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin_1.2.1.bb
@@ -0,0 +1,6 @@
+include ${PN}.inc
+
+
+
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/multimedia/opieplayer \
+ file://libmadplugin.pro"
diff --git a/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin_cvs.bb b/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin_cvs.bb
new file mode 100644
index 0000000..12c9643
--- /dev/null
+++ b/org.handhelds.familiar/packages/opie-mediaplayer1-libmadplugin/opie-mediaplayer1-libmadplugin_cvs.bb
@@ -0,0 +1,6 @@
+include ${PN}.inc
+
+PV = "1.2.1+cvs-${CVSDATE}"
+
+SRC_URI = "${HANDHELDS_CVS};module=opie/core/multimedia/opieplayer \
+ file://libmadplugin.pro"