1 DESCRIPTION
= "FBreader is an ebook reader"
2 HOMEPAGE
= "http://www.fbreader.org"
6 DEPENDS
= "gtk+ enca expat bzip2 libgpewidget virtual/libiconv"
9 # The RESOLUTION is defined at compile time which makes
10 # this package MACHINE specific.
11 PACKAGE_ARCH_$
{PN
} = "${MACHINE_ARCH}"
13 SRC_URI
= "http://www.fbreader.org/obsolete/fbreader-sources-${PV}.tgz \
14 file://fbreader-0.8.2a_buildsys_oe.patch \
15 file://480x640-buildfix.patch"
17 SRC_URI_append_spitz
= "\
18 file://zaurus-VGA.patch"
20 SRC_URI_append_akita
= "\
21 file://zaurus-VGA.patch"
23 SRC_URI_append_htcuniversal
= "\
24 file://zaurus-VGA.patch"
27 READER_RESOLUTION
= "240x320"
28 READER_ARCH
= "openzaurus"
30 READER_STATUS
= "release"
32 # Set device specific overrides
33 READER_RESOLUTION_om
-gta01
= "480x640"
34 READER_RESOLUTION_spitz
= "640x480"
35 READER_RESOLUTION_akita
= "640x480"
36 READER_RESOLUTION_htcuniversal
= "640x480"
38 FILES_$
{PN
} += "${datadir}/FBReader ${datadir}/zlibrary"
40 CFLAGS_append
= " RESOLUTION=${READER_RESOLUTION} INSTALLDIR=/usr"
41 EXTRA_OEMAKE
= "CC='${CXX}' LD='${CXX}' OE_CFLAGS='${CXXFLAGS}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'"
46 cd $
{WORKDIR
}/$
{PN
}-$
{PV
}
47 mv makefiles
/target.mk makefiles
/target.mk.orig
49 echo
"TARGET_ARCH = ${READER_ARCH}" > makefiles
/target.mk
50 echo
"UI_TYPE = ${READER_GUI}" >> makefiles
/target.mk
51 echo
"TARGET_STATUS = ${READER_STATUS}" >> makefiles
/target.mk
55 # FIXME
: Add native _480x640 file with propper linebreaks
56 ln
-s MiniHelp
.240x320.fb2 MiniHelp.openzaurus_480x640.fb2
60 cd fbreader
/$
{READER_ARCH
}; oe_runmake .builddir RESOLUTION=${READER_RESOLUTION}
64 SRC_URI
[md5sum
] = "3b4944bf0d37b42249bef84d59918ce0"
65 SRC_URI
[sha256sum
] = "4e505820b150ae35a40c39a3d2aeb7a8dcb6bd9b599055c40f566d874e4d1c82"