# ChangeLog for gnome-extra/gloobus-preview
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Mar 2011; Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
+ gloobus-preview-0.4.1.ebuild, +files/gloobus-preview-0.4.1-cxxflags.patch:
+ Fix ignoring CXXFLAGS (partially fixes portage-multilib support). Bump
+ ebuild to EAPI=4 to please reavertm. Fix ebuild to use autotools-utils
+ eclass properly.
+
06 Dec 2010; Fabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com>
gloobus-preview-0.4.1.ebuild:
Now using remove_libtool_files to remove libtool files, of course
--- /dev/null
+From: Nathan Phillip Brink <ohnobinki@ohnopublishing.net>
+Subject: Don't ignore CXXFLAGS, fixes portage-multilib support.
+
+--- a/src/Makefile.am 2009-09-10 08:01:00.000000000 -0400
++++ b/src/Makefile.am 2011-03-16 09:45:30.000000000 -0400
+@@ -1,6 +1,5 @@
+ SUBDIRS = plugin-comic plugin-folder plugin-icns plugin-gstreamer-audio plugin-gstreamer-video plugin-openoffice plugin-pdf plugin-pixbuf plugin-text plugin-ttf .
+
+-CXXFLAGS = -Wall -g #If -O2 iDocument threads don't work
+ #AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = -rdynamic
+ AM_CPPFLAGS =$(CAIRO_CFLAGS) $(GTK_CFLAGS) $(LIBGNOMEUI_CFLAGS) $(PTHREAD_CFLAGS) $(GTKSOURCEVIEW_CFLAGS)
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="2"
+EAPI=4
-inherit autotools-utils versionator
+inherit autotools autotools-utils eutils versionator
MY_PV=$(get_version_component_range 1-2)
x11-libs/gtksourceview:2.0"
RDEPEND="${DEPEND}"
-src_configure() {
- econf --disable-static
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cxxflags.patch
+ eautomake
}
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # Remove useless .la files
- remove_libtool_files 'all'
+src_configure() {
+ local myeconfargs=(
+ --disable-static
+ )
+ autotools-utils_src_configure
}
pkg_postinst() {