diff options
Diffstat (limited to 'dev-libs/gjs')
-rw-r--r-- | dev-libs/gjs/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/gjs/gjs-1.56.2.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest index 83e946af1d06..63cdebfac539 100644 --- a/dev-libs/gjs/Manifest +++ b/dev-libs/gjs/Manifest @@ -1,5 +1,7 @@ DIST gjs-1.48.7.tar.xz 595324 BLAKE2B eac8b5b2f7e909e94e3fb305cac443da3f433047ee07fa8fbd15905890f77d57449c8689867df61f1ac849b8b4bddc089a9b1ddc3aa79d4b3d054226c58fa909 SHA512 b8c58e068eaecfca2fa40cebe209fa8058e603809be4307099a0f3dbd561752a540d587d546ffa74aef0268a111f2b2846a1e0febda1adcefdac8c02e716e2dd DIST gjs-1.54.3.tar.xz 647704 BLAKE2B 792225afd9828755ef67b3e7221d4c53535d79d879e0aef0c7c56f06e02313a966776b5dddf9876649984a1599eb44a27d6288f9216bb929a66ad9e14cb632e5 SHA512 f19e667963fa3feecd23a9e4cc263a55d9d1311de7d10905969966f74e26ff982839c192c555cbc059e4fd65ff7c89d18944ca6bf8ffbb65ec91081036d19505 +DIST gjs-1.56.2.tar.xz 701976 BLAKE2B 77057e4a3a8958d6648c92bb56495b505b3ec49bc0eeff0fa5c9e3ae5a694a4b5643dc72d7aa673f9e66d42e9b0def7f9df0043f2690216bfc5c5109ea9eca51 SHA512 687b8e3795565b5c56fceebefb229c07b4c084a4f65c0035e0d185d12082920424632c0f896df8dc1cd5013a97b6e08274efaec4caeb564dc2070d26a5f974c5 EBUILD gjs-1.48.7.ebuild 1548 BLAKE2B 47a474a7958d70ed915b8c1a2a973f1e72f99a7bc4459e98a687503122d83d40dc0733dcd3e7fbefc42304049520acf80b3ad609cda1ea5c8653e0ba215f19f7 SHA512 4a976754dcc518a188fa3ceae85ec61aa20b0abfe6c9c5ad248fa72ea62820935415451cb8f6659931b6b8f4044dee2f5a20be8c08a6d1a3df0d526b24b8695f EBUILD gjs-1.54.3.ebuild 1557 BLAKE2B 3eefd791008c74a8826023a6f788f9bf7d95a68b2d46c27f44f8a20a4e43dfb9877c4d78cfaab68383a59ce12154f75502cbdc470c63b209b444e03f692f1e2b SHA512 191d391963078c630355b6a50ddfa8c1473b5780bcfa2af98cb818743716bb2d98684bb5a76d890393c7e64ee4d6eb481524c33e76d40810576ad7487afbaef9 +EBUILD gjs-1.56.2.ebuild 1730 BLAKE2B 0d09046b4a4029486f2c06d8ef923353bedb4a65448a19a33d417d7a144f4a6c7efd8c057df8a9f468a5e7950c5b80e1c31cb76e48c39f0e013340d25fb4fdce SHA512 165ea3340b784457679f261106d57e07b1328bb73f292bfa6bce90ec08d51b72243dc0537f1ae77525c4aded557822465feaf835f7a0690cd9474bec0adcae77 MISC metadata.xml 259 BLAKE2B 32f8c5208a55a1dda504b7df969127393a2c70e672aba383fcdc870de8fe778366d3dde3c3313bd043068d2e7831d1e18bad6fb428e82266fc2a630104e0a193 SHA512 fbef629394690b3a5608abc6344816f6acf1e8e2663f29949fd14a662c628f16fee77a1ec1641066806d143fb94c1571bc5b46b829dc53620af6956377fe15cc diff --git a/dev-libs/gjs/gjs-1.56.2.ebuild b/dev-libs/gjs/gjs-1.56.2.ebuild new file mode 100644 index 000000000000..a29e1c7e479c --- /dev/null +++ b/dev-libs/gjs/gjs-1.56.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit 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 readline test" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.54.0 + >=dev-libs/gobject-introspection-1.57.2:= + + readline? ( sys-libs/readline:0= ) + dev-lang/spidermonkey:60 + virtual/libffi:= + cairo? ( x11-libs/cairo[X] ) + gtk? ( >=x11-libs/gtk+-3.20:3 ) +" +DEPEND="${RDEPEND} + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +RESTRICT="!test? ( test )" + +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 \ + --enable-profiler \ + --disable-code-coverage \ + $(use_with cairo cairo) \ + $(use_with gtk) \ + $(use_enable readline) \ + $(use_with test dbus-tests) \ + --disable-installed-tests \ + --without-xvfb-tests # disables Makefile spawning Xvfb for us, as we do it ourselves: + # https://gitlab.gnome.org/GNOME/gjs/issues/280 +} + +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" +} + +src_test() { + virtx dbus-run-session emake check || die +} |