mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 17:59:26 +00:00
cdb428e7c4
* based on discussion in pndeprecated thread: https://patchwork.openembedded.org/patch/137573/ update the messages to warn possible users that the recipe will be removed before the end of the next development cycle (before Yocto 2.4 is released). * updated with: sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs` * then noticed couple recipes being blacklisted only based on DISTRO_FEATURES, so removed those: meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb meta-oe/recipes-navigation/gypsy/gypsy.inc meta-oe/recipes-navigation/navit/navit.inc meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb * if it isn't fixed by this date, it's fair game to be removed whenever someone gets around to i Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
47 lines
1.6 KiB
BlitzBasic
47 lines
1.6 KiB
BlitzBasic
SUMMARY = "FBreader is an ebook reader"
|
|
HOMEPAGE = "http://www.fbreader.org"
|
|
SECTION = "x11/utils"
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://fbreader/LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
|
|
DEPENDS = "gtk+ enca expat bzip2 libgpewidget virtual/libiconv liblinebreak libfribidi curl sqlite3"
|
|
|
|
PR = "r1"
|
|
|
|
SRC_URI = "http://www.fbreader.org/fbreader-sources-${PV}.tgz \
|
|
file://Makefile.patch \
|
|
file://gcc45.patch \
|
|
file://fix-cflags-fribidi.patch \
|
|
file://fix-return-code-gcc6.patch"
|
|
|
|
# Set the defaults
|
|
READER_RESOLUTION ?= "1024x600"
|
|
READER_ARCH ?= "desktop"
|
|
READER_UI ?= "gtk"
|
|
READER_STATUS ?= "release"
|
|
|
|
FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary ${libdir}/zlibrary"
|
|
FILES_${PN}-dbg += "${libdir}/zlibrary/ui/.debug/"
|
|
|
|
CFLAGS_append = " RESOLUTION=${READER_RESOLUTION} INSTALLDIR=${prefix}"
|
|
EXTRA_OEMAKE = "CC='${CXX}' LD='${CXX}' LDFLAGS='${LDFLAGS}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'"
|
|
|
|
inherit pkgconfig
|
|
|
|
do_configure() {
|
|
cd ${WORKDIR}/${PN}-${PV}
|
|
mv makefiles/target.mk makefiles/target.mk.orig
|
|
|
|
echo "TARGET_ARCH = ${READER_ARCH}" > makefiles/target.mk
|
|
echo "UI_TYPE = ${READER_UI}" >> makefiles/target.mk
|
|
echo "TARGET_STATUS = ${READER_STATUS}" >> makefiles/target.mk
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake install DESTDIR=${D} RESOLUTION=${READER_RESOLUTION}
|
|
}
|
|
|
|
SRC_URI[md5sum] = "da9ec4721efdb0ec0aaa182bff16ad82"
|
|
SRC_URI[sha256sum] = "328aec454db80e225aa0b5c31adef74bf62a14357482947e87e9731686b3c624"
|
|
|
|
PNBLACKLIST[fbreader] ?= "Depends on blacklisted libgpewidget - the recipe will be removed on 2017-09-01 unless the issue is fixed"
|