blob: 58abc81fc83c09ed3cb6689658d6b561667be907 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#
# gnome2-live.eclass
#
# Exports additional functions used by live ebuilds written for GNOME packages
# Always to be imported *after* gnome2.eclass
#
# Author: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
#
inherit autotools gnome2-utils libtool subversion
# DEPEND on dev-util/gtk-doc for gtkdocize
DEPEND="${DEPEND}
dev-util/gtk-doc"
# Extra options passed to elibtoolize
ELTCONF=${ELTCONF:-}
# SVN URI for the project
ESVN_REPO_URI=${ESVN_REPO_URI:-"http://svn.gnome.org/svn/${PN}/trunk"}
# Unset SRC_URI auto-set by gnome2.eclass
SRC_URI=""
gnome2-live_src_unpack() {
subversion_src_unpack
for i in ${PATCHES}; do
epatch "${FILESDIR}/${i}"
done
gtkdocize
eautoreconf
## This point onwards must stay in sync with gnome2.eclass
# Prevent scrollkeeper access violations
gnome2_omf_fix
# Run libtoolize
elibtoolize ${ELTCONF}
}
# So that it replaces gnome2_src_unpack in ebuilds that call it
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
|