diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-04-11 10:48:41 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-11 10:48:41 +0000 |
commit | 5bffa444d00d500ace2883fd3195973689a15c37 (patch) | |
tree | 7fb212639a515e9b88a8e04c27845a4da6b3ff1a /packages/fbreader | |
parent | 4dbac5bc4465261136bca6e3b9b2c35ddab50174 (diff) |
fbreader: added version 0.7.3b from #720 - thx to John 'JohnX' Bloom
Diffstat (limited to 'packages/fbreader')
-rw-r--r-- | packages/fbreader/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/fbreader/fbreader_0.7.3b.bb | 23 | ||||
-rw-r--r-- | packages/fbreader/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/fbreader/files/change-desktop.patch | 11 | ||||
-rw-r--r-- | packages/fbreader/files/hack-makefile.patch | 24 | ||||
-rw-r--r-- | packages/fbreader/files/set-target.patch | 13 |
6 files changed, 71 insertions, 0 deletions
diff --git a/packages/fbreader/.mtn2git_empty b/packages/fbreader/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/fbreader/.mtn2git_empty diff --git a/packages/fbreader/fbreader_0.7.3b.bb b/packages/fbreader/fbreader_0.7.3b.bb new file mode 100644 index 0000000000..fded05925d --- /dev/null +++ b/packages/fbreader/fbreader_0.7.3b.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "FBreader is an ebook reader" +LICENSE = "GPL2" +HOMEPAGE = "http://only.mawhrin.net/fbreader/" +SECTION = "x11/utils" +PRIORITY = "optional" +DEPENDS = "gtk+ enca expat" +MAINTAINER = "John Bloom <johnxx@gmail.com>" + +SRC_URI = "http://only.mawhrin.net/fbreader/fbreader-sources-${PV}.tgz \ + file://hack-makefile.patch;patch=1 \ + file://set-target.patch;patch=1 \ + file://change-desktop.patch;patch=1" + +FILES_${PN} += "/usr/share/FBReader" + +inherit autotools pkgconfig + +do_install_append() { + install -d ${D}${datadir}/applications + install -d ${D}${datadir}/pixmaps + install -m 0644 ${WORKDIR}/${PN}-${PV}/fbreader/pdaxrom/usr/share/applications/FBReader.desktop ${D}${datadir}/applications/fbreader.desktop + install -m 0644 ${WORKDIR}/${PN}-${PV}/fbreader/icons/34x28/FBReader.png ${D}${datadir}/pixmaps/fbreader.png +} diff --git a/packages/fbreader/files/.mtn2git_empty b/packages/fbreader/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/fbreader/files/.mtn2git_empty diff --git a/packages/fbreader/files/change-desktop.patch b/packages/fbreader/files/change-desktop.patch new file mode 100644 index 0000000000..875c7775fe --- /dev/null +++ b/packages/fbreader/files/change-desktop.patch @@ -0,0 +1,11 @@ +--- fbreader-0.7.1b/fbreader/pdaxrom/usr/share/applications/FBReader.desktop.orig 2006-02-15 01:52:31.000000000 -0800 ++++ fbreader-0.7.1b/fbreader/pdaxrom/usr/share/applications/FBReader.desktop 2006-02-15 01:53:10.000000000 -0800 +@@ -2,7 +2,7 @@ + Name=FBReader + Comment=E-Book Reader + Exec=FBReader +-Icon=FBReader/FBReader.png ++Icon=fbreader.png + Terminal=0 + Type=Application + Categories=Application;Office;WordProcessor; diff --git a/packages/fbreader/files/hack-makefile.patch b/packages/fbreader/files/hack-makefile.patch new file mode 100644 index 0000000000..3859363607 --- /dev/null +++ b/packages/fbreader/files/hack-makefile.patch @@ -0,0 +1,24 @@ +--- fbreader-0.7.1b/makefiles/arch/desktop.mk.orig 2005-12-06 14:29:15.000000000 -0800 ++++ fbreader-0.7.1b/makefiles/arch/desktop.mk 2006-02-15 01:16:49.000000000 -0800 +@@ -1,16 +1,16 @@ + include $(ROOTDIR)/makefiles/arch/dummy.mk + +-INSTALLDIR=/usr/local ++INSTALLDIR=/usr + +-CC = gcc ++CC = $(CCLD) $(TARGET_CFLAGS) + AR = ar rsu +-LD = g++ ++LD = $(CXX) + + DEPGEN = $(CC) -MM + CFLAGS = -pipe $(DUMMY_SECTIONS) -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -DINSTALLDIR=\"$(INSTALLDIR)\" + +-MOC = moc-qt3 +-QTINCLUDE = -I /usr/include/qt3 ++#MOC = moc-qt3 ++#QTINCLUDE = -I /usr/include/qt3 + + GTKINCLUDE = $(shell pkg-config --cflags gtk+-2.0) + diff --git a/packages/fbreader/files/set-target.patch b/packages/fbreader/files/set-target.patch new file mode 100644 index 0000000000..5a3b87d422 --- /dev/null +++ b/packages/fbreader/files/set-target.patch @@ -0,0 +1,13 @@ +--- fbreader-0.7.1b/makefiles/target.mk.orig 2005-12-06 14:29:15.000000000 -0800 ++++ fbreader-0.7.1b/makefiles/target.mk 2006-02-15 01:16:33.000000000 -0800 +@@ -10,8 +10,8 @@ + TARGET_ARCH = maemo + UI_TYPE = maemo + +-#TARGET_ARCH = desktop +-#UI_TYPE = gtk ++TARGET_ARCH = desktop ++UI_TYPE = gtk + #UI_TYPE = qt + + #TARGET_ARCH = zaurus |