blob: 176a231c6eb1e70bfbb4d9454235844da30ebe4b (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgnomedb/libgnomedb-1.0.4.ebuild,v 1.11 2005/06/14 05:23:51 leonardop Exp $
inherit gnome2 eutils
DESCRIPTION="Library for writing gnome database programs"
HOMEPAGE="http://www.gnome-db.org/"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ia64 ppc sparc x86"
IUSE="doc"
RDEPEND="=gnome-extra/libgda-1.0*
>=x11-libs/gtk+-2.0
>=gnome-base/libglade-2.0
>=gnome-base/libgnomeui-2.0
>=gnome-base/libbonoboui-2.0
>=gnome-base/gconf-2"
# gtksourceview is maintained now, and configure checks it's presence
DEPEND=">=dev-util/pkgconfig-0.8
>=dev-util/intltool-0.22
>=sys-devel/gettext-0.11
>=app-text/scrollkeeper-0.3.11
doc? ( dev-util/gtk-doc )
${RDEPEND}"
src_unpack() {
unpack ${A}
gnome2_omf_fix ${S}/doc/Makefile.in
cd ${S}
# Avoid documentation problems. See bug #46275.
epatch ${FILESDIR}/${PN}-1.0.3-gtkdoc_fix.patch
# Add extra selector. See bug #48611.
epatch ${FILESDIR}/${P}-selector.patch
# Fix GCC 3.4 compilation. See bug #49236.
epatch ${FILESDIR}/${PN}-1.0.3-gcc34.patch
}
src_install() {
gnome2_src_install
# minor cosmetic fix to capplet icon
capplet_link=${D}/usr/share/control-center-2.0/capplets/database-properties.desktop
if [ -f "${capplet_link}" ]; then
mv ${capplet_link} ${capplet_link}.orig && \
sed 's,Icon=gnome-db.png,Icon=libgnomedb/gnome-db.png,' ${capplet_link}.orig > ${capplet_link}
rm ${capplet_link}.orig
fi
}
|