diff options
author | Ioannis Aslanidis <deathwing00@gentoo.org> | 2008-07-21 20:09:18 +0000 |
---|---|---|
committer | Ioannis Aslanidis <deathwing00@gentoo.org> | 2008-07-21 20:09:18 +0000 |
commit | d2055a1a1aa7c7d4baf2a1ba1c236b815c0f0b7d (patch) | |
tree | 06b54c4c4c489e26dbd723cd1f0d4d1865c9c5bd /kde-misc | |
parent | Stable on sparc, security bug #232523 (diff) | |
download | gentoo-2-d2055a1a1aa7c7d4baf2a1ba1c236b815c0f0b7d.tar.gz gentoo-2-d2055a1a1aa7c7d4baf2a1ba1c236b815c0f0b7d.tar.bz2 gentoo-2-d2055a1a1aa7c7d4baf2a1ba1c236b815c0f0b7d.zip |
Version bump.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 x86_64)
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/kgtk/ChangeLog | 8 | ||||
-rw-r--r-- | kde-misc/kgtk/kgtk-0.10.0.ebuild | 63 |
2 files changed, 70 insertions, 1 deletions
diff --git a/kde-misc/kgtk/ChangeLog b/kde-misc/kgtk/ChangeLog index dbdb26a1d2c3..be62b0b605f9 100644 --- a/kde-misc/kgtk/ChangeLog +++ b/kde-misc/kgtk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-misc/kgtk # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/ChangeLog,v 1.14 2008/06/08 23:50:30 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/ChangeLog,v 1.15 2008/07/21 20:09:18 deathwing00 Exp $ + +*kgtk-0.10.0 (21 Jul 2008) + + 21 Jul 2008; Ioannis Aslanidis <deathwing00@gentoo.org> + +kgtk-0.10.0.ebuild: + Version bump. *kgtk-0.9.5 (08 Jun 2008) diff --git a/kde-misc/kgtk/kgtk-0.10.0.ebuild b/kde-misc/kgtk/kgtk-0.10.0.ebuild new file mode 100644 index 000000000000..23715faee4ea --- /dev/null +++ b/kde-misc/kgtk/kgtk-0.10.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/kgtk-0.10.0.ebuild,v 1.1 2008/07/21 20:09:18 deathwing00 Exp $ + +ARTS_REQUIRED="never" +EAPI="1" +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" + +RDEPEND=">=x11-libs/gtk+-2.6 + qt4? ( || ( x11-libs/qt-gui:4 x11-libs/qt:4 ) )" + +DEPEND="${RDEPEND} + dev-util/cmake" +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" +} |