1 |
commit: ab7362c35f6de29e3b9733d5e7afde79079bcf97 |
2 |
Author: Jouni Kosonen <jouni.kosonen <AT> tukesoft <DOT> com> |
3 |
AuthorDate: Fri Aug 14 09:10:21 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 21:53:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab7362c3 |
7 |
|
8 |
app-text/llpp: snapshot version p20191016 |
9 |
|
10 |
llpp v31 doesn't build against >=mupdf-1.17 and v32 against ocaml<4.10 |
11 |
|
12 |
Signed-off-by: Jouni Kosonen <jouni.kosonen <AT> tukesoft.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/16797 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
app-text/llpp/Manifest | 1 + |
17 |
app-text/llpp/llpp-31_p20191016.ebuild | 73 ++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 74 insertions(+) |
19 |
|
20 |
diff --git a/app-text/llpp/Manifest b/app-text/llpp/Manifest |
21 |
index bbcec5684f1..bd31a873817 100644 |
22 |
--- a/app-text/llpp/Manifest |
23 |
+++ b/app-text/llpp/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
DIST llpp-30.tar.gz 165821 BLAKE2B 755648f9f7e0e0740dd9647559c085ab1626edfceb91d8df4aa783610f32499d744f24a2e0ac0d6f13e747695e8829112e59bcf0fc78c7ef5f4b2427c759353d SHA512 1dfcf273bdabfb3c7b38366bac60659555b943f459cb3fd6e656df1a33c0f84e6745d62522c5498df0bd6182bda13973144724054588c07145018bb3e758d893 |
26 |
DIST llpp-30_p20190316.tar.gz 169517 BLAKE2B 56dbb4fc1f46e654f15986edf870bec22c3d26c694915db88125d99b8f0460c70ac3bd48c82f45f32939f5a09753a4ec6f2e6d544397a0d6ba242640c363917d SHA512 c736b94595eab1fd45e6fb6aa89a988e0c3ec1f4c7c88f8655d17a88c9ff62c6b7db4396a3934690861b5e61af595baa6736b92c585ad68c51677f3e577bd713 |
27 |
DIST llpp-31.tar.gz 169199 BLAKE2B 3f60db741fb94bf1b4753f5443705e68f062a68212fd3d0d8062f54b3b71002dc0ee3ba3040f9be028a40d8e96de11c8c53966196e631458f65d863f90f7226f SHA512 d9e213078899ece4a92291199bc2ea962c40a185b9908a7db241a773f57c64e08b004a8433984b86cc4b59088f97991b2ee8ee94e75d71536ce378dd32316e57 |
28 |
+DIST llpp-31_p20191016.tar.gz 169480 BLAKE2B af8f01d156863b642ad1c062b4b1a00a744955fdc1e7446b7a5023e6d03b58af77c699140b54d337c0eeacf65fba7a06ccfd6baa6ab9e1920bd7fd0fcfa90d97 SHA512 6fdd2621aec9f026e175c52957c77293a105adc81e42dad33f24631d5d2ae6775978834e84e1cab73cc8d1246af684384f9057a0f613438a19eaf7b607f92ddf |
29 |
|
30 |
diff --git a/app-text/llpp/llpp-31_p20191016.ebuild b/app-text/llpp/llpp-31_p20191016.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..71908e87e15 |
33 |
--- /dev/null |
34 |
+++ b/app-text/llpp/llpp-31_p20191016.ebuild |
35 |
@@ -0,0 +1,73 @@ |
36 |
+# Copyright 1999-2020 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit toolchain-funcs xdg-utils |
42 |
+ |
43 |
+DESCRIPTION="Graphical PDF viewer which aims to superficially resemble less(1)" |
44 |
+HOMEPAGE="https://github.com/moosotc/llpp" |
45 |
+MY_COMMIT="25c10de38cbfe0874d377e7599108e6b2a8a92ff" |
46 |
+SRC_URI="https://github.com/moosotc/llpp/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="public-domain" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~ppc ~x86" |
51 |
+IUSE="+ocamlopt static-libs" |
52 |
+ |
53 |
+RDEPEND=">=app-text/mupdf-1.17.0:0=[static-libs?] |
54 |
+ app-arch/bzip2[static-libs?] |
55 |
+ media-libs/fontconfig:1.0[static-libs?] |
56 |
+ media-libs/freetype:2[static-libs?] |
57 |
+ media-libs/jbig2dec:=[static-libs?] |
58 |
+ media-libs/openjpeg:2[static-libs?] |
59 |
+ sys-libs/zlib[static-libs?] |
60 |
+ virtual/jpeg:0[static-libs?] |
61 |
+ x11-libs/libX11[static-libs?] |
62 |
+ x11-libs/libXau[static-libs?] |
63 |
+ x11-libs/libXdmcp[static-libs?] |
64 |
+ x11-misc/xsel" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ dev-ml/lablgl[glut,ocamlopt?]" |
67 |
+BDEPEND=" |
68 |
+ >=dev-lang/ocaml-4.09[ocamlopt?] |
69 |
+ app-text/asciidoc |
70 |
+ virtual/pkgconfig" |
71 |
+ |
72 |
+RESTRICT="!ocamlopt? ( strip )" |
73 |
+ |
74 |
+PATCHES=( "${FILESDIR}"/${PN}-30-keysym.patch ) |
75 |
+ |
76 |
+S="${WORKDIR}"/"${PN}"-"${MY_COMMIT}" |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ default |
80 |
+ |
81 |
+ # use custom makefile from archlinux with minor changes |
82 |
+ cp "${FILESDIR}"/Makefile "${S}" || die |
83 |
+ |
84 |
+ # re-add desktop file removed upstream |
85 |
+ cp "${FILESDIR}"/llpp.desktop "${S}"/misc || die |
86 |
+ |
87 |
+ # remove empty interface definition |
88 |
+ rm "${S}"/main.mli || die |
89 |
+} |
90 |
+ |
91 |
+src_compile() { |
92 |
+ emake -j1 VERSION=${PV} CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" |
93 |
+} |
94 |
+ |
95 |
+src_install() { |
96 |
+ emake DESTDIR="${D}" PREFIX="/usr" install |
97 |
+ dodoc README Thanks |
98 |
+} |
99 |
+ |
100 |
+pkg_postinst() { |
101 |
+ xdg_desktop_database_update |
102 |
+ xdg_mimeinfo_database_update |
103 |
+} |
104 |
+ |
105 |
+pkg_postrm() { |
106 |
+ xdg_desktop_database_update |
107 |
+ xdg_mimeinfo_database_update |
108 |
+} |