summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-11-15 23:07:22 +0100
committerPacho Ramos <pacho@gentoo.org>2015-11-15 23:30:25 +0100
commitb1801b30c145478fa6c32164fbe56f53d826dd93 (patch)
tree5c455610d78878c9c5df05d3cd96ee06048cb089 /gnome-extra/cjs
parentprofiles/desc/linguas.desc: add frc locale for cinnamon-translations (diff)
downloadgentoo-b1801b30c145478fa6c32164fbe56f53d826dd93.tar.gz
gentoo-b1801b30c145478fa6c32164fbe56f53d826dd93.tar.bz2
gentoo-b1801b30c145478fa6c32164fbe56f53d826dd93.zip
gnome-extra/cjs: Version bump
Package-Manager: portage-2.2.24
Diffstat (limited to 'gnome-extra/cjs')
-rw-r--r--gnome-extra/cjs/Manifest1
-rw-r--r--gnome-extra/cjs/cjs-2.8.0.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest
index eb44bda8dda7..3a8f6922b34f 100644
--- a/gnome-extra/cjs/Manifest
+++ b/gnome-extra/cjs/Manifest
@@ -1 +1,2 @@
DIST cjs-2.6.2.tar.gz 324978 SHA256 742e5a98281c3aff3127113352e920151468fd3c55214aa9c9ed09704efa70a0 SHA512 cd8954027ffa538e6bbf8e48e574ab9721c514a9d975e24e9915a3f23dc61b4faacc5e1a3302d8a08ea9a515189b40299c80c43a065c14560d206256a1984d29 WHIRLPOOL 0d566df0c80c4548b9521ca430f8a2a35892383b922faade4f77510ed9f1811fcac7b9dd8c166a4bff8148280c5b5b448bb584be9576edd005fd9b4a0b4085c2
+DIST cjs-2.8.0.tar.gz 325238 SHA256 eceddb46dd7c1da9652c99355158feb8a107e213b5f7240700e1777b28d00a73 SHA512 c03e2fcb7bd49d3a1f556b4be7fa8282939607e3b33f2f8784bbd1d9fac6abc8f3634be7f9659ed6938cf88b3dfd2fcd4d5f6068aac23fa329c1f830f96d0735 WHIRLPOOL f42d7ddf2b087643f8035d96aba0d2ddbfe09fc8deaee906736010545a54e8c56718dceffcca47382a92f97e5b38a262c833bf2a2c4d603f90147466f09f116d
diff --git a/gnome-extra/cjs/cjs-2.8.0.ebuild b/gnome-extra/cjs/cjs-2.8.0.ebuild
new file mode 100644
index 000000000000..7f766c8bd95c
--- /dev/null
+++ b/gnome-extra/cjs/cjs-2.8.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit autotools eutils gnome2 pax-utils virtualx
+
+DESCRIPTION="Linux Mint's fork of gjs for Cinnamon"
+HOMEPAGE="http://cinnamon.linuxmint.com/"
+SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
+SLOT="0"
+IUSE="+cairo examples gtk test"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/spidermonkey:24
+ >=dev-libs/glib-2.37.3:2
+ >=dev-libs/gobject-introspection-1.38:=
+ sys-libs/readline:0
+ virtual/libffi
+ cairo? ( x11-libs/cairo[X,glib] )
+ gtk? ( x11-libs/gtk+:3 )
+"
+DEPEND="${RDEPEND}
+ gnome-base/gnome-common
+ sys-devel/gettext
+ virtual/pkgconfig
+ test? ( sys-apps/dbus )
+"
+# Cinnamon 2.2 does not work with this release.
+RDEPEND="${RDEPEND}
+ !<gnome-extra/cinnamon-2.4
+"
+
+src_prepare() {
+ # Disable broken unittests
+ epatch "${FILESDIR}"/${PN}-2.4.0-disable-unittest-*.patch
+
+ epatch_user
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # FIXME: add systemtap/dtrace support, like in glib:2
+ # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
+ # XXX: Do NOT enable coverage, completely useless for portage installs
+ gnome2_src_configure \
+ --disable-systemtap \
+ --disable-dtrace \
+ --disable-coverage \
+ $(use_with cairo) \
+ $(use_with gtk)
+}
+
+src_test() {
+ Xemake check
+}
+
+src_install() {
+ # installation sometimes fails in parallel
+ gnome2_src_install -j1
+
+ if use examples; then
+ insinto /usr/share/doc/"${PF}"/examples
+ doins "${S}"/examples/*
+ fi
+
+ # Required for cjs-console to run correctly on PaX systems
+ pax-mark mr "${ED}/usr/bin/cjs-console"
+}