public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/jmupdf/
@ 2015-10-15 18:51 Pacho Ramos
  0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos @ 2015-10-15 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     d6974f3d5a9cf5619aeddc39cd45f62b90f70ac1
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 15 18:51:29 2015 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 18:51:29 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6974f3d

app-text/jmupdf: This needs freetype (#536054) and openjpeg (#481292)

Package-Manager: portage-2.2.23

 app-text/jmupdf/jmupdf-0.4.1-r1.ebuild | 75 ++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/app-text/jmupdf/jmupdf-0.4.1-r1.ebuild b/app-text/jmupdf/jmupdf-0.4.1-r1.ebuild
new file mode 100644
index 0000000..42b2a1a
--- /dev/null
+++ b/app-text/jmupdf/jmupdf-0.4.1-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic java-pkg-2 java-ant-2 multilib
+EANT_BUILD_TARGET=${PN}
+
+DESCRIPTION="Java library for rendering PDF, XPS and CBZ (Comic Book) documents"
+HOMEPAGE="https://code.google.com/p/jmupdf/"
+SRC_URI="https://jmupdf.googlecode.com/files/2012-02-23-source-${P}.7z"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="system-mupdf"
+
+REQUIRED_USE="!system-mupdf"
+
+RDEPEND="
+	media-libs/freetype:2
+	media-libs/openjpeg:0=
+	system-mupdf? ( >=app-text/mupdf-1.2 )
+	virtual/jdk:1.7
+"
+DEPEND="${RDEPEND}
+	app-arch/p7zip
+	media-libs/libbmp
+"
+
+S=${WORKDIR}/${PN}/${PN}
+
+src_prepare() {
+	epatch \
+		"${FILESDIR}"/${P}-build-xml.patch \
+		"${FILESDIR}"/${P}-umlaut.patch
+
+	edos2unix ../mupdf/jni/*
+
+	sed -e "/^JVM_INCLUDES/s:=.*:= $(java-pkg_get-jni-cflags):" \
+		-i ../mupdf/MakeJNI2 || die
+	sed -e "s:-pipe -O2::" \
+		-i ../mupdf/Makerules || die
+
+	rm -r ../mupdf/thirdparty || die
+	if use system-mupdf ; then
+		for i in android apps cbz cmaps debian draw fitz fonts ios pdf scripts viewer win32 xps ; do
+			einfo remove mupdf/${i}
+			rm -r ../mupdf/${i} || die
+		done
+	fi
+}
+
+src_compile() {
+	local system-fitz=$(usex system-mupdf "FITZ_LIB=\"${EROOT}usr/$(get_libdir)/libfitz.so\"" "" )
+	emake -C ../mupdf \
+		CC="$(tc-getCC)" \
+		AR="$(tc-getAR)" \
+		SYS_FREETYPE_INC="$($(tc-getPKG_CONFIG) --cflags freetype2)" \
+		"${system-fitz}" \
+		JNI_DLL=build/libjmupdf.so \
+		JNI_CMD="-shared -Wl,-soname -Wl,lib${PN}.so" \
+		build/libjmupdf.so
+
+	java-pkg-2_src_compile
+}
+
+src_install() {
+	dolib.so ../mupdf/build/lib${PN}.so
+
+	java-pkg_dojar build/${PN}{,-viewer}.jar
+
+	dodoc Readme
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/jmupdf/
@ 2017-02-05 22:37 Michael Weber
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Weber @ 2017-02-05 22:37 UTC (permalink / raw
  To: gentoo-commits

commit:     bad1bbb4fed01ab9f6888f462afb34928be846db
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  5 17:30:40 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sun Feb  5 22:36:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad1bbb4

app-text/jmupdf: Remove old versions.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-text/jmupdf/Manifest            |  1 -
 app-text/jmupdf/jmupdf-0.3.0.ebuild | 69 ------------------------------------
 app-text/jmupdf/jmupdf-0.4.1.ebuild | 70 -------------------------------------
 3 files changed, 140 deletions(-)

diff --git a/app-text/jmupdf/Manifest b/app-text/jmupdf/Manifest
index 7fbfc73..c39f1f1 100644
--- a/app-text/jmupdf/Manifest
+++ b/app-text/jmupdf/Manifest
@@ -1,2 +1 @@
-DIST 2012-01-24-src-jmupdf-0.3.0.7z 4171032 SHA256 e2687e779de545c3c0692e3c19cf5ceb70fa1b04ce0dba2e3f5d0956113b817f SHA512 c4c296998f4c837accc5219e617176748f141fef42eb49f1a89638f915331bae0d87684d2e02b590691dae6684095083e329734ecdd578edd6d15ba9981aab5c WHIRLPOOL c6dd8da8452e749c8126ac488ed9ac527f898dcec9c3694a5be529d90a08d08f1362294f567a84075b9595049607619621cbf3b1055f4de7d64e76703e944aac
 DIST 2012-02-23-source-jmupdf-0.4.1.7z 4212084 SHA256 cb7311021dce6e1e7425b088f4d60c12f43c0e26eff794b057d78e105cdbbbc0 SHA512 f16190d02f9c3f6fe9aa2acd7bd270b6e807b61e926cd1bc4e17628f2d62a45d0f024c2748e4eb0a20e7da55895289f6c74685cb371e101a0901235a48eb1f42 WHIRLPOOL e8e93d303e925d1c1313d9951b3306d01abcb9ce1bca50fb40054e807c67f0347ee7c2375de11fde4f957f56fdc98e70620698fb3a02ff8a9f651fb6a21ffe86

diff --git a/app-text/jmupdf/jmupdf-0.3.0.ebuild b/app-text/jmupdf/jmupdf-0.3.0.ebuild
deleted file mode 100644
index a039d8a..00000000
--- a/app-text/jmupdf/jmupdf-0.3.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils flag-o-matic java-pkg-2 java-ant-2 multilib
-EANT_BUILD_TARGET=${PN}
-
-DESCRIPTION="Java library for rendering PDF, XPS and CBZ (Comic Book) documents"
-HOMEPAGE="https://code.google.com/p/jmupdf/"
-SRC_URI="https://jmupdf.googlecode.com/files/2012-01-24-src-${P}.7z"
-
-LICENSE="GPL-1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="system-mupdf"
-
-REQUIRED_USE="!system-mupdf"
-
-RDEPEND="system-mupdf? ( >=app-text/mupdf-1.2 )
-	virtual/jdk:1.7"
-DEPEND="${RDEPEND}
-	app-arch/p7zip
-	media-libs/libbmp"
-
-S=${WORKDIR}/${PN}/${PN}
-
-src_prepare() {
-	epatch \
-		"${FILESDIR}"/${PN}-0.4.1-build-xml.patch
-
-	edos2unix ../mupdf/jni/*
-
-	sed -e "/^JVM_INCLUDES/s:=.*:= $(java-pkg_get-jni-cflags):" \
-		-i ../mupdf/MakeJNI2 || die
-	sed -e "s:-pipe -O2::" \
-		-i ../mupdf/Makerules || die
-
-	rm -r ../mupdf/thirdparty || die
-	if use system-mupdf ; then
-		for i in android apps cbz cmaps debian draw fitz fonts ios pdf scripts viewer win32 xps ; do
-			einfo remove mupdf/${i}
-			rm -r ../mupdf/${i} || die
-		done
-	fi
-}
-
-src_compile() {
-	local system-fitz=$(usex system-mupdf "FITZ_LIB=\"${EROOT}usr/$(get_libdir)/libfitz.so\"" "" )
-	emake -C ../mupdf \
-		CC="$(tc-getCC)" \
-		AR="$(tc-getAR)" \
-		SYS_FREETYPE_INC="$($(tc-getPKG_CONFIG) --cflags freetype2)" \
-		"${system-fitz}" \
-		JNI_DLL=build/libjmupdf.so \
-		JNI_CMD="-shared -Wl,-soname -Wl,lib${PN}.so" \
-		build/libjmupdf.so
-
-	java-pkg-2_src_compile
-}
-
-src_install() {
-	dolib.so ../mupdf/build/lib${PN}.so
-
-	java-pkg_dojar build/${PN}{,-viewer}.jar
-
-	dodoc Readme
-}

diff --git a/app-text/jmupdf/jmupdf-0.4.1.ebuild b/app-text/jmupdf/jmupdf-0.4.1.ebuild
deleted file mode 100644
index 08a2b4b..00000000
--- a/app-text/jmupdf/jmupdf-0.4.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils flag-o-matic java-pkg-2 java-ant-2 multilib
-EANT_BUILD_TARGET=${PN}
-
-DESCRIPTION="Java library for rendering PDF, XPS and CBZ (Comic Book) documents"
-HOMEPAGE="https://code.google.com/p/jmupdf/"
-SRC_URI="https://jmupdf.googlecode.com/files/2012-02-23-source-${P}.7z"
-
-LICENSE="GPL-1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="system-mupdf"
-
-REQUIRED_USE="!system-mupdf"
-
-RDEPEND="system-mupdf? ( >=app-text/mupdf-1.2 )
-	virtual/jdk:1.7"
-DEPEND="${RDEPEND}
-	app-arch/p7zip
-	media-libs/libbmp"
-
-S=${WORKDIR}/${PN}/${PN}
-
-src_prepare() {
-	epatch \
-		"${FILESDIR}"/${P}-build-xml.patch \
-		"${FILESDIR}"/${P}-umlaut.patch
-
-	edos2unix ../mupdf/jni/*
-
-	sed -e "/^JVM_INCLUDES/s:=.*:= $(java-pkg_get-jni-cflags):" \
-		-i ../mupdf/MakeJNI2 || die
-	sed -e "s:-pipe -O2::" \
-		-i ../mupdf/Makerules || die
-
-	rm -r ../mupdf/thirdparty || die
-	if use system-mupdf ; then
-		for i in android apps cbz cmaps debian draw fitz fonts ios pdf scripts viewer win32 xps ; do
-			einfo remove mupdf/${i}
-			rm -r ../mupdf/${i} || die
-		done
-	fi
-}
-
-src_compile() {
-	local system-fitz=$(usex system-mupdf "FITZ_LIB=\"${EROOT}usr/$(get_libdir)/libfitz.so\"" "" )
-	emake -C ../mupdf \
-		CC="$(tc-getCC)" \
-		AR="$(tc-getAR)" \
-		SYS_FREETYPE_INC="$($(tc-getPKG_CONFIG) --cflags freetype2)" \
-		"${system-fitz}" \
-		JNI_DLL=build/libjmupdf.so \
-		JNI_CMD="-shared -Wl,-soname -Wl,lib${PN}.so" \
-		build/libjmupdf.so
-
-	java-pkg-2_src_compile
-}
-
-src_install() {
-	dolib.so ../mupdf/build/lib${PN}.so
-
-	java-pkg_dojar build/${PN}{,-viewer}.jar
-
-	dodoc Readme
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-05 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-05 22:37 [gentoo-commits] repo/gentoo:master commit in: app-text/jmupdf/ Michael Weber
  -- strict thread matches above, loose matches on Subject: below --
2015-10-15 18:51 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox