summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/openmoko2/openmoko-mediaplayer2/.mtn2git_empty0
-rw-r--r--packages/openmoko2/openmoko-mediaplayer2/autofoo.patch38
-rw-r--r--packages/openmoko2/openmoko-mediaplayer2/missing-images.patch13
-rw-r--r--packages/openmoko2/openmoko-mediaplayer2_svn.bb12
4 files changed, 63 insertions, 0 deletions
diff --git a/packages/openmoko2/openmoko-mediaplayer2/.mtn2git_empty b/packages/openmoko2/openmoko-mediaplayer2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openmoko2/openmoko-mediaplayer2/.mtn2git_empty
diff --git a/packages/openmoko2/openmoko-mediaplayer2/autofoo.patch b/packages/openmoko2/openmoko-mediaplayer2/autofoo.patch
new file mode 100644
index 0000000000..5db5707798
--- /dev/null
+++ b/packages/openmoko2/openmoko-mediaplayer2/autofoo.patch
@@ -0,0 +1,38 @@
+Index: openmoko-mediaplayer2/configure.ac
+===================================================================
+--- openmoko-mediaplayer2.orig/configure.ac 2007-08-25 16:05:09.000000000 +0000
++++ openmoko-mediaplayer2/configure.ac 2007-08-25 16:05:28.000000000 +0000
+@@ -14,12 +14,6 @@
+ AM_GNU_GETTEXT
+ AM_GNU_GETTEXT_VERSION([0.12.1])
+
+-
+-CFLAGS="-I${prefix}/include $CFLAGS"
+-AC_SUBST(CFLAGS)
+-CPPFLAGS="-I${prefix}/include $CPPFLAGS"
+-AC_SUBST(CPPFLAGS)
+-
+ # Check for GTK/GLib/GThread/Pango, dbus, OpenMoko libs, gstreamer, expat, uriparser and XSPF
+
+ PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.4.0 gtk+-2.0 >= 2.4.0 gthread-2.0 pango],,
+@@ -61,7 +55,5 @@
+ Makefile
+ src/Makefile
+ images/Makefile
+- po/Makefile.in
+- intl/Makefile
+ ])
+ AC_OUTPUT
+Index: openmoko-mediaplayer2/Makefile.am
+===================================================================
+--- openmoko-mediaplayer2.orig/Makefile.am 2007-08-25 16:07:46.000000000 +0000
++++ openmoko-mediaplayer2/Makefile.am 2007-08-25 16:07:53.000000000 +0000
+@@ -1,6 +1,6 @@
+ AUTOMAKE_OPTIONS = foreign
+-SUBDIRS = src images intl
+-# po
++SUBDIRS = src images
++# po intl
+
+
+ EXTRA_DIST = openmoko-mediaplayer.desktop openmoko-mediaplayer.png
diff --git a/packages/openmoko2/openmoko-mediaplayer2/missing-images.patch b/packages/openmoko2/openmoko-mediaplayer2/missing-images.patch
new file mode 100644
index 0000000000..d968e474eb
--- /dev/null
+++ b/packages/openmoko2/openmoko-mediaplayer2/missing-images.patch
@@ -0,0 +1,13 @@
+Index: openmoko-mediaplayer2/images/Makefile.am
+===================================================================
+--- openmoko-mediaplayer2.orig/images/Makefile.am 2007-08-25 16:15:27.000000000 +0000
++++ openmoko-mediaplayer2/images/Makefile.am 2007-08-25 16:15:35.000000000 +0000
+@@ -12,8 +12,6 @@
+ ico-repeat-all.png \
+ ico-shuffle-on.png \
+ ico-shuffle-off.png \
+- ico-balance-left.png \
+- ico-balance-right.png \
+ ico-tracktype-general.png \
+ ind-music-eq-00.png \
+ ind-music-eq-01.png \
diff --git a/packages/openmoko2/openmoko-mediaplayer2_svn.bb b/packages/openmoko2/openmoko-mediaplayer2_svn.bb
new file mode 100644
index 0000000000..a7e6711d23
--- /dev/null
+++ b/packages/openmoko2/openmoko-mediaplayer2_svn.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "A media player for OpenMoko"
+SECTION = "openmoko/tools"
+DEPENDS = "libmokoui2 expat gstreamer libspiff"
+PV = "0.1.0+svn${SVNREV}"
+PR = "r0"
+
+inherit openmoko2
+
+SRC_URI += "\
+ file://autofoo.patch;patch=1 \
+ file://missing-images.patch;patch=1 \
+"