diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-03-04 23:02:08 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-03-04 23:02:08 +0000 |
commit | 4de417b1bb3bc2e9455805558437ef13d2cf9344 (patch) | |
tree | 870de20bd2e0eebb646138c5b5ac72aca4b40b3a /kde-base/kde-l10n | |
parent | Version bump. (diff) | |
download | historical-4de417b1bb3bc2e9455805558437ef13d2cf9344.tar.gz historical-4de417b1bb3bc2e9455805558437ef13d2cf9344.tar.bz2 historical-4de417b1bb3bc2e9455805558437ef13d2cf9344.zip |
Bump KDE 4.2.1
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'kde-base/kde-l10n')
-rw-r--r-- | kde-base/kde-l10n/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kde-l10n/kde-l10n-4.2.1.ebuild | 70 |
2 files changed, 76 insertions, 1 deletions
diff --git a/kde-base/kde-l10n/ChangeLog b/kde-base/kde-l10n/ChangeLog index 6f82e43f1b9e..6fb19e07c279 100644 --- a/kde-base/kde-l10n/ChangeLog +++ b/kde-base/kde-l10n/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kde-l10n # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.19 2009/02/17 13:17:54 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.20 2009/03/04 21:00:29 alexxy Exp $ + +*kde-l10n-4.2.1 (04 Mar 2009) + + 04 Mar 2009; Alexey Shvetsov <alexxy@gentoo.org> +kde-l10n-4.2.1.ebuild: + Bump KDE 4.2.1 17 Feb 2009; Alexey Shvetsov <alexxy@gentoo.org> -kde-l10n-4.1.4.ebuild: Drop KDE 4.1.4 diff --git a/kde-base/kde-l10n/kde-l10n-4.2.1.ebuild b/kde-base/kde-l10n/kde-l10n-4.2.1.ebuild new file mode 100644 index 000000000000..f2c24eda8cce --- /dev/null +++ b/kde-base/kde-l10n/kde-l10n-4.2.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.2.1.ebuild,v 1.1 2009/03/04 21:00:29 alexxy Exp $ + +EAPI="2" + +inherit kde4-base + +DESCRIPTION="KDE internationalization package" +HOMEPAGE="http://www.kde.org/" +LICENSE="GPL-2" + +DEPEND="sys-devel/gettext" +RDEPEND="" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +MY_LANGS="ar bg bn_IN ca cs csb da de el en_GB es et eu fi fr ga gl gu he hi hu + is it ja kk km kn ko ku lt lv mai mk ml mr nb nds nl nn pa pl pt pt_BR + ro ru sl sr sv tg th tr uk wa zh_CN zh_TW" + +URI_BASE="${SRC_URI/-${PV}.tar.bz2/}" +SRC_URI="" + +for MY_LANG in ${MY_LANGS} ; do + IUSE="${IUSE} linguas_${MY_LANG}" + SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.bz2 )" +done + +S="${WORKDIR}" + +src_unpack() { + local LNG DIR + if [[ -z ${A} ]]; then + elog + elog "You either have the LINGUAS variable unset, or it only" + elog "contains languages not supported by ${P}." + elog "You won't have any additional language support." + elog + elog "${P} supports these language codes:" + elog "${MY_LANGS}" + elog + fi + + [[ -n ${A} ]] && unpack ${A} + cd "${S}" + + # add all linguas to cmake + if [[ -n ${A} ]]; then + for LNG in ${LINGUAS}; do + DIR="${PN}-${LNG}-${PV}" + if [[ -d "${DIR}" ]] ; then + echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt + fi + done + fi +} + +src_configure() { + [[ -n ${A} ]] && kde4-base_src_configure +} + +src_compile() { + [[ -n ${A} ]] && kde4-base_src_compile +} + +src_install() { + [[ -n ${A} ]] && kde4-base_src_install +} |