diff options
author | Tick Chen <ticktock35@gmail.com> | 2009-04-14 17:36:46 +0800 |
---|---|---|
committer | Tick Chen <ticktock35@gmail.com> | 2009-04-14 17:40:26 +0800 |
commit | a2151a9e98d98aa051d14c53fca0303d76e819b6 (patch) | |
tree | 2242605cb40371323658be46767b4b7cba225bc0 | |
parent | 56fe494547aba6d67973a8e1e3c21fe7a7501dc0 (diff) |
madbutterfly: adding madbutterfly bb file
-rw-r--r-- | conf/distro/include/sane-srcrevs.inc | 1 | ||||
-rw-r--r-- | recipes/madbufferfly/madbutterfly/001_makefile.am_bugs.patch | 66 | ||||
-rw-r--r-- | recipes/madbufferfly/madbutterfly_git.bb | 16 |
3 files changed, 83 insertions, 0 deletions
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index 1f7a5fdf5b..d606b51f0f 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -118,6 +118,7 @@ SRCREV_pn-linux-openmoko-devel ?= "b9aa5bf345a0b802af0d10b6cf1079738fe4fd12" SRCREV_pn-linux-eten ?= "ab2d414f4f13816af0ec0401b608133ca946624a" SRCREV_pn-llvm-gcc4 ?= "374" SRCREV_pn-llvm-gcc4-cross ?= "374" +SRCREV_pn-madbutterfly ?= "ecd1842714b5e982f3138cbdd358517d57be6aa3" SRCREV_pn-maemo-mapper ?= "118" SRCREV_pn-mamonaim_e_applet ?= "51c747849f71981bd1dc9eb1807df4993ad97d04" SRCREV_pn-mamona_input_methods ?= "7e6a8cc947689a045d0fba90015da599275347d9" 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}/*" |