# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgnomedb/libgnomedb-0.12.1.ebuild,v 1.1 2003/06/16 09:42:01 liquidx Exp $ IUSE="" inherit gnome2 gnome.org S=${WORKDIR}/${P} DESCRIPTION="Library for writing gnome database programs" HOMEPAGE="http://www.gnome-db.org/" SLOT="0" LICENSE="GPL-2 LGPL-2" KEYWORDS="~x86 ~ppc" RDEPEND=">=gnome-extra/libgda-0.12.0 >=x11-libs/gtk+-2.0.6 >=gnome-base/libglade-2.0.0 >=gnome-base/libgnomeui-2.0.0 >=gnome-base/bonobo-activation-2.0 >=gnome-base/libbonoboui-2.0.0" # optionally needs gtksourceview but not in portage DEPEND=">=dev-util/pkgconfig-0.8 >=dev-util/intltool-0.22 >=sys-devel/gettext-0.11 >=app-text/scrollkeeper-0.3.11 ${RDEPEND}" src_unpack() { unpack ${A} gnome2_omf_fix ${S}/doc/Makefile.in } 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 }