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: Wed,  2 Sep 2020 21:53:40 +0000 (UTC)	[thread overview]
Message-ID: <1599083615.0c66b1512801731efb3c03fd9a6e79895a22aecc.sam@gentoo> (raw)

commit:     0c66b1512801731efb3c03fd9a6e79895a22aecc
Author:     Jouni Kosonen <jouni.kosonen <AT> tukesoft <DOT> com>
AuthorDate: Fri Jul 24 12:05:30 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 21:53:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c66b151

app-text/llpp: version bump to 31

v31 works with mupdf-1.16.1 and ocaml-4.09.0 currently in the tree

Bug: https://bugs.gentoo.org/733332
Signed-off-by: Jouni Kosonen <jouni.kosonen <AT> tukesoft.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/llpp/Manifest       |  1 +
 app-text/llpp/llpp-31.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/app-text/llpp/Manifest b/app-text/llpp/Manifest
index 5a5f1b30293..bbcec5684f1 100644
--- a/app-text/llpp/Manifest
+++ b/app-text/llpp/Manifest
@@ -1,2 +1,3 @@
 DIST llpp-30.tar.gz 165821 BLAKE2B 755648f9f7e0e0740dd9647559c085ab1626edfceb91d8df4aa783610f32499d744f24a2e0ac0d6f13e747695e8829112e59bcf0fc78c7ef5f4b2427c759353d SHA512 1dfcf273bdabfb3c7b38366bac60659555b943f459cb3fd6e656df1a33c0f84e6745d62522c5498df0bd6182bda13973144724054588c07145018bb3e758d893
 DIST llpp-30_p20190316.tar.gz 169517 BLAKE2B 56dbb4fc1f46e654f15986edf870bec22c3d26c694915db88125d99b8f0460c70ac3bd48c82f45f32939f5a09753a4ec6f2e6d544397a0d6ba242640c363917d SHA512 c736b94595eab1fd45e6fb6aa89a988e0c3ec1f4c7c88f8655d17a88c9ff62c6b7db4396a3934690861b5e61af595baa6736b92c585ad68c51677f3e577bd713
+DIST llpp-31.tar.gz 169199 BLAKE2B 3f60db741fb94bf1b4753f5443705e68f062a68212fd3d0d8062f54b3b71002dc0ee3ba3040f9be028a40d8e96de11c8c53966196e631458f65d863f90f7226f SHA512 d9e213078899ece4a92291199bc2ea962c40a185b9908a7db241a773f57c64e08b004a8433984b86cc4b59088f97991b2ee8ee94e75d71536ce378dd32316e57

diff --git a/app-text/llpp/llpp-31.ebuild b/app-text/llpp/llpp-31.ebuild
new file mode 100644
index 00000000000..78104778ab6
--- /dev/null
+++ b/app-text/llpp/llpp-31.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="Graphical PDF viewer which aims to superficially resemble less(1)"
+HOMEPAGE="https://github.com/moosotc/llpp"
+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.16*: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"
+DEPEND="${RDEPEND}
+	dev-ml/lablgl[glut,ocamlopt?]"
+BDEPEND="
+	>=dev-lang/ocaml-4.09[ocamlopt?]
+	app-text/asciidoc
+	virtual/pkgconfig"
+
+RESTRICT="!ocamlopt? ( strip )"
+
+PATCHES=( "${FILESDIR}"/${PN}-30-keysym.patch )
+
+src_prepare() {
+	default
+
+	# use custom makefile from archlinux with minor changes
+	cp "${FILESDIR}"/Makefile "${S}" || die
+
+	# re-add desktop file removed upstream
+	cp "${FILESDIR}"/llpp.desktop "${S}"/misc || die
+
+	# remove empty interface definition
+	rm "${S}"/main.mli || die
+}
+
+src_compile() {
+	emake -j1 VERSION=${PV} CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)"
+}
+
+src_install() {
+	emake DESTDIR="${D}" 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-09-02 21:53 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-02 21:53 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-11-10  5:36 Sam James
2020-10-26  6:24 Tim Harder
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=1599083615.0c66b1512801731efb3c03fd9a6e79895a22aecc.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