public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/llpp/
Date: Tue, 10 Nov 2020 05:36:32 +0000 (UTC)	[thread overview]
Message-ID: <1604986585.c93103835c13398057231ed89885538860f53af7.sam@gentoo> (raw)

commit:     c93103835c13398057231ed89885538860f53af7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 10 05:36:25 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 05:36:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9310383

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 <AT> gentoo.org>

 app-text/llpp/llpp-30.ebuild | 61 ++++++++++++++++++++------------------------
 app-text/llpp/llpp-33.ebuild | 50 +++++++++++++++---------------------
 2 files changed, 48 insertions(+), 63 deletions(-)

diff --git a/app-text/llpp/llpp-30.ebuild b/app-text/llpp/llpp-30.ebuild
index 782d76c46a4..31eafbf3035 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
-}

diff --git a/app-text/llpp/llpp-33.ebuild b/app-text/llpp/llpp-33.ebuild
index 5161e2bfb42..865b33f4568 100644
--- a/app-text/llpp/llpp-33.ebuild
+++ b/app-text/llpp/llpp-33.ebuild
@@ -3,7 +3,7 @@
 
 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,26 +12,28 @@ SRC_URI="https://github.com/moosotc/llpp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+ocamlopt static-libs"
-
-RDEPEND=">=app-text/mupdf-1.17.0:0=[static-libs?]
-	app-arch/bzip2[static-libs?]
-	media-libs/fontconfig:1.0[static-libs?]
-	media-libs/freetype:2[static-libs?]
-	media-libs/jbig2dec:=[static-libs?]
-	media-libs/openjpeg:2[static-libs?]
-	sys-libs/zlib[static-libs?]
-	virtual/jpeg:0[static-libs?]
-	x11-libs/libX11[static-libs?]
-	x11-libs/libXau[static-libs?]
-	x11-libs/libXdmcp[static-libs?]
-	x11-misc/xsel"
+IUSE="+ocamlopt"
+
+RDEPEND=">=app-text/mupdf-1.17.0:0=
+	app-arch/bzip2
+	media-libs/fontconfig:1.0
+	media-libs/freetype:2
+	media-libs/jbig2dec:=
+	media-libs/openjpeg:2
+	sys-libs/zlib
+	virtual/jpeg:0
+	x11-libs/libX11
+	x11-libs/libXau
+	x11-libs/libXdmcp
+	x11-misc/xsel
+"
 DEPEND="${RDEPEND}
-	dev-ml/lablgl[glut,ocamlopt?]"
+	dev-ml/lablgl:=[glut,ocamlopt?]"
 BDEPEND="
-	>=dev-lang/ocaml-4.09[ocamlopt?]
 	app-text/asciidoc
-	virtual/pkgconfig"
+	>=dev-lang/ocaml-4.09[ocamlopt?]
+	virtual/pkgconfig
+"
 
 RESTRICT="!ocamlopt? ( strip )"
 
@@ -53,16 +55,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
-}


             reply	other threads:[~2020-11-10  5:36 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10  5:36 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-05 15:27 [gentoo-commits] repo/gentoo:master commit in: app-text/llpp/ Arthur Zamarin
2020-11-14 23:40 Sam James
2020-11-12  0:35 Thomas Deutschmann
2020-10-26  6:24 Tim Harder
2020-09-02 21:53 Sam James
2020-09-02 21:53 Sam James
2020-09-02 21:53 Sam James
2019-02-20 13:25 Mikle Kolyada
2019-02-15  0:18 Thomas Deutschmann
2018-08-18 18:16 Virgil Dupras
2018-04-14 17:24 Aaron Bauman
2018-04-12  0:54 Thomas Deutschmann
2018-01-28 13:31 Michael Weber
2017-05-13 22:46 Michael Weber
2017-05-07 10:36 Agostino Sarubbo
2017-05-06 13:26 Agostino Sarubbo
2017-04-28  9:39 Michael Weber
2017-01-29 19:24 Michael Weber
2017-01-23 14:48 Agostino Sarubbo
2017-01-23 14:48 Agostino Sarubbo
2017-01-23  1:25 Michael Weber
2017-01-23  1:25 Michael Weber
2016-10-30  8:17 Pacho Ramos
2016-06-06 23:08 Michael Weber
2016-06-04 19:46 Michael Weber
2016-06-04 19:46 Michael Weber
2016-04-18  0:36 Michael Weber
2016-01-12 22:43 Michael Weber
2016-01-09  0:11 Michael Weber
2015-08-11 10:29 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1604986585.c93103835c13398057231ed89885538860f53af7.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox