summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/fbreader/fbreader_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/fbreader/fbreader_git.bb')
-rw-r--r--meta-oe/recipes-support/fbreader/fbreader_git.bb41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta-oe/recipes-support/fbreader/fbreader_git.bb b/meta-oe/recipes-support/fbreader/fbreader_git.bb
deleted file mode 100644
index 937bdc828..000000000
--- a/meta-oe/recipes-support/fbreader/fbreader_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
1DESCRIPTION = "FBreader is an ebook reader"
2HOMEPAGE = "http://www.fbreader.org"
3SECTION = "x11/utils"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://fbreader/LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
6DEPENDS = "gtk+ enca expat bzip2 libgpewidget virtual/libiconv liblinebreak libfribidi curl"
7SRCREV = "2cf1ec0e306e1122dbed850bfa005cd59a6168ee"
8PV = "0.99.5+gitr${SRCPV}"
9PR = "r0"
10
11DEFAULT_PREFERENCE = "-1"
12
13SRC_URI = "git://github.com/geometer/FBReader.git;protocol=http;branch=master \
14 file://0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch"
15
16# Set the defaults
17READER_RESOLUTION ?= "1024x600"
18READER_ARCH ?= "desktop"
19READER_UI ?= "gtk"
20READER_STATUS ?= "release"
21
22FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary ${libdir}/zlibrary"
23FILES_${PN}-dbg += "${libdir}/zlibrary/ui/.debug/"
24
25CFLAGS_append = " RESOLUTION=${READER_RESOLUTION} INSTALLDIR=${prefix}"
26EXTRA_OEMAKE = "CC='${CXX}' LD='${CXX}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'"
27inherit pkgconfig
28
29S = "${WORKDIR}/git"
30
31do_configure() {
32 cd "${S}"
33
34 echo "TARGET_ARCH = ${READER_ARCH}" > makefiles/target.mk
35 echo "UI_TYPE = ${READER_UI}" >> makefiles/target.mk
36 echo "TARGET_STATUS = ${READER_STATUS}" >> makefiles/target.mk
37}
38
39do_install() {
40 oe_runmake install DESTDIR=${D} RESOLUTION=${READER_RESOLUTION}
41}