summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-11-27 12:39:27 +0000
committerMichael Weber <xmw@gentoo.org>2012-11-27 12:39:27 +0000
commitaf5504ea7b4bef848d1822749c714f59442edb43 (patch)
tree1604058019d82435e2d25b661f21f315a3b411e1 /app-text/llpp
parentVersion bump. Fixes security bug 444696 (diff)
downloadgentoo-2-af5504ea7b4bef848d1822749c714f59442edb43.tar.gz
gentoo-2-af5504ea7b4bef848d1822749c714f59442edb43.tar.bz2
gentoo-2-af5504ea7b4bef848d1822749c714f59442edb43.zip
Version bump to git tag.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'app-text/llpp')
-rw-r--r--app-text/llpp/ChangeLog7
-rw-r--r--app-text/llpp/llpp-13.ebuild55
2 files changed, 61 insertions, 1 deletions
diff --git a/app-text/llpp/ChangeLog b/app-text/llpp/ChangeLog
index 6c2810b2c2ea..61357639be06 100644
--- a/app-text/llpp/ChangeLog
+++ b/app-text/llpp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/llpp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/ChangeLog,v 1.30 2012/08/09 06:38:23 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/ChangeLog,v 1.31 2012/11/27 12:39:27 xmw Exp $
+
+*llpp-13 (27 Nov 2012)
+
+ 27 Nov 2012; Michael Weber <xmw@gentoo.org> +llpp-13.ebuild:
+ Version bump to git tag.
09 Aug 2012; Michael Weber <xmw@gentoo.org> llpp-12.ebuild, llpp-9999.ebuild:
Fix mupdf dep, apply WM_CLASS patch on -9999 version.
diff --git a/app-text/llpp/llpp-13.ebuild b/app-text/llpp/llpp-13.ebuild
new file mode 100644
index 000000000000..ccd5b528b0ff
--- /dev/null
+++ b/app-text/llpp/llpp-13.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/llpp-13.ebuild,v 1.1 2012/11/27 12:39:27 xmw Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a graphical PDF viewer which aims to superficially resemble less(1)"
+HOMEPAGE="http://repo.or.cz/w/llpp.git"
+SRC_URI="http://repo.or.cz/w/llpp.git/snapshot/68f22b01f680b7afaf56c24ec0b4d7eae3d08c35.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/freetype
+ media-libs/jbig2dec
+ media-libs/openjpeg
+ virtual/jpeg
+ x11-libs/libX11
+ x11-misc/xsel"
+DEPEND="${RDEPEND}
+ app-text/mupdf
+ dev-lang/ocaml[ocamlopt]
+ dev-ml/lablgl[glut]"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-11-WM_CLASS.patch
+}
+
+src_compile() {
+ ocaml str.cma keystoml.ml KEYS > help.ml || die
+ printf 'let version ="%s";;\n' ${PV} >> help.ml || die
+
+ local myccopt="$(freetype-config --cflags) -O -include ft2build.h -D_GNU_SOURCE"
+ local mycclib="-lfitz -lz -ljpeg -lopenjpeg -ljbig2dec -lfreetype -lX11 -lpthread"
+ ocamlopt.opt -c -o link.o -ccopt "${myccopt}" link.c || die
+ ocamlopt.opt -c -o help.cmx help.ml || die
+ ocamlopt.opt -c -o wsi.cmi wsi.mli || die
+ ocamlopt.opt -c -o wsi.cmx wsi.ml || die
+ ocamlopt.opt -c -o parser.cmx parser.ml || die
+ ocamlopt.opt -c -o main.cmx -I +lablGL main.ml || die
+ ocamlopt.opt -o llpp -I +lablGL \
+ str.cmxa unix.cmxa lablgl.cmxa link.o \
+ -cclib "${mycclib}" help.cmx parser.cmx wsi.cmx main.cmx || die
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc KEYS README Thanks fixme
+}