summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/gnome2-live.eclass')
-rw-r--r--eclass/gnome2-live.eclass25
1 files changed, 14 insertions, 11 deletions
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass
index fd861cb..d754974 100644
--- a/eclass/gnome2-live.eclass
+++ b/eclass/gnome2-live.eclass
@@ -12,10 +12,10 @@
#
-inherit autotools gnome2-utils libtool subversion
+inherit autotools gnome2 gnome2-utils libtool subversion
# DEPEND on dev-util/gtk-doc for gtkdocize
-DEPEND="${DEPEND}
+DEPEND="${DEPEND}
dev-util/gtk-doc"
# Extra options passed to elibtoolize
@@ -29,7 +29,10 @@ SRC_URI=""
gnome2-live_src_unpack() {
subversion_src_unpack
+ [[ "${EAPI}" != 2 ]] && gnome2-live_src_prepare
+}
+gnome2-live_src_prepare() {
for i in ${PATCHES}; do
epatch "${FILESDIR}/${i}"
done
@@ -38,12 +41,7 @@ gnome2-live_src_unpack() {
intltoolize --force
eautoreconf
- ## This point onwards must stay in sync with gnome2.eclass
- # Prevent scrollkeeper access violations
- gnome2_omf_fix
-
- # Run libtoolize
- elibtoolize ${ELTCONF}
+ gnome2_src_prepare
}
# So that it replaces gnome2_src_unpack in ebuilds that call it
@@ -51,6 +49,11 @@ gnome2_src_unpack() {
gnome2-live_src_unpack
}
-# So it works "out of the box" for ebuilds that rely on src_unpack exported by
-# gnome2.eclass
-EXPORT_FUNCTIONS src_unpack
+# Run manually for ebuilds that have a custom pkg_postinst
+gnome2-live_pkg_postinst() {
+ ewarn "These are live ebuilds, upstream trunks will mostly NOT be stable"
+ ewarn "Do not report bugs about the packages to the GNOME Gentoo team"
+ ewarn "Report upstream bugs (with patches if possible) instead."
+}
+
+EXPORT_FUNCTIONS src_unpack src_prepare pkg_postinst