diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/madbufferfly/madbutterfly/001_makefile.am_bugs.patch | 66 | ||||
-rw-r--r-- | recipes/madbufferfly/madbutterfly_git.bb | 16 |
2 files changed, 82 insertions, 0 deletions
diff --git a/recipes/madbufferfly/madbutterfly/001_makefile.am_bugs.patch b/recipes/madbufferfly/madbutterfly/001_makefile.am_bugs.patch new file mode 100644 index 0000000000..783cf09646 --- /dev/null +++ b/recipes/madbufferfly/madbutterfly/001_makefile.am_bugs.patch @@ -0,0 +1,66 @@ +Index: git/src/Makefile.am +=================================================================== +--- git.orig/src/Makefile.am 2009-04-08 02:24:01.000000000 +0800 ++++ git/src/Makefile.am 2009-04-08 02:28:53.000000000 +0800 +@@ -2,18 +2,49 @@ + + lib_LTLIBRARIES = libmbfly.la + +-noinst_PROGRAMS = X_main + MBAF_SOURCES=mbaf/mbapp.c mbaf/mbbutton.c mbaf/mbobject.c mbaf/animated_menu.c +-libmbfly_la_SOURCES = animate.c chgcolor.c coord.c event.c geo.c \ +- observer.c paint.c redraw_man.c rotate.c shape_path.c \ +- shape_rect.c shape_text.c shift.c subtree_free.c timer.c \ +- timertool.c tools.c visibility.c X_supp.c prop.c sprite.c \ +- mouse.c shape_image.c img_ldr.c $(MBAF_SOURCES) ++libmbfly_la_SOURCES = animate.c \ ++ chgcolor.c \ ++ coord.c \ ++ event.c \ ++ geo.c \ ++ observer.c \ ++ paint.c \ ++ redraw_man.c \ ++ rotate.c \ ++ shape_path.c \ ++ shape_rect.c \ ++ shape_text.c \ ++ shift.c \ ++ subtree_free.c \ ++ timer.c \ ++ timertool.c \ ++ tools.c \ ++ visibility.c \ ++ X_supp.c \ ++ prop.c \ ++ sprite.c \ ++ mouse.c \ ++ shape_image.c \ ++ img_ldr.c \ ++ $(MBAF_SOURCES) ++ ++libmbfly_la_CFLAGS = @cairo_CFLAGS@ \ ++ @pangocairo_CFLAGS@ ++libmbfly_la_LDFLAGS = @cairo_LIBS@ \ ++ @pangocairo_LIBS@ + +-libmbfly_la_CPPFLAGS = @cairo_CFLAGS@ @pangocairo_CFLAGS@ +-libmbfly_la_LDFLAGS = @cairo_LIBS@ @pangocairo_LIBS@ ++bin_PROGRAMS = X_main ++noinst_PROGRAMS = X_main + + X_main_SOURCES = X_main.c +-X_main_LDADD = $(top_builddir)/src/libmbfly.la +-X_main_CPPFLAGS = @pangocairo_CFLAGS@ -I$(top_builddir)/src +-X_main_LDFLAGS = @pangocairo_LIBS@ ++X_main_LDADD = ${top_builddir}/src/libmbfly.la ++X_main_CFLAGS = @pangocairo_CFLAGS@ \ ++ @cairo_CFLAGS@ \ ++ -I${top_builddir}/include ++X_main_LDFLAGS = @pangocairo_LIBS@ \ ++ @cairo_LIBS@ ++ ++X_main: libmbfly.la ++ $(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(X_main_CFLAGS) $(X_main_LIBADD) X_main.c -o $@ $< ++ + diff --git a/recipes/madbufferfly/madbutterfly_git.bb b/recipes/madbufferfly/madbutterfly_git.bb new file mode 100644 index 0000000000..a0f31691f8 --- /dev/null +++ b/recipes/madbufferfly/madbutterfly_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "MadButterfly is a SVG browser. It can be used to be GUI environment of embedded system or desktop." +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "BSD" +DEPENDS = "cairo pango" +PV = "0.0.1+gitr${SRCREV}" + +SRC_URI = "git://git.gitorious.org/madbutterfly/mainline.git;protocol=git \ + file://001_makefile.am_bugs.patch;patch=1" + +S = "${WORKDIR}/git" + +inherit autotools + +FILES_${PN} += "/bin/* ${libdir}/*.so" +FILES_${PN}-dev += "${libdir}/*a ${libdir}/pkgconfig/* ${includedir}/* ${datadir}/*" |