diff options
Diffstat (limited to 'meta-oe/recipes-support/fbreader/fbreader_git.bb')
-rw-r--r-- | meta-oe/recipes-support/fbreader/fbreader_git.bb | 41 |
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 @@ | |||
1 | DESCRIPTION = "FBreader is an ebook reader" | ||
2 | HOMEPAGE = "http://www.fbreader.org" | ||
3 | SECTION = "x11/utils" | ||
4 | LICENSE = "GPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://fbreader/LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
6 | DEPENDS = "gtk+ enca expat bzip2 libgpewidget virtual/libiconv liblinebreak libfribidi curl" | ||
7 | SRCREV = "2cf1ec0e306e1122dbed850bfa005cd59a6168ee" | ||
8 | PV = "0.99.5+gitr${SRCPV}" | ||
9 | PR = "r0" | ||
10 | |||
11 | DEFAULT_PREFERENCE = "-1" | ||
12 | |||
13 | SRC_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 | ||
17 | READER_RESOLUTION ?= "1024x600" | ||
18 | READER_ARCH ?= "desktop" | ||
19 | READER_UI ?= "gtk" | ||
20 | READER_STATUS ?= "release" | ||
21 | |||
22 | FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary ${libdir}/zlibrary" | ||
23 | FILES_${PN}-dbg += "${libdir}/zlibrary/ui/.debug/" | ||
24 | |||
25 | CFLAGS_append = " RESOLUTION=${READER_RESOLUTION} INSTALLDIR=${prefix}" | ||
26 | EXTRA_OEMAKE = "CC='${CXX}' LD='${CXX}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'" | ||
27 | inherit pkgconfig | ||
28 | |||
29 | S = "${WORKDIR}/git" | ||
30 | |||
31 | do_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 | |||
39 | do_install() { | ||
40 | oe_runmake install DESTDIR=${D} RESOLUTION=${READER_RESOLUTION} | ||
41 | } | ||