summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2016-11-22 21:37:49 +0100
committerKristian Fiskerstrand <k_f@gentoo.org>2016-11-22 21:41:55 +0100
commitbe259963d4bb8c33ff678e995d68f23f155ace9c (patch)
treeeee828ced949d14e056644f09171cb7c3a37e73c /gnome-extra/cjs
parentgnome-extra/nemo: New upstream version 3.2.0 (diff)
downloadgentoo-be259963d4bb8c33ff678e995d68f23f155ace9c.tar.gz
gentoo-be259963d4bb8c33ff678e995d68f23f155ace9c.tar.bz2
gentoo-be259963d4bb8c33ff678e995d68f23f155ace9c.zip
gnome-extra/cjs: New upstream version 3.2.0
Package-Manager: portage-2.3.2
Diffstat (limited to 'gnome-extra/cjs')
-rw-r--r--gnome-extra/cjs/Manifest1
-rw-r--r--gnome-extra/cjs/cjs-3.2.0.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest
index 7871e9e9dd32..b5865917e80a 100644
--- a/gnome-extra/cjs/Manifest
+++ b/gnome-extra/cjs/Manifest
@@ -1,2 +1,3 @@
DIST cjs-2.8.0.tar.gz 325238 SHA256 eceddb46dd7c1da9652c99355158feb8a107e213b5f7240700e1777b28d00a73 SHA512 c03e2fcb7bd49d3a1f556b4be7fa8282939607e3b33f2f8784bbd1d9fac6abc8f3634be7f9659ed6938cf88b3dfd2fcd4d5f6068aac23fa329c1f830f96d0735 WHIRLPOOL f42d7ddf2b087643f8035d96aba0d2ddbfe09fc8deaee906736010545a54e8c56718dceffcca47382a92f97e5b38a262c833bf2a2c4d603f90147466f09f116d
DIST cjs-3.0.1.tar.gz 325349 SHA256 cafda5a8a21421e93720732debeea08c59e63c058d240ab0f7b3a6969654864f SHA512 3980e60ca005e616be264ec5bf6cb920452eec538da266dc0645ec1c340506b864886007b371b96830efa379e8ed9dd9127dc205b45e004705fd5c181d82e538 WHIRLPOOL 9368a53f9284d0f234d6e816f27dd6893338b4c6807f7fa0f44403ec0fbcaea3cc6908f86ad1e528f12351e008e93942f0769779f3c271e46e994d6ea7139b5f
+DIST cjs-3.2.0.tar.gz 325614 SHA256 df55c1b89cea5d40d6a9950407a5d18915d2dde4e31670faeb0f5e4ba119edde SHA512 845b3a29e9cbdd86d79a2e79d3c10ab98a581e8e7df4f565c2a6d13cfabeeac15809486474f4b2f9fe979094eef4887b23b3f4a7bef4166f1db9faef5b546371 WHIRLPOOL 0a5938ced1f4fcd8b0355ebc62ab1728cac65f54cf4ba75bbcc4e313012899574e96705dd224bcf947d0b19e23b431feabc80b019e237d034bb58bb4efc09614
diff --git a/gnome-extra/cjs/cjs-3.2.0.ebuild b/gnome-extra/cjs/cjs-3.2.0.ebuild
new file mode 100644
index 000000000000..a964f561759b
--- /dev/null
+++ b/gnome-extra/cjs/cjs-3.2.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools 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
+ eapply "${FILESDIR}"/${PN}-2.4.0-disable-unittest-*.patch
+
+ 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() {
+ virtx emake 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"
+}