diff options
author | Kristian Fiskerstrand <k_f@gentoo.org> | 2017-06-24 16:47:05 +0200 |
---|---|---|
committer | Kristian Fiskerstrand <k_f@gentoo.org> | 2017-06-24 16:58:20 +0200 |
commit | 100e6a16f3c7213f4379575ed5526b40a8577598 (patch) | |
tree | 0ec70b859da896a056dcf7e79ef166210a0eac52 /gnome-extra | |
parent | gnome-extra/nemo: New upstream version 3.4.4 (diff) | |
download | gentoo-100e6a16f3c7213f4379575ed5526b40a8577598.tar.gz gentoo-100e6a16f3c7213f4379575ed5526b40a8577598.tar.bz2 gentoo-100e6a16f3c7213f4379575ed5526b40a8577598.zip |
gnome-extra/cjs: New upstream version 3.4.1
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/cjs/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/cjs/cjs-3.4.1.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest index b5865917e80a..bdef20c5343b 100644 --- a/gnome-extra/cjs/Manifest +++ b/gnome-extra/cjs/Manifest @@ -1,3 +1,4 @@ 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 +DIST cjs-3.4.1.tar.gz 425003 SHA256 83254b01984452cc234891768e746f688924fe2904b6c1c76e214528ff44c060 SHA512 aab752aa03862979374bfe883d62968efab6b9137914b7ab9fcca2025bab6a6ae536db59aaee6deeeba06d2ff8c433d7f769ae0a4c0e2542e7c9a58f723d8690 WHIRLPOOL f6206a56b6e5b5984c567e3b8c4f48d3e0305c76da5c4d4320757248566975bddbf4b376118246beb6c447485e03b8a1a836598d215d6ba13a468ae91d6c7901 diff --git a/gnome-extra/cjs/cjs-3.4.1.ebuild b/gnome-extra/cjs/cjs-3.4.1.ebuild new file mode 100644 index 000000000000..c01664b4a52b --- /dev/null +++ b/gnome-extra/cjs/cjs-3.4.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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:38 + >=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() { + 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 + gnome2_src_configure \ + --disable-systemtap \ + --disable-dtrace \ + $(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" +} |