diff options
Diffstat (limited to 'x11-libs/gnome-pty-helper/gnome-pty-helper-0.34.9.ebuild')
-rw-r--r-- | x11-libs/gnome-pty-helper/gnome-pty-helper-0.34.9.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-libs/gnome-pty-helper/gnome-pty-helper-0.34.9.ebuild b/x11-libs/gnome-pty-helper/gnome-pty-helper-0.34.9.ebuild new file mode 100644 index 000000000000..9b16b320d0e9 --- /dev/null +++ b/x11-libs/gnome-pty-helper/gnome-pty-helper-0.34.9.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gnome-pty-helper/gnome-pty-helper-0.34.9.ebuild,v 1.1 2013/10/15 19:29:34 pacho Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME_ORG_MODULE="vte" + +inherit gnome2 + +DESCRIPTION="GNOME Setuid helper for opening ptys" +HOMEPAGE="http://git.gnome.org/browse/vte/" +# gnome-pty-helper is inside vte + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" +IUSE="+hardened" + +# gnome-pty-helper was spit out with 0.27.90 +RDEPEND="!<x11-libs/vte-0.27.90" +DEPEND="" + +S="${WORKDIR}/vte-${PV}/gnome-pty-helper" + +src_prepare() { + # As recommended by upstream (/usr/libexec/$PN is a setgid binary) + if use hardened; then + export SUID_CFLAGS="-fPIE ${SUID_CFLAGS}" + export SUID_LDFLAGS="-pie ${SUID_LDFLAGS}" + fi + gnome2_src_prepare +} |