From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DF118138010 for ; Mon, 20 Aug 2012 13:56:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7F5F21C013; Mon, 20 Aug 2012 13:55:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9A9DD21C013 for ; Mon, 20 Aug 2012 13:55:48 +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 979DA1B41D3 for ; Mon, 20 Aug 2012 13:55:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 52131E5443 for ; Mon, 20 Aug 2012 13:55:46 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1345470909.2f3ce92f860ee1de7750c8010691fdeb82f6a309.mschiff@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.9.49.9999.ebuild kde-base/kdepim-l10n/kdepim-l10n-9999.ebuild kde-base/kdepim-l10n/metadata.xml X-VCS-Directories: kde-base/kdepim-l10n/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: 2f3ce92f860ee1de7750c8010691fdeb82f6a309 X-VCS-Branch: master Date: Mon, 20 Aug 2012 13:55:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: deeea5af-89a3-43ec-8509-50dc9ed7b26f X-Archives-Hash: dd6eb00d7b56410c25fd2408aac65944 commit: 2f3ce92f860ee1de7750c8010691fdeb82f6a309 Author: Marc Schiffbauer gentoo org> AuthorDate: Mon Aug 20 13:55:09 2012 +0000 Commit: Marc Schiffbauer schiffbauer net> CommitDate: Mon Aug 20 13:55:09 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=2f3ce92f [kde-base/kdepim-l10n] Added live packages --- .../kdepim-l10n/kdepim-l10n-4.9.49.9999.ebuild | 102 ++++++++++++++++++++ kde-base/kdepim-l10n/kdepim-l10n-9999.ebuild | 102 ++++++++++++++++++++ kde-base/kdepim-l10n/metadata.xml | 5 + 3 files changed, 209 insertions(+), 0 deletions(-) diff --git a/kde-base/kdepim-l10n/kdepim-l10n-4.9.49.9999.ebuild b/kde-base/kdepim-l10n/kdepim-l10n-4.9.49.9999.ebuild new file mode 100644 index 0000000..ca5dd12 --- /dev/null +++ b/kde-base/kdepim-l10n/kdepim-l10n-4.9.49.9999.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit kde4-base + +DESCRIPTION="KDE internationalization package" +HOMEPAGE="http://www.kde.org/" +LICENSE="GPL-2" + +DEPEND=">=sys-devel/gettext-0.17" +RDEPEND="${DEPEND}" + +KEYWORDS="" +IUSE="" + +LANGS="af ar be bg bn bn_IN br ca cs csb cy da de el en_GB eo es et eu fa fi fr + fy ga gl gu he hi hr hsb hu hy is it ja ka kk km kn ko ku lb lt lv mk ml + ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sr sv ta te tg + th tr uk uz vi wa xh zh_CN zh_HK zh_TW" +for LNG in ${LANGS}; do + IUSE="${IUSE} linguas_${LNG}" +done +S="${WORKDIR}"/${PN} + +pkg_setup() { + local lng + for lng in ${LINGUAS}; do + enabled_linguas+=" ${lng}" + done + if [[ -z ${enabled_linguas} ]]; 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 "${LANGS}" + elog + fi + kde4-base_pkg_setup +} + +src_unpack() { + local lng + + for lng in ${enabled_linguas}; do + ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/${lng}" + S="${WORKDIR}"/${PN}/${lng} + subversion_src_unpack + done + ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/scripts" + S="${WORKDIR}"/${PN}/scripts + subversion_src_unpack + S="${WORKDIR}"/${PN} + kde4-base_src_unpack +} + +src_prepare() { + for lng in ${enabled_linguas}; do + # remove everything but the kdepim stuff + find "${S}/${lng}" -mindepth 2 -maxdepth 2 -type d ! -name "kdepim*" -exec rm -r {} + + rm "${S}/${lng}"/messages/entry.desktop + done +} + +src_configure() { + local lng + + if [[ ! -z ${enabled_linguas} ]]; then + cat <<-EOF > "${S}"/CMakeLists.txt + project(kde-l10n) + + find_package(KDE4 REQUIRED) + include (KDE4Defaults) + include(MacroOptionalAddSubdirectory) + + find_package(Gettext REQUIRED) + + EOF + + for lng in ${enabled_linguas} ; do + "${S}"/scripts/autogen.sh ${lng} + echo "add_subdirectory( ${lng} )" >> "${S}"/CMakeLists.txt + done + kde4-base_src_configure + fi +} + +src_compile() { + [[ -z ${enabled_linguas} ]] || kde4-base_src_compile +} + +src_test() { + [[ -z ${enabled_linguas} ]] || kde4-base_src_test +} + +src_install() { + [[ -z ${enabled_linguas} ]] || kde4-base_src_install +} diff --git a/kde-base/kdepim-l10n/kdepim-l10n-9999.ebuild b/kde-base/kdepim-l10n/kdepim-l10n-9999.ebuild new file mode 100644 index 0000000..ca5dd12 --- /dev/null +++ b/kde-base/kdepim-l10n/kdepim-l10n-9999.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit kde4-base + +DESCRIPTION="KDE internationalization package" +HOMEPAGE="http://www.kde.org/" +LICENSE="GPL-2" + +DEPEND=">=sys-devel/gettext-0.17" +RDEPEND="${DEPEND}" + +KEYWORDS="" +IUSE="" + +LANGS="af ar be bg bn bn_IN br ca cs csb cy da de el en_GB eo es et eu fa fi fr + fy ga gl gu he hi hr hsb hu hy is it ja ka kk km kn ko ku lb lt lv mk ml + ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sr sv ta te tg + th tr uk uz vi wa xh zh_CN zh_HK zh_TW" +for LNG in ${LANGS}; do + IUSE="${IUSE} linguas_${LNG}" +done +S="${WORKDIR}"/${PN} + +pkg_setup() { + local lng + for lng in ${LINGUAS}; do + enabled_linguas+=" ${lng}" + done + if [[ -z ${enabled_linguas} ]]; 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 "${LANGS}" + elog + fi + kde4-base_pkg_setup +} + +src_unpack() { + local lng + + for lng in ${enabled_linguas}; do + ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/${lng}" + S="${WORKDIR}"/${PN}/${lng} + subversion_src_unpack + done + ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/scripts" + S="${WORKDIR}"/${PN}/scripts + subversion_src_unpack + S="${WORKDIR}"/${PN} + kde4-base_src_unpack +} + +src_prepare() { + for lng in ${enabled_linguas}; do + # remove everything but the kdepim stuff + find "${S}/${lng}" -mindepth 2 -maxdepth 2 -type d ! -name "kdepim*" -exec rm -r {} + + rm "${S}/${lng}"/messages/entry.desktop + done +} + +src_configure() { + local lng + + if [[ ! -z ${enabled_linguas} ]]; then + cat <<-EOF > "${S}"/CMakeLists.txt + project(kde-l10n) + + find_package(KDE4 REQUIRED) + include (KDE4Defaults) + include(MacroOptionalAddSubdirectory) + + find_package(Gettext REQUIRED) + + EOF + + for lng in ${enabled_linguas} ; do + "${S}"/scripts/autogen.sh ${lng} + echo "add_subdirectory( ${lng} )" >> "${S}"/CMakeLists.txt + done + kde4-base_src_configure + fi +} + +src_compile() { + [[ -z ${enabled_linguas} ]] || kde4-base_src_compile +} + +src_test() { + [[ -z ${enabled_linguas} ]] || kde4-base_src_test +} + +src_install() { + [[ -z ${enabled_linguas} ]] || kde4-base_src_install +} diff --git a/kde-base/kdepim-l10n/metadata.xml b/kde-base/kdepim-l10n/metadata.xml new file mode 100644 index 0000000..8d1e86a --- /dev/null +++ b/kde-base/kdepim-l10n/metadata.xml @@ -0,0 +1,5 @@ + + + +kde +