summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2011-03-04 22:19:21 +0000
committerAndreas Proschofsky <suka@gentoo.org>2011-03-04 22:19:21 +0000
commitb0c00e26339d1c932e5b4352b8f197ecd8b54c54 (patch)
tree101e2c6611fb4ba5d37507b7868848cf8f47600c /eclass/gnome2.eclass
parentsvn path=/; revision=323 (diff)
downloadsuka-b0c00e26339d1c932e5b4352b8f197ecd8b54c54.tar.gz
suka-b0c00e26339d1c932e5b4352b8f197ecd8b54c54.tar.bz2
suka-b0c00e26339d1c932e5b4352b8f197ecd8b54c54.zip
Remove tons of outdated gnome3 pre-releases, please use gnome-overlay instead
svn path=/; revision=324
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass15
1 files changed, 15 insertions, 0 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 56e43eb..f206fc1 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -27,6 +27,10 @@ esac
# Extra configure opts passed to econf
G2CONF=${G2CONF:-""}
+# Should we delete all the .la files?
+# Do NOT use without due consideration
+GNOME2_LA_PUNT=${GNOME2_LA_PUNT:-"no"}
+
# Extra options passed to elibtoolize
ELTCONF=${ELTCONF:-""}
@@ -51,6 +55,10 @@ gnome2_src_unpack() {
}
gnome2_src_prepare() {
+ # Don't use the session bus address inherited via the environment
+ # causes test and introspection-building failures
+ unset DBUS_SESSION_BUS_ADDRESS
+
# Prevent scrollkeeper access violations
gnome2_omf_fix
@@ -128,6 +136,13 @@ gnome2_src_install() {
# Make sure this one doesn't get in the portage db
rm -fr "${ED}/usr/share/applications/mimeinfo.cache"
+
+ # Delete all .la files
+ if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then
+ ebegin "Removing .la files"
+ find "${D}" -name '*.la' -exec rm -f '{}' + || die
+ eend
+ fi
}
gnome2_pkg_preinst() {