blob: 78a9879378819d793d4795cb3bb8ce537e823d7a (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/gnome-panel-2.4.0-r1.ebuild,v 1.1 2003/09/22 03:27:33 spider Exp $
inherit gnome2 eutils
SLOT="0"
DESCRIPTION="The Panel for Gnome2"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2 FDL-1.1 LGPL-2"
KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64"
IUSE="doc menu"
MAKEOPTS="${MAKEOPTS} -j1"
RDEPEND=">=x11-libs/gtk+-2.1
>=x11-libs/libwnck-2.3
>=gnome-base/ORBit2-2.4
>=gnome-base/gnome-vfs-2.1.3
>=gnome-base/gnome-desktop-2.3
>=gnome-base/libbonoboui-2.1.1
>=gnome-base/libglade-2
>=gnome-base/libgnome-2.1.1
>=gnome-base/libgnomeui-2.1
>=gnome-base/gconf-2.3.1
!gnome-extra/system-tray-applet"
DEPEND="${RDEPEND}
>=app-text/scrollkeeper-0.3.11
>=dev-util/pkgconfig-0.12.0
>=dev-util/intltool-0.21
doc? ( >=dev-util/gtk-doc-0.9 )"
DOCS="AUTHORS COPYING* ChangeLog HACKING INSTALL NEWS README"
src_compile() {
# for i in $(find ${S}/help -iname Makefile.am); do
# cp ${i} ${i}.old
# sed -e 's:include \$(top_srcdir)/xmldocs.make::' ${i}.old > ${i}
# done
# cd ${S}/help/C/clock
# mv Makefile.am Makefile.am.old
# sed -e 's:include \$(top_srcdir)/xmldocs.make::' Makefile.am.old > Makefile.am
# cd ${S}/help/C/window-list
# mv Makefile.am Makefile.am.old
# sed -e 's:include \$(top_srcdir)/xmldocs.make::' Makefile.am.old > Makefile.am
# cd ${S}/help/C/workspace-switcher
# mv Makefile.am Makefile.am.old
# sed -e 's:include \$(top_srcdir)/xmldocs.make::' Makefile.am.old > Makefile.am
cd ${S}
use menu && epatch ${FILESDIR}/menu-${PV}.patch
# WANT_AUTOCONF_2_5=1 ./autogen.sh || die
sed -i 's:--load:-v:' gnome-panel/Makefile.am
WANT_AUTOMAKE=1.4 automake -v || die
# FIXME : uh yeah, this is nice
touch gnome-panel/blah
chmod +x gnome-panel/blah
gnome2_src_compile
}
pkg_postinst() {
gnome2_pkg_postinst
einfo "setting panel gconf defaults..."
GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source`
${ROOT}/usr/bin/gconftool-2 --direct --config-source ${GCONF_CONFIG_SOURCE} --load=${S}/gnome-panel/panel-default-setup.entries
}
|