blob: 52f39ce76f5b55b5a83e20f3883fcc95e38c1b4e (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/kgtk-0.7.ebuild,v 1.2 2006/09/01 15:00:15 genstef Exp $
inherit kde
DESCRIPTION="Allows *some* Gtk applications to use KDE's file dialogs when run under KDE"
HOMEPAGE="http://www.kde-apps.org/content/show.php?content=36077"
SRC_URI="http://home.freeuk.com/cpdrummond/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
DEPEND=">=x11-libs/gtk+-2.6"
need-kde 3.4
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/kgtk-no-local.diff
}
pkg_postinst() {
einfo "To see the kde-file-selector in a gtk-application, just do:"
echo "cd /usr/local/bin"
echo "ln -s /usr/bin/kgtk-wrapper.sh application(eg. firefox)"
einfo "Make sure that /usr/local/bin is before /usr/bin in your \$PATH"
einfo
ewarn "Kded needs to be running to get this working!"
}
|