From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Si0YF-00024P-2M for garchives@archives.gentoo.org; Fri, 22 Jun 2012 09:53:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20C8CE0923; Fri, 22 Jun 2012 09:52:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D906EE0913 for ; Fri, 22 Jun 2012 09:52:57 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5498A1B400C for ; Fri, 22 Jun 2012 09:52:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 8BEA7E5437 for ; Fri, 22 Jun 2012 09:52:54 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1340358903.0d56a744bf3536ebcd80e2b795907d158a74bcec.johu@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kdepim-l10n/ X-VCS-Repository: proj/kde X-VCS-Files: kde-base/kdepim-l10n/kdepim-l10n-4.8.90.ebuild X-VCS-Directories: kde-base/kdepim-l10n/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 0d56a744bf3536ebcd80e2b795907d158a74bcec X-VCS-Branch: master Date: Fri, 22 Jun 2012 09:52:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 28764bb5-fe6c-467f-9d1f-c46bf86bfe7a X-Archives-Hash: c337e3c5e420e8ffbf4a545318334933 commit: 0d56a744bf3536ebcd80e2b795907d158a74bcec Author: Johannes Huber gentoo org> AuthorDate: Fri Jun 22 09:45:34 2012 +0000 Commit: Johannes Huber gentoo org> CommitDate: Fri Jun 22 09:55:03 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3D0d56a744 [kde-base/kdepim-l10n] Version bump. (Portage version: 2.2.0_alpha110/git/Linux i686, unsigned Manifest commit= ) --- kde-base/kdepim-l10n/kdepim-l10n-4.8.90.ebuild | 112 ++++++++++++++++++= ++++++ 1 files changed, 112 insertions(+), 0 deletions(-) diff --git a/kde-base/kdepim-l10n/kdepim-l10n-4.8.90.ebuild b/kde-base/kd= epim-l10n/kdepim-l10n-4.8.90.ebuild new file mode 100644 index 0000000..16a828f --- /dev/null +++ b/kde-base/kdepim-l10n/kdepim-l10n-4.8.90.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +KDE_HANDBOOK=3Doptional +inherit kde4-base + +DESCRIPTION=3D"KDE PIM internationalization package" +HOMEPAGE=3D"http://www.kde.org/" +LICENSE=3D"GPL-2" + +DEPEND=3D" + sys-devel/gettext +" +RDEPEND=3D"" + +KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE=3D"" + +MY_LANGS=3D"ar bg bs ca ca@valencia cs da de el en_GB es et eu fa fi fr = ga gl he +hr hu ia id is it ja kk km ko lt lv nb nds nl nn pa pl pt pt_BR ro ru si= sk sl +sr sv tg th ug uk vi tr wa zh_CN zh_TW" + +URI_BASE=3D"${SRC_URI/-${PV}.tar.xz/}" +SRC_URI=3D"" + +for MY_LANG in ${MY_LANGS} ; do + IUSE=3D"${IUSE} linguas_${MY_LANG}" + SRC_URI=3D"${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-= l10n-${MY_LANG}-${PV}.tar.xz )" +done + +S=3D"${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 + + # For EAPI >=3D 3, or if not using .tar.xz archives: + [[ -n ${A} ]] && unpack ${A} + cd "${S}" + + # add all linguas to cmake + if [[ -n ${A} ]]; then + for LNG in ${LINGUAS}; do + DIR=3D"kde-l10n-${LNG}-${PV}" + if [[ -d "${DIR}" ]] ; then + echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt + fi + + # remove everything except kdepim and kdepim-runtime + for SUBDIR in data docs messages scripts ; do + if [[ -d "${S}/${DIR}/${SUBDIR}" ]] ; then + einfo " ${SUBDIR} subdirectory" + echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" + [[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory= (kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" ) + [[ -d "${S}/${DIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subd= irectory(kdepim-runtime)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" ) + fi + done + + # in some cases we may have sub-lingua subdirs, e.g. sr :( + for XSUBDIR in "${S}/${DIR}/${LNG}"@* ; do + XLNG=3D$(echo ${XSUBDIR}|sed -e 's:^.*/::') + if [[ -d "${XSUBDIR}" ]] ; then + einfo " ${XLNG} variant" + # remove everything except kdepim and kdepim-runtime + for SUBDIR in data docs messages scripts ; do + if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then + einfo " ${SUBDIR} subdirectory" + echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" + [[ -d "${XSUBDIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirector= y(kdepim)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" ) + [[ -d "${XSUBDIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_sub= directory(kdepim-runtime)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" ) + fi + done + fi + done + done + fi +} + +src_prepare() { + [[ -n ${A} ]] && kde4-base_src_prepare +} + +src_configure() { + mycmakeargs=3D( + $(cmake-utils_use_build handbook docs) + ) + [[ -n ${A} ]] && kde4-base_src_configure +} + +src_compile() { + [[ -n ${A} ]] && kde4-base_src_compile +} + +src_test() { + [[ -n ${A} ]] && kde4-base_src_test +} + +src_install() { + [[ -n ${A} ]] && kde4-base_src_install +}