diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-11-07 10:36:28 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-11-07 10:36:28 +0000 |
commit | 6d4d2000bb744032783cdd6f16f6c4cff70da15b (patch) | |
tree | b3df6727d3f92fe0b43d88c56288d7620d72e3b9 /kde-misc/kgtk | |
parent | Mask kde-misc/kopete-antispam-kde3 and kde-misc/koppermine. (diff) | |
download | gentoo-2-6d4d2000bb744032783cdd6f16f6c4cff70da15b.tar.gz gentoo-2-6d4d2000bb744032783cdd6f16f6c4cff70da15b.tar.bz2 gentoo-2-6d4d2000bb744032783cdd6f16f6c4cff70da15b.zip |
Add support for KDE_LINGUAS. Remove KDE3 support.
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/kgtk')
-rw-r--r-- | kde-misc/kgtk/ChangeLog | 5 | ||||
-rw-r--r-- | kde-misc/kgtk/kgtk-0.10.1.ebuild | 60 |
2 files changed, 18 insertions, 47 deletions
diff --git a/kde-misc/kgtk/ChangeLog b/kde-misc/kgtk/ChangeLog index e6445d7d43c9..579b5ec1f05e 100644 --- a/kde-misc/kgtk/ChangeLog +++ b/kde-misc/kgtk/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for kde-misc/kgtk # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/ChangeLog,v 1.23 2009/10/25 13:06:07 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/ChangeLog,v 1.24 2009/11/07 10:36:28 ssuominen Exp $ + + 07 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> kgtk-0.10.1.ebuild: + Add support for KDE_LINGUAS. Remove KDE3 support. 25 Oct 2009; Tomáš Chvátal <scarabeus@gentoo.org> kgtk-0.10.1.ebuild: QA: Remove usage of deprecated kde eclass code. diff --git a/kde-misc/kgtk/kgtk-0.10.1.ebuild b/kde-misc/kgtk/kgtk-0.10.1.ebuild index e47529a1588e..d9504661ce6c 100644 --- a/kde-misc/kgtk/kgtk-0.10.1.ebuild +++ b/kde-misc/kgtk/kgtk-0.10.1.ebuild @@ -1,70 +1,38 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/kgtk-0.10.1.ebuild,v 1.4 2009/10/25 13:06:07 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kgtk/kgtk-0.10.1.ebuild,v 1.5 2009/11/07 10:36:28 ssuominen Exp $ -EAPI="2" - -KDE_REQUIRED="newer" +EAPI=2 +KDE_LINGUAS="cs de en_GB es fr pt_BR ru zh_CN" +KDE_LINGUAS_DIR="kdialogd4/po" +KDE_MINIMAL="4.2" inherit kde4-base -DESCRIPTION="Allows *some* Gtk, Qt3, and Qt4 applications to use KDE's file dialogs when run under KDE" +DESCRIPTION="Allows *some* Gtk 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" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="qt3 +qt4" +IUSE="debug" -DEPEND=" - x11-libs/gtk+:2 - qt4? ( - x11-libs/qt-gui:4 - >=kde-base/kdebase-startkde-4.2.0 - ) - qt3? ( - x11-libs/qt:3 - || ( kde-base/kdebase:3.5 kde-base/kdebase-startkde:3.5 ) - ) - !qt3? ( - x11-libs/qt-gui:4 - >=kde-base/kdebase-startkde-4.2.0 - ) -" -RDEPEND="${DEPEND}" +DEPEND="x11-libs/gtk+:2 + x11-libs/qt-gui:4 + >=kde-base/kdebase-startkde-${KDE_MINIMAL}" PATCHES=( "${FILESDIR}/${P}-glibc-2.10.patch" ) S=${WORKDIR}/KGtk-${PV} +DOCS="AUTHORS ChangeLog README TODO" + src_configure() { - if use qt3 && use qt4 ; then - elog "You enabled both qt3 and qt4 useflags. Please pick only one you want." - elog "qt3 flag will be suppressed in favor of qt4." - fi - if use qt3 ; then - if ! use qt4 ; then - einfo "Building kgtk with KDE3 support." - # override prefix (dont let kdeprefix handle it) - PREFIX="/usr" - mycmakeargs="-DKGTK_KDE3=true -DKGTK_QT3=true -DKGTK_GTK2=true" - fi - fi - if use qt4 ; then - einfo "Buiding kgtk with KDE4 support." - mycmakeargs="-DKGTK_KDE4=true -DKGTK_QT4=true -DKGTK_GTK2=true" - elif ! use qt3 ; then - einfo "Buiding kgtk with KDE4 support." - mycmakeargs="-DKGTK_KDE4=true -DKGTK_QT4=true -DKGTK_GTK2=true" - fi + mycmakeargs="${mycmakeargs} + -DKGTK_KDE4=true -DKGTK_QT4=true -DKGTK_GTK2=true" kde4-base_src_configure } -src_install() { - kde4-base_src_install - dodoc "${S}"/{AUTHORS,ChangeLog,TODO,README} -} - pkg_postinst() { kde4-base_pkg_postinst elog "To see the kde-file-selector in a gtk-application, just do:" |