forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
- Loading branch information
Showing
2 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST cjs-3.0.1.tar.gz 325349 SHA256 cafda5a8a21421e93720732debeea08c59e63c058d240ab0f7b3a6969654864f SHA512 3980e60ca005e616be264ec5bf6cb920452eec538da266dc0645ec1c340506b864886007b371b96830efa379e8ed9dd9127dc205b45e004705fd5c181d82e538 WHIRLPOOL 9368a53f9284d0f234d6e816f27dd6893338b4c6807f7fa0f44403ec0fbcaea3cc6908f86ad1e528f12351e008e93942f0769779f3c271e46e994d6ea7139b5f | ||
DIST cjs-3.4.1.tar.gz 425003 SHA256 83254b01984452cc234891768e746f688924fe2904b6c1c76e214528ff44c060 SHA512 aab752aa03862979374bfe883d62968efab6b9137914b7ab9fcca2025bab6a6ae536db59aaee6deeeba06d2ff8c433d7f769ae0a4c0e2542e7c9a58f723d8690 WHIRLPOOL f6206a56b6e5b5984c567e3b8c4f48d3e0305c76da5c4d4320757248566975bddbf4b376118246beb6c447485e03b8a1a836598d215d6ba13a468ae91d6c7901 | ||
DIST cjs-3.4.4.tar.gz 426665 SHA256 e2497bb3eb53a919776a2f4b869dcc2ba3deb09e955433272a8905e7f6ef9bee SHA512 318a1beef6f6a827266170f0c5c1cfaa8bf48908f96e0ce625aee20ddcd648ea967f09f465ed504f21f923830017d3c4a01f62bab26a1cb84181a96131058d33 WHIRLPOOL 8e774188cf6722075e019c8cac255fcae55ba6fc67c24a974ba033002d6faa8f12aad70c789666d14ed3bdcd63965bf60fe5782fa5b537f2b5e16e482f24664a | ||
DIST cjs-3.4.4.tar.gz 426665 BLAKE2B 18e232b446945ae296d1dcf4b4624ff10b733f023da99315ba9aeee72228e115a634eb7a31a7c6192c3d1bfb8af1cd89488a9e7fe81edfa3a729bd62061e3581 SHA512 318a1beef6f6a827266170f0c5c1cfaa8bf48908f96e0ce625aee20ddcd648ea967f09f465ed504f21f923830017d3c4a01f62bab26a1cb84181a96131058d33 | ||
DIST cjs-3.6.1.tar.gz 426279 BLAKE2B b9d99e06b580b81178d0b4e2e3d854769357f28277500aed9f5bc2672f26ec72f584576c53d7aa6069737ae81bd0b1bf05d56d39c947de1206c506d72c8da075 SHA512 648997c76acb11885a53a73aa456989784fe5f5a12e0f349bce658c1eb3e3ce2b5c576ace488962c9b012fc85c2c3dd828f61f857cc9da7b60ee5fcdd7d25155 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# 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 ) | ||
sys-devel/autoconf-archive | ||
" | ||
# 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" | ||
} |