1 |
xmw 13/08/29 13:42:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: llpp-16_p20130828.ebuild |
5 |
Log: |
6 |
Add snapshot versions for llpp and mupdf |
7 |
|
8 |
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 app-text/llpp/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/llpp/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/llpp/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/llpp/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/llpp/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 29 Aug 2013 05:54:07 -0000 1.50 |
24 |
+++ ChangeLog 29 Aug 2013 13:42:12 -0000 1.51 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-text/llpp |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/ChangeLog,v 1.50 2013/08/29 05:54:07 xmw Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/ChangeLog,v 1.51 2013/08/29 13:42:12 xmw Exp $ |
30 |
+ |
31 |
+*llpp-16_p20130828 (29 Aug 2013) |
32 |
+ |
33 |
+ 29 Aug 2013; Michael Weber <xmw@g.o> +llpp-16_p20130828.ebuild: |
34 |
+ Add snapshot versions for llpp and mupdf |
35 |
|
36 |
*llpp-16 (29 Aug 2013) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-text/llpp/llpp-16_p20130828.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/llpp/llpp-16_p20130828.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/llpp/llpp-16_p20130828.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: llpp-16_p20130828.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/llpp-16_p20130828.ebuild,v 1.1 2013/08/29 13:42:12 xmw Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit eutils multilib toolchain-funcs vcs-snapshot |
55 |
|
56 |
DESCRIPTION="a graphical PDF viewer which aims to superficially resemble less(1)" |
57 |
HOMEPAGE="http://repo.or.cz/w/llpp.git" |
58 |
SRC_URI="http://repo.or.cz/w/llpp.git/snapshot/cf42fd2ff504f7479d708f9c5f2d8430b138575e.tar.gz -> ${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-3" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="+ocamlopt static" |
64 |
|
65 |
LIB_DEPEND="~app-text/mupdf-1.3_p20130828:=[static-libs] |
66 |
media-libs/openjpeg:2[static-libs] |
67 |
media-libs/freetype:2[static-libs] |
68 |
media-libs/jbig2dec[static-libs] |
69 |
sys-libs/zlib[static-libs] |
70 |
virtual/jpeg:0[static-libs] |
71 |
x11-libs/libX11[static-libs]" |
72 |
RDEPEND="x11-misc/xsel |
73 |
!static? ( ${LIB_DEPEND//\[static-libs]} )" |
74 |
DEPEND="${RDEPEND} |
75 |
static? ( ${LIB_DEPEND} |
76 |
app-arch/bzip2[static-libs] |
77 |
media-libs/libXcm[static-libs] |
78 |
x11-libs/libXau[static-libs] |
79 |
x11-libs/libXdmcp[static-libs] |
80 |
x11-libs/libXmu[static-libs] ) |
81 |
dev-lang/ocaml[ocamlopt?] |
82 |
dev-ml/lablgl[glut,ocamlopt?]" |
83 |
|
84 |
RESTRICT="!ocamlopt? ( strip )" |
85 |
|
86 |
src_prepare() { |
87 |
epatch "${FILESDIR}"/${PN}-11-WM_CLASS.patch |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
local ocaml=$(usex ocamlopt ocamlopt.opt ocamlc.opt) |
92 |
local cmo=$(usex ocamlopt cmx cmo) |
93 |
local cma=$(usex ocamlopt cmxa cma) |
94 |
local ccopt="$(freetype-config --cflags ) -O -include ft2build.h -D_GNU_SOURCE" |
95 |
if use static ; then |
96 |
local cclib="" |
97 |
local slib="" |
98 |
local spath=( ${EROOT}usr/$(get_libdir) $($(tc-getPKG_CONFIG) --libs-only-L --static mupdf x11 | sed 's:-L::g') ) |
99 |
for slib in $($(tc-getPKG_CONFIG) --libs-only-l --static mupdf x11) -ljpeg -ljbig2dec ; do |
100 |
case ${slib} in |
101 |
-lm|-ldl|-lpthread) |
102 |
einfo "${slib}: shared" |
103 |
cclib+="${slib} " ;; |
104 |
*) |
105 |
local ccnew=$(find ${spath} -name "lib${slib/-l}.a") |
106 |
einfo "${slib}: use ${ccnew}" |
107 |
cclib+="${ccnew} " ;; |
108 |
esac |
109 |
done |
110 |
else |
111 |
local cclib="$($(tc-getPKG_CONFIG) --libs mupdf x11) -lpthread" |
112 |
fi |
113 |
|
114 |
verbose() { echo "$@" >&2 ; "$@" || die ; } |
115 |
verbose ocaml str.cma keystoml.ml < KEYS > help.ml |
116 |
verbose printf 'let version ="%s";;\n' ${PV} >> help.ml |
117 |
verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c |
118 |
verbose ${ocaml} -c -o help.${cmo} help.ml |
119 |
verbose ${ocaml} -c -o utils.${cmo} utils.ml |
120 |
verbose ${ocaml} -c -o wsi.cmi wsi.mli |
121 |
verbose ${ocaml} -c -o wsi.${cmo} wsi.ml |
122 |
verbose ${ocaml} -c -o parser.${cmo} parser.ml |
123 |
verbose ${ocaml} -c -o main.${cmo} -I +lablGL main.ml |
124 |
verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL\ |
125 |
str.${cma} unix.${cma} lablgl.${cma} link.o \ |
126 |
-cclib "${cclib}" \ |
127 |
help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} main.${cmo} |
128 |
} |
129 |
|
130 |
src_install() { |
131 |
dobin ${PN} |
132 |
dodoc KEYS README Thanks fixme |
133 |
} |