diff options
author | Ilya Mochalov <chrootsu@gmail.com> | 2016-02-23 02:59:08 +0500 |
---|---|---|
committer | Ilya Mochalov <chrootsu@gmail.com> | 2016-03-07 14:07:23 +0500 |
commit | ec124c1fecea7add9dc0c9cd5ce1136bacbcbc85 (patch) | |
tree | d61a4c15c07deecba914caf6b106f0484c84b568 /dev-vcs/gitg | |
parent | sci-geosciences/mapnik: Add missing subslot dependencies (diff) | |
download | gentoo-ec124c1fecea7add9dc0c9cd5ce1136bacbcbc85.tar.gz gentoo-ec124c1fecea7add9dc0c9cd5ce1136bacbcbc85.tar.bz2 gentoo-ec124c1fecea7add9dc0c9cd5ce1136bacbcbc85.zip |
dev-vcs/gitg: disabled mprotect
Diffstat (limited to 'dev-vcs/gitg')
-rw-r--r-- | dev-vcs/gitg/gitg-3.18.0-r1.ebuild | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/dev-vcs/gitg/gitg-3.18.0-r1.ebuild b/dev-vcs/gitg/gitg-3.18.0-r1.ebuild new file mode 100644 index 000000000000..6b1af28b2579 --- /dev/null +++ b/dev-vcs/gitg/gitg-3.18.0-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{3_3,3_4,3_5} ) + +inherit gnome2 pax-utils python-r1 vala + +DESCRIPTION="git repository viewer for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Gitg" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="debug glade +python" +REQUIRED_USE="python? ( ^^ ( $(python_gen_useflags '*') ) )" + +# test if unbundling of libgd is possible +# Currently it seems not to be (unstable API/ABI) +RDEPEND=" + app-crypt/libsecret + dev-libs/libgee:0.8[introspection] + >=dev-libs/json-glib-0.16 + >=app-text/gtkspell-3.0.3:3 + >=dev-libs/glib-2.38:2[dbus] + >=dev-libs/gobject-introspection-0.10.1:= + dev-libs/libgit2:=[threads] + + >=dev-libs/libgit2-glib-0.23.5[ssh] + <dev-libs/libgit2-glib-0.24.0 + + >=dev-libs/libpeas-1.5.0[gtk] + >=gnome-base/gsettings-desktop-schemas-0.1.1 + >=net-libs/webkit-gtk-2.2:4[introspection] + >=x11-libs/gtk+-3.12.0:3 + >=x11-libs/gtksourceview-3.10:3.0 + >=x11-themes/gnome-icon-theme-symbolic-3.10 + glade? ( >=dev-util/glade-3.2:3.10 ) + python? ( + ${PYTHON_DEPS} + dev-libs/libpeas[python,${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND} + >=dev-libs/libgit2-glib-0.22.0[vala] + gnome-base/gnome-common + >=sys-devel/gettext-0.17 + virtual/pkgconfig + >=dev-util/intltool-0.40 + $(vala_depend) +" + +pkg_setup() { + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup +} + +src_prepare() { + sed \ + -e '/CFLAGS/s:-g::g' \ + -e '/CFLAGS/s:-O0::g' \ + -i configure.ac || die + + gnome2_src_prepare + vala_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --disable-deprecations \ + $(use_enable debug) \ + $(use_enable glade glade-catalog) \ + $(use_enable python) +} + +src_install() { + gnome2_src_install -j1 + + if has_version 'net-libs/webkit-gtk:4[jit]'; then + # needed on hardened/PaX, see github pr 910 and bug #527334 + pax-mark m "${ED}usr/bin/gitg" + fi +} |