blob: 9910407d88bc4d84241e902ee6e3cc9278c6e09a (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gconf-sharp/gconf-sharp-2.24.0.ebuild,v 1.2 2008/11/26 10:53:24 loki_val Exp $
EAPI=2
GTK_SHARP_MODULE="gnome"
GTK_SHARP_MODULE_DEPS="art"
GTK_SHARP_REQUIRED_VERSION="2.12"
inherit gtk-sharp-module
SLOT="2"
KEYWORDS="~x86 ~ppc ~sparc ~x86-fbsd ~amd64"
IUSE=""
DEPEND="${DEPEND}
>=gnome-base/gconf-2.24
>=dev-dotnet/gtk-sharp-2.12.6[glade]
>=dev-dotnet/gnome-sharp-${PV}
>=dev-dotnet/art-sharp-${PV}"
src_prepare() {
gtk-sharp-module_src_prepare
# The makefile for GConf.PropertyEditors references two dll's which will
# not be built in our case because of the splitting of gnome-sharp;
# reference their system-installed counterparts instead.
# TODO: Should this be in the eclass? If no, the other fix for gconf-sharp
# in the eclass should be moved here as well.
sed -i -e "s:\$(top_builddir)/art/art-sharp.dll:${GTK_SHARP_LIB_DIR}/art-sharp.dll:" \
-e "s:\$(top_builddir)/gnome/gnome-sharp.dll:${GTK_SHARP_LIB_DIR}/gnome-sharp.dll:" \
"${S}"/gconf/GConf.PropertyEditors/Makefile.in || die "sed failed"
}
|