1 |
commit: 0c564292d877f05eb7ca73f951ca459586bad220 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 21:50:59 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 21:53:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c564292 |
7 |
|
8 |
app-text/llpp: port to xdg eclass |
9 |
|
10 |
The xdg eclass has some nice detection for when |
11 |
we need to call the metadata/cache re-generation, |
12 |
so let's make use of that instead. |
13 |
|
14 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
app-text/llpp/llpp-31.ebuild | 29 ++++++++++------------------- |
18 |
1 file changed, 10 insertions(+), 19 deletions(-) |
19 |
|
20 |
diff --git a/app-text/llpp/llpp-31.ebuild b/app-text/llpp/llpp-31.ebuild |
21 |
index 78104778ab6..439e1c537ab 100644 |
22 |
--- a/app-text/llpp/llpp-31.ebuild |
23 |
+++ b/app-text/llpp/llpp-31.ebuild |
24 |
@@ -3,7 +3,7 @@ |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-inherit toolchain-funcs xdg-utils |
29 |
+inherit toolchain-funcs xdg |
30 |
|
31 |
DESCRIPTION="Graphical PDF viewer which aims to superficially resemble less(1)" |
32 |
HOMEPAGE="https://github.com/moosotc/llpp" |
33 |
@@ -14,24 +14,25 @@ SLOT="0" |
34 |
KEYWORDS="~amd64 ~ppc ~x86" |
35 |
IUSE="+ocamlopt static-libs" |
36 |
|
37 |
-RDEPEND="=app-text/mupdf-1.16*:0=[static-libs?] |
38 |
+BDEPEND=" |
39 |
+ app-text/asciidoc |
40 |
+ virtual/pkgconfig" |
41 |
+RDEPEND=" |
42 |
+ =app-text/mupdf-1.16*:0=[static-libs?] |
43 |
app-arch/bzip2[static-libs?] |
44 |
media-libs/fontconfig:1.0[static-libs?] |
45 |
media-libs/freetype:2[static-libs?] |
46 |
media-libs/jbig2dec:=[static-libs?] |
47 |
- media-libs/openjpeg:2[static-libs?] |
48 |
- sys-libs/zlib[static-libs?] |
49 |
+ media-libs/openjpeg:2=[static-libs?] |
50 |
+ sys-libs/zlib:=[static-libs?] |
51 |
virtual/jpeg:0[static-libs?] |
52 |
x11-libs/libX11[static-libs?] |
53 |
x11-libs/libXau[static-libs?] |
54 |
x11-libs/libXdmcp[static-libs?] |
55 |
x11-misc/xsel" |
56 |
DEPEND="${RDEPEND} |
57 |
- dev-ml/lablgl[glut,ocamlopt?]" |
58 |
-BDEPEND=" |
59 |
>=dev-lang/ocaml-4.09[ocamlopt?] |
60 |
- app-text/asciidoc |
61 |
- virtual/pkgconfig" |
62 |
+ dev-ml/lablgl[glut,ocamlopt?]" |
63 |
|
64 |
RESTRICT="!ocamlopt? ( strip )" |
65 |
|
66 |
@@ -55,16 +56,6 @@ src_compile() { |
67 |
} |
68 |
|
69 |
src_install() { |
70 |
- emake DESTDIR="${D}" PREFIX="/usr" install |
71 |
+ emake DESTDIR="${ED}" PREFIX="/usr" install |
72 |
dodoc README Thanks |
73 |
} |
74 |
- |
75 |
-pkg_postinst() { |
76 |
- xdg_desktop_database_update |
77 |
- xdg_mimeinfo_database_update |
78 |
-} |
79 |
- |
80 |
-pkg_postrm() { |
81 |
- xdg_desktop_database_update |
82 |
- xdg_mimeinfo_database_update |
83 |
-} |