summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-11-10 05:36:25 +0000
committerSam James <sam@gentoo.org>2020-11-10 05:36:25 +0000
commitc93103835c13398057231ed89885538860f53af7 (patch)
treee34f6c388f4d865c8aae45e85a93c59a4a2fc955 /app-text/llpp/llpp-30.ebuild
parentapp-text/mupdf: drop static-libs; conditional mujs (diff)
downloadgentoo-c93103835c13398057231ed89885538860f53af7.tar.gz
gentoo-c93103835c13398057231ed89885538860f53af7.tar.bz2
gentoo-c93103835c13398057231ed89885538860f53af7.zip
app-text/llpp: drop static-libs
Dropped in mupdf now. Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/llpp/llpp-30.ebuild')
-rw-r--r--app-text/llpp/llpp-30.ebuild61
1 files changed, 27 insertions, 34 deletions
diff --git a/app-text/llpp/llpp-30.ebuild b/app-text/llpp/llpp-30.ebuild
index 782d76c46a45..31eafbf3035e 100644
--- a/app-text/llpp/llpp-30.ebuild
+++ b/app-text/llpp/llpp-30.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit toolchain-funcs xdg-utils
+inherit toolchain-funcs xdg
DESCRIPTION="graphical PDF viewer which aims to superficially resemble less(1)"
HOMEPAGE="https://github.com/moosotc/llpp"
@@ -12,29 +12,32 @@ SRC_URI="https://github.com/moosotc/llpp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
-IUSE="+ocamlopt static"
+IUSE="+ocamlopt"
-LIB_DEPEND=">=app-text/mupdf-1.12.0:0=[static-libs]
- media-libs/openjpeg:2[static-libs]
- media-libs/fontconfig:1.0[static-libs]
- media-libs/freetype:2[static-libs]
- media-libs/jbig2dec:=[static-libs]
- sys-libs/zlib[static-libs]
- virtual/jpeg:0[static-libs]
- x11-libs/libX11[static-libs]"
-RDEPEND="x11-misc/xsel
- !static? ( ${LIB_DEPEND//\[static-libs]} )"
+BDEPEND="
+ >=dev-lang/ocaml-4.02:=[ocamlopt?]
+ virtual/pkgconfig
+"
+RDEPEND="
+ >=app-text/mupdf-1.12.0:0=
+ media-libs/openjpeg:2
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ media-libs/jbig2dec:=
+ sys-libs/zlib
+ virtual/jpeg:0
+ x11-libs/libX11
+ x11-misc/xsel
+"
DEPEND="${RDEPEND}
+ app-arch/bzip2
app-text/asciidoc
- virtual/pkgconfig
- static? ( ${LIB_DEPEND}
- app-arch/bzip2[static-libs]
- media-libs/libXcm[static-libs]
- x11-libs/libXau[static-libs]
- x11-libs/libXdmcp[static-libs]
- x11-libs/libXmu[static-libs] )
- >=dev-lang/ocaml-4.02[ocamlopt?]
- dev-ml/lablgl[glut,ocamlopt?]"
+ dev-ml/lablgl:=[glut,ocamlopt?]
+ media-libs/libXcm
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXmu
+"
RESTRICT="!ocamlopt? ( strip )"
@@ -55,16 +58,6 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}" PREFIX="/usr" install
+ emake DESTDIR="${ED}" PREFIX="/usr" install
dodoc README Thanks
}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}