summaryrefslogtreecommitdiff
path: root/packages/lyx/lyx_1.5.1.bb
blob: 60c10850b6592634ab98176c3d58373430a35038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "LyX is an advanced type setting processor - a frontend for LaTeX"
SECTION = "x11/office"
LICENSE = "GPL"
HOMEPAGE = "http://www.lyx.org"
DEPENDS = "boost qt4-x11-free"
RRECOMMENDS = "tetex"
RDEPENDS = "python-shell python-textutils"
PR = "r0"

DEFAULT_PREFERENCE = "-1"

SRC_URI = "http://lyx.cybermirror.org/stable/lyx-${PV}.tar.bz2"

inherit autotools qt4x11

EXTRA_OECONF = " --with-qt4-dir=${QTDIR} -enable-pch"
EXTRA_QMAKEVARS_POST = "DEFINES+=_LIBC"
PARALLEL_MAKE = ""

do_configure_prepend() {
	echo "NOTE: touching missing files, please report to upstream"
	touch lib/configure.ac lib/doc/LaTeXConfig.lyx lib/textclass.lst
}

export UIC="${OE_QMAKE_UIC}"
export MOC="${OE_QMAKE_MOC}"
export OE_QMAKE_LIBS_X11="-lX11 -lXext"