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 1QmQGs-0008Tr-T0 for garchives@archives.gentoo.org; Thu, 28 Jul 2011 13:05:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39CFD21C0A5; Thu, 28 Jul 2011 13:04:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EDD9821C0A5 for ; Thu, 28 Jul 2011 13:04:54 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 67CF91B4017 for ; Thu, 28 Jul 2011 13:04:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id D2DF78003D for ; Thu, 28 Jul 2011 13:04:53 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kde-l10n/ X-VCS-Repository: proj/kde X-VCS-Files: kde-base/kde-l10n/kde-l10n-4.7.0-r1.ebuild X-VCS-Directories: kde-base/kde-l10n/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: ddb7d3bed543e36ed09f33f5fcfae5e19688cc0a Date: Thu, 28 Jul 2011 13:04:53 +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: X-Archives-Hash: db17043040d6fb95dddc62d90312086b commit: ddb7d3bed543e36ed09f33f5fcfae5e19688cc0a Author: Andreas K. Huettel physik uni-r <= DOT> de> AuthorDate: Thu Jul 28 12:45:30 2011 +0000 Commit: Andreas H=C3=BCttel gentoo org> CommitDate: Thu Jul 28 13:03:51 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3Dddb7d3be [kde-base/kde-l10n] Add 4.7.0 l10 that does not collide with kdepim-4.4 (Portage version: 2.1.10.7/git/Linux x86_64, signed Manifest commit with = key 7887F787) --- kde-base/kde-l10n/kde-l10n-4.7.0-r1.ebuild | 93 ++++++++++++++++++++++= ++++++ 1 files changed, 93 insertions(+), 0 deletions(-) diff --git a/kde-base/kde-l10n/kde-l10n-4.7.0-r1.ebuild b/kde-base/kde-l1= 0n/kde-l10n-4.7.0-r1.ebuild new file mode 100644 index 0000000..cd5ae33 --- /dev/null +++ b/kde-base/kde-l10n/kde-l10n-4.7.0-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2011 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.7.0.ebui= ld,v 1.1 2011/07/27 14:04:26 alexxy Exp $ + +EAPI=3D"3" + +inherit kde4-base + +DESCRIPTION=3D"KDE internationalization package" +HOMEPAGE=3D"http://www.kde.org/" +LICENSE=3D"GPL-2" + +DEPEND=3D" + sys-devel/gettext +" +RDEPEND=3D"!=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"${PN}-${LNG}-${PV}" + if [[ -d "${DIR}" ]] ; then + echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt + fi + done + fi +} + +src_prepare() { + # Upstream added kdepim-runtime translations by mistake and does not wa= nt to + # make a new tarball, bug 366353 + + find "${S}" -name CMakeLists.txt -type f \ + -exec sed -i -e 's:add_subdirectory(kdepim-runtime):# no kdepim-runtim= e:g' {} + + find "${S}" -name CMakeLists.txt -type f \ + -exec sed -i -e 's:add_subdirectory(kdepim):# no kdepim:g' {} + + + 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 +}