Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512136 - x11-libs/gtkglext - add multilib support
Summary: x11-libs/gtkglext - add multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-06-02 10:07 UTC by i.Dark_Templar
Modified: 2014-06-07 19:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patched ebuild (gtkglext-1.2.0-r2.ebuild,1.40 KB, text/plain)
2014-06-02 10:09 UTC, i.Dark_Templar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description i.Dark_Templar 2014-06-02 10:07:28 UTC
All dependencies for it are already in portage tree

Reproducible: Always
Comment 1 i.Dark_Templar 2014-06-02 10:09:10 UTC
Created attachment 378046 [details]
patched ebuild

ebuild diff:

$ diff -u /usr/portage/x11-libs/gtkglext/gtkglext-1.2.0-r1.ebuild /usr/local/portage/x11-libs/gtkglext/gtkglext-1.2.0-r2.ebuild 
--- /usr/portage/x11-libs/gtkglext/gtkglext-1.2.0-r1.ebuild     2013-04-11 00:31:33.000000000 +0400
+++ /usr/local/portage/x11-libs/gtkglext/gtkglext-1.2.0-r2.ebuild       2014-06-02 12:51:50.000000000 +0400
@@ -5,7 +5,7 @@
 EAPI="4"
 
 GNOME2_LA_PUNT="yes"
-inherit gnome2
+inherit gnome2 multilib-minimal
 
 DESCRIPTION="GL extensions for Gtk+ 2.0"
 HOMEPAGE="http://gtkglext.sourceforge.net/"
@@ -13,19 +13,19 @@
 
 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"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE=""
 
-RDEPEND=">=dev-libs/glib-2:2
-       >=x11-libs/gtk+-2:2
-       >=x11-libs/pango-1[X]
-       || ( x11-libs/pangox-compat <x11-libs/pango-1.31[X] )
-       x11-libs/libX11
-       x11-libs/libXmu
-       virtual/glu
-       virtual/opengl"
+RDEPEND=">=dev-libs/glib-2:2[${MULTILIB_USEDEP}]
+       >=x11-libs/gtk+-2:2[${MULTILIB_USEDEP}]
+       >=x11-libs/pango-1[X,${MULTILIB_USEDEP}]
+       x11-libs/pangox-compat[${MULTILIB_USEDEP}]
+       x11-libs/libX11[${MULTILIB_USEDEP}]
+       x11-libs/libXmu[${MULTILIB_USEDEP}]
+       virtual/glu[${MULTILIB_USEDEP}]
+       virtual/opengl[${MULTILIB_USEDEP}]"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+       virtual/pkgconfig[${MULTILIB_USEDEP}]"
 
 pkg_setup() {
        DOCS="AUTHORS ChangeLog* NEWS README TODO"
@@ -43,4 +43,6 @@
                gdk/x11/Makefile.am gdk/x11/Makefile.in \
                gtk/Makefile.am gtk/Makefile.in \
                || die "sed failed"
+
+       multilib_copy_sources
 }
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-07 19:17:35 UTC
+*gtkglext-1.2.0-r2 (07 Jun 2014)
+
+  07 Jun 2014; Michał Górny <mgorny@gentoo.org> +gtkglext-1.2.0-r2.ebuild:
+  Enable multilib support, bug #512136.