diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/miniclipboard | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (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/miniclipboard')
-rw-r--r-- | recipes/miniclipboard/miniclipboard-0.3/makefile.patch | 26 | ||||
-rw-r--r-- | recipes/miniclipboard/miniclipboard-0.3/miniclipboard.desktop | 7 | ||||
-rw-r--r-- | recipes/miniclipboard/miniclipboard_0.3.bb | 20 |
3 files changed, 53 insertions, 0 deletions
diff --git a/recipes/miniclipboard/miniclipboard-0.3/makefile.patch b/recipes/miniclipboard/miniclipboard-0.3/makefile.patch new file mode 100644 index 0000000000..790b82f305 --- /dev/null +++ b/recipes/miniclipboard/miniclipboard-0.3/makefile.patch @@ -0,0 +1,26 @@ +Index: Makefile +=================================================================== +--- Makefile (Revision 9102) ++++ Makefile (Arbeitskopie) +@@ -6,16 +6,16 @@ + + MEMBERS = miniclipboard mbpixbuf mbtray + +-CFLAGS += -Wall ++PACKAGE_CFLAGS += -Wall `pkg-config --cflags x11` + ifeq ($(DEBUG),yes) +-CFLAGS += -O2 -g +-LDFLAGS = -g #-lefence ++PACKAGE_CFLAGS += -O2 -g ++LDFLAGS = -g + else +-CFLAGS += -Os -fomit-frame-pointer ++PACKAGE_CFLAGS += -Os -fomit-frame-pointer + endif + CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" + +-PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) -L/usr/X11R6/lib -lX11 -lXpm -lXext ++PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(`pkg-config --libs x11`) -lXpm -lXext + + OBJS = $(patsubst %,%.o,$(MEMBERS)) + diff --git a/recipes/miniclipboard/miniclipboard-0.3/miniclipboard.desktop b/recipes/miniclipboard/miniclipboard-0.3/miniclipboard.desktop new file mode 100644 index 0000000000..a737076e19 --- /dev/null +++ b/recipes/miniclipboard/miniclipboard-0.3/miniclipboard.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Clipboard control +Comment=Panel based clipboard control +Exec=miniclipboard +Type=PanelApp +Icon=paste.xpm +Categories=Panel;Utility diff --git a/recipes/miniclipboard/miniclipboard_0.3.bb b/recipes/miniclipboard/miniclipboard_0.3.bb new file mode 100644 index 0000000000..ff343561df --- /dev/null +++ b/recipes/miniclipboard/miniclipboard_0.3.bb @@ -0,0 +1,20 @@ +SECTION = "x11/utils" +inherit gpe +LICENSE = "GPL" +DESCRIPTION = "Clipboard management application" +DEPENDS = "virtual/libx11 libxpm" +RDEPENDS = "gdk-pixbuf-loader-xpm" +PR = "r2" + +SRC_URI += "file://miniclipboard.desktop \ + file://makefile.patch;patch=1;pnum=0" + +do_install() { + install -d ${D}${bindir} + install -d ${D}${datadir}/applications + install -d ${D}${datadir}/pixmaps + install -m 0755 miniclipboard ${D}${bindir}/ + install -m 0644 ${WORKDIR}/miniclipboard.desktop ${D}${datadir}/applications/ + install -m 0644 copy.xpm ${D}${datadir}/pixmaps/ + install -m 0644 paste.xpm ${D}${datadir}/pixmaps/ +} |