summaryrefslogtreecommitdiff
path: root/packages/lyx/lyx_1.5.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lyx/lyx_1.5.1.bb')
-rw-r--r--packages/lyx/lyx_1.5.1.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/lyx/lyx_1.5.1.bb b/packages/lyx/lyx_1.5.1.bb
new file mode 100644
index 0000000000..60c10850b6
--- /dev/null
+++ b/packages/lyx/lyx_1.5.1.bb
@@ -0,0 +1,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"