summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2016-05-30 22:05:32 +0200
committerMichael Weber <xmw@gentoo.org>2016-05-30 22:11:52 +0200
commita1fef9fecc33276b2db40f2c6d3b3c688f5a44b9 (patch)
tree2716b61ce1e703494d2f45997ee5eafe5fc5638c /dev-lang/mujs
parentdev-lang/ispc: fix deps (bug #584570) (diff)
downloadgentoo-a1fef9fecc33276b2db40f2c6d3b3c688f5a44b9.tar.gz
gentoo-a1fef9fecc33276b2db40f2c6d3b3c688f5a44b9.tar.bz2
gentoo-a1fef9fecc33276b2db40f2c6d3b3c688f5a44b9.zip
dev-lang/mujs: Version bump for mupdf-1.9a
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-lang/mujs')
-rw-r--r--dev-lang/mujs/Manifest1
-rw-r--r--dev-lang/mujs/mujs-0_p20160504.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest
index c788fa61055d..8dd8e83cecb6 100644
--- a/dev-lang/mujs/Manifest
+++ b/dev-lang/mujs/Manifest
@@ -1 +1,2 @@
DIST mujs-0_p20150202.tar.gz 96743 SHA256 c757bfec7ad9864d85d710cd0b413a4909e9dfc418e036e7b0692bb6acd25305 SHA512 28a1b95fcf09098e0882fe0bc989696961c39ae9d4fb2d00f61b84778431b1c9973f1dcc3c9dee277ba4827b2bf1fd323502d9c6469cb5179c6fb1a04bbbd0e1 WHIRLPOOL 17166bad1594bcee38569531ded73abf24f99b98d7434f535775287d1baa16f2106a53a05359d40c504fbf64981e9bd92ccdbab14a41afa03d9a0d34dd553a94
+DIST mujs-0_p20160504.tar.gz 104982 SHA256 8c3bf2bc7a1b0dadf4ef5078aa4234692a98a979890d7866672127b375d3948f SHA512 13ba2bb9c2d6f15787fc2ed79534af511d100b1dadcac92b729a27815e4f8d8eb10e507f010d1be32f927b54e4a41d395de97cbc645ab34db012267410bc6d47 WHIRLPOOL 2f328c7fe7744ded0d13c00dbd5e6813bf05d7f3ef977c4901c02f00764c82d6c06ceb3b8c16a046c93889eb1ac27cb5f5b1f0472de000defdbc54176a1863bd
diff --git a/dev-lang/mujs/mujs-0_p20160504.ebuild b/dev-lang/mujs/mujs-0_p20160504.ebuild
new file mode 100644
index 000000000000..da44f03d6f3c
--- /dev/null
+++ b/dev-lang/mujs/mujs-0_p20160504.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs vcs-snapshot
+
+DESCRIPTION="lightweight Javascript interpreter"
+HOMEPAGE="http://mujs.com/"
+SRC_URI="http://git.ghostscript.com/?p=mujs.git;a=snapshot;h=1930f35933654d02234249b8c9b8c0d1c8c9fb6b;sf=tgz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0_p20150202-Makefile.patch
+ # workaround for linkage of app-text/mupdf-1.7a
+ # TODO: generate a shared library and IUSE=static-libs
+ append-cflags -fPIC
+ tc-export CC
+}