diff options
author | Mart Raudsepp <leio@gentoo.org> | 2017-01-15 06:46:06 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2017-01-15 06:46:06 +0200 |
commit | b100df42beea5945b202c792b7e4422dd2f38977 (patch) | |
tree | 6183eaae14543a03a8399fd46aeccf2c93e799b5 /x11-libs | |
parent | x11-libs/pango: Clarify what USE=X does in local description (diff) | |
download | gentoo-b100df42beea5945b202c792b7e4422dd2f38977.tar.gz gentoo-b100df42beea5945b202c792b7e4422dd2f38977.tar.bz2 gentoo-b100df42beea5945b202c792b7e4422dd2f38977.zip |
x11-libs/gtkglext: Remove unnecessary pango[X] USE depend
Surprisingly gtkglext doesn't actually use pangoxft, only pangox
(which got moved to pangox-compat legacy package long ago even
upstream).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/gtkglext/gtkglext-1.2.0-r4.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/x11-libs/gtkglext/gtkglext-1.2.0-r4.ebuild b/x11-libs/gtkglext/gtkglext-1.2.0-r4.ebuild new file mode 100644 index 000000000000..2dd1ff16eebb --- /dev/null +++ b/x11-libs/gtkglext/gtkglext-1.2.0-r4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GNOME2_LA_PUNT="yes" +inherit autotools gnome2 multilib-minimal + +DESCRIPTION="GL extensions for Gtk+ 2.0" +HOMEPAGE="http://gtkglext.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] + >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] + || ( + >=x11-libs/pangox-compat-0.0.2[${MULTILIB_USEDEP}] + <x11-libs/pango-1.31[X,${MULTILIB_USEDEP}] + ) + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}] + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + >=sys-devel/autoconf-archive-2014.02.28 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +src_prepare() { + # Ancient configure.in with broken multilib gl detection (bug #543050) + # Backport some configure updates from upstream git master to fix + epatch "${FILESDIR}/${P}-gl-configure.patch" + mv configure.{in,ac} || die "mv failed" + eautoreconf + + gnome2_src_prepare + + # Remove development knobs, bug #308973 + sed -i 's:-D\(G.*DISABLE_DEPRECATED\):-D__\1__:g' \ + examples/Makefile.am examples/Makefile.in \ + gdk/Makefile.am gdk/Makefile.in \ + gdk/win32/Makefile.am gdk/win32/Makefile.in \ + gdk/x11/Makefile.am gdk/x11/Makefile.in \ + gtk/Makefile.am gtk/Makefile.in \ + || die "sed failed" +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + --disable-static +} + +multilib_src_install() { + gnome2_src_install +} + +multilib_src_install_all() { + local DOCS="AUTHORS ChangeLog* NEWS README TODO" + einstalldocs +} |