diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2016-09-08 23:29:46 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2016-09-09 01:02:51 +0200 |
commit | 27a2bcebc3a01c0691b4c2e6c23f0883b145da6e (patch) | |
tree | f3323e82838494a05e9d6b534e28c072e32c0178 /dev-libs/gjs | |
parent | net-misc/networkmanager-openvpn: version bump to 1.2.2 to 1.2.4 (diff) | |
download | gentoo-27a2bcebc3a01c0691b4c2e6c23f0883b145da6e.tar.gz gentoo-27a2bcebc3a01c0691b4c2e6c23f0883b145da6e.tar.bz2 gentoo-27a2bcebc3a01c0691b4c2e6c23f0883b145da6e.zip |
dev-libs/gjs: version bump from 1.44.0 to 1.45.4
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/gjs')
-rw-r--r-- | dev-libs/gjs/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/gjs/gjs-1.45.4.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest index 9945fd7ba38e..3216e7699810 100644 --- a/dev-libs/gjs/Manifest +++ b/dev-libs/gjs/Manifest @@ -1 +1,2 @@ DIST gjs-1.44.0.tar.xz 486144 SHA256 88c960f6ad47a6931d123f5d6317d13704f58572f68a4391913a254ff27dce80 SHA512 3866e124f05221fd47275951f8c2c6954ba28a9b1443cc3c01789284709e2dd69f496efa094e6ddc9fcae563b9def68441aa398c1488076701fa1e873f9b9735 WHIRLPOOL ee165353e08c6a5f69785e04fb12e582778695fb8b20f93153d6f648bd8597988a5d12349f73e70c2d52aed4d80d53484086f212c427fe2c7675eb858d41cad0 +DIST gjs-1.45.4.tar.xz 480828 SHA256 db51bc2aae51700a2a8ca8ba597c488505d106bc70b9605e77c6ab5183212228 SHA512 ef3587b16e0b4cc1df390e2d241f7293279c43d3399143d67c226ba668fe2c4f310ee08392ac1c21322abd9578ebe2eed4d870bbe62134af76c15555cf6445b1 WHIRLPOOL 8950f28feacc7d8768375446efcfad23aa16ad9be134e2b968f995b2f5e7d26392915f0ef667221b7a090fb1318f111c746a764c8b1dce83ae31d14c32674baf diff --git a/dev-libs/gjs/gjs-1.45.4.ebuild b/dev-libs/gjs/gjs-1.45.4.ebuild new file mode 100644 index 000000000000..61b7b90b4905 --- /dev/null +++ b/dev-libs/gjs/gjs-1.45.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils gnome2 pax-utils virtualx + +DESCRIPTION="Javascript bindings for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/Gjs" + +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" +SLOT="0" +IUSE="+cairo examples gtk test" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=dev-libs/gobject-introspection-1.41.4:= + + sys-libs/readline:0 + dev-lang/spidermonkey:24 + virtual/libffi + cairo? ( x11-libs/cairo[X] ) + gtk? ( x11-libs/gtk+:3 ) +" +DEPEND="${RDEPEND} + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +src_prepare() { + # Disable broken unittests + eapply "${FILESDIR}"/${PN}-1.43.3-disable-unittest-*.patch + + 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 cairo) \ + $(use_with gtk) \ + $(use_with test dbus-tests) \ + $(use_with test xvfb-tests) +} + +src_test() { + virtx emake check +} + +src_install() { + # installation sometimes fails in parallel, bug #??? + gnome2_src_install -j1 + + if use examples; then + insinto /usr/share/doc/"${PF}"/examples + doins "${S}"/examples/* + fi + + # Required for gjs-console to run correctly on PaX systems + pax-mark mr "${ED}/usr/bin/gjs-console" +} |