summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-12-19 09:51:27 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-12-19 09:51:27 +0000
commit03c8aa59eec9d9cc0019d7a9c9a98a3b9cb82650 (patch)
tree45934662f9bf9f9e3d66076d8eda8da5b544e2fc /kde-misc/kgtk
parentold (diff)
downloadgentoo-2-03c8aa59eec9d9cc0019d7a9c9a98a3b9cb82650.tar.gz
gentoo-2-03c8aa59eec9d9cc0019d7a9c9a98a3b9cb82650.tar.bz2
gentoo-2-03c8aa59eec9d9cc0019d7a9c9a98a3b9cb82650.zip
version bump
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'kde-misc/kgtk')
-rw-r--r--kde-misc/kgtk/ChangeLog7
-rw-r--r--kde-misc/kgtk/files/digest-kgtk-0.9.43
-rw-r--r--kde-misc/kgtk/kgtk-0.9.4.ebuild60
3 files changed, 69 insertions, 1 deletions
diff --git a/kde-misc/kgtk/ChangeLog b/kde-misc/kgtk/ChangeLog
index 1699a9a55ec7..b946f4128f3a 100644
--- a/kde-misc/kgtk/ChangeLog
+++ b/kde-misc/kgtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-misc/kgtk
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/ChangeLog,v 1.10 2007/10/13 11:36:31 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/ChangeLog,v 1.11 2007/12/19 09:51:26 genstef Exp $
+
+*kgtk-0.9.4 (19 Dec 2007)
+
+ 19 Dec 2007; Stefan Schweizer <genstef@gentoo.org> +kgtk-0.9.4.ebuild:
+ version bump
*kgtk-0.9.1-r1 (13 Oct 2007)
diff --git a/kde-misc/kgtk/files/digest-kgtk-0.9.4 b/kde-misc/kgtk/files/digest-kgtk-0.9.4
new file mode 100644
index 000000000000..52e1d6af70e4
--- /dev/null
+++ b/kde-misc/kgtk/files/digest-kgtk-0.9.4
@@ -0,0 +1,3 @@
+MD5 a6fde9e4520e1f347ff6a48cda95337a KGtk-0.9.4.tar.bz2 42300
+RMD160 b5efa09047b1e8fdd18121b86e78fa749df656c0 KGtk-0.9.4.tar.bz2 42300
+SHA256 2de639a711aad962aac6eb55b6e974c34fa9c68971a825c0c2c6b1d020bc777f KGtk-0.9.4.tar.bz2 42300
diff --git a/kde-misc/kgtk/kgtk-0.9.4.ebuild b/kde-misc/kgtk/kgtk-0.9.4.ebuild
new file mode 100644
index 000000000000..358e65001457
--- /dev/null
+++ b/kde-misc/kgtk/kgtk-0.9.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/kgtk-0.9.4.ebuild,v 1.1 2007/12/19 09:51:26 genstef Exp $
+
+ARTS_REQUIRED="never"
+inherit kde
+
+DESCRIPTION="Allows *some* Gtk, Qt3, and Qt4 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/KGtk-${PV}.tar.bz2"
+S=$WORKDIR/KGtk-$PV
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="qt4"
+
+DEPEND=">=x11-libs/gtk+-2.6
+ dev-util/cmake
+ qt4? ( =x11-libs/qt-4* )"
+need-kde 3.4
+
+src_compile() {
+ mkdir -p "${S}/build" && cd "${S}/build"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ .. || die "cmake (configure) failed"
+ emake || die "emake failed"
+
+ if use qt4; then
+ mkdir -p "${S}/build4" && cd "${S}/build4"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DKGTK_QT4=true -DKGTK_GTK2=false \
+ .. || die "cmake (configure) failed"
+ emake || die "emake failed"
+
+ fi
+}
+
+src_install() {
+ cd "${S}/build"
+ emake install DESTDIR="${D}" || die "make install failed"
+
+ if use qt4; then
+ cd "${S}/build4"
+ emake install DESTDIR="${D}" || die "make install failed"
+ fi
+
+ dodoc ../{AUTHORS,ChangeLog,TODO,README}
+}
+
+pkg_postinst() {
+ elog "To see the kde-file-selector in a gtk-application, just do:"
+ elog "cd /usr/local/bin"
+ elog "ln -s /usr/bin/kgtk-wrapper application(eg. firefox)"
+ elog "Make sure that /usr/local/bin is before /usr/bin in your \$PATH"
+ elog
+ elog "You need to restart kde and be sure to change your symlinks to non-.sh"
+}