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 A49D159CAA for ; Tue, 29 Mar 2016 19:23:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0D5E21C01E; Tue, 29 Mar 2016 19:23:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3558D21C01E for ; Tue, 29 Mar 2016 19:23:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B591D340CC7 for ; Tue, 29 Mar 2016 19:23:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED51686A for ; Tue, 29 Mar 2016 19:23:49 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1459279402.761861eafdcf9e75384f9967d444f61d45665e18.alexxy@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kde-l10n/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/kde-l10n/kde-l10n-16.03.80.ebuild kde-apps/kde-l10n/metadata.xml X-VCS-Directories: kde-apps/kde-l10n/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 761861eafdcf9e75384f9967d444f61d45665e18 X-VCS-Branch: master Date: Tue, 29 Mar 2016 19:23:49 +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: 4f0d22e8-6e57-4bcb-9664-b3d583060d5f X-Archives-Hash: a9b887b2a34cab299745dd908d7b3b35 commit: 761861eafdcf9e75384f9967d444f61d45665e18 Author: Alexey Shvetsov gentoo org> AuthorDate: Tue Mar 29 19:23:22 2016 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Tue Mar 29 19:23:22 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=761861ea kde-apps/kde-l10n: add for 16.03.80 Package-Manager: portage-2.2.28 kde-apps/kde-l10n/kde-l10n-16.03.80.ebuild | 112 +++++++++++++++++++++++++++++ kde-apps/kde-l10n/metadata.xml | 8 +++ 2 files changed, 120 insertions(+) diff --git a/kde-apps/kde-l10n/kde-l10n-16.03.80.ebuild b/kde-apps/kde-l10n/kde-l10n-16.03.80.ebuild new file mode 100644 index 0000000..d85e48b --- /dev/null +++ b/kde-apps/kde-l10n/kde-l10n-16.03.80.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="optional" +inherit kde5 + +DESCRIPTION="KDE internationalization package" +HOMEPAGE="http://l10n.kde.org" + +DEPEND=" + $(add_frameworks_dep ki18n) + $(add_qt_dep linguist-tools) + sys-devel/gettext +" +RDEPEND=" + !> "${S}"/CMakeLists.txt + + # Drop KDE4-based part + sed -e '/add_subdirectory(4)/ s/^/#/'\ + -i "${S}"/${DIR}/CMakeLists.txt || die + + # Remove kdepim translations (part of kde-apps/kdepim-l10n) + for subdir in kdepim kdepimlibs kdepim-runtime pim; do + find "${S}/${DIR}" -name CMakeLists.txt -type f \ + -exec sed -i -e "/add_subdirectory( *${subdir} *)/ s/^/#/" {} + + done + + # Remove ktp translations (part of kde-apps/ktp-l10n) + # Drop that hack (and kde-apps/ktp-l10n) after ktp:4 removal + find "${S}"/${DIR}/5/${LNG}/messages/kdenetwork -type f \ + \( -name kaccounts*po -o -name kcm_ktp*po -o -name kcmtelepathy*po \ + -o -name kded_ktp*po -o -name ktp*po -o -name plasma*ktp*po \) \ + -delete + + # Handbook optional + sed -e '/KF5DocTools/ s/ REQUIRED//'\ + -i "${S}"/${DIR}/5/${LNG}/CMakeLists.txt || die + if ! use handbook ; then + sed -e '/add_subdirectory(docs)/ s/^/#/'\ + -i "${S}"/${DIR}/5/${LNG}/CMakeLists.txt || die + fi + fi + done + fi +} + +src_configure() { + [[ -n ${A} ]] && kde5_src_configure +} + +src_compile() { + [[ -n ${A} ]] && kde5_src_compile +} + +src_test() { + [[ -n ${A} ]] && kde5_src_test +} + +src_install() { + [[ -n ${A} ]] && kde5_src_install +} diff --git a/kde-apps/kde-l10n/metadata.xml b/kde-apps/kde-l10n/metadata.xml new file mode 100644 index 0000000..2fdbf33 --- /dev/null +++ b/kde-apps/kde-l10n/metadata.xml @@ -0,0 +1,8 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + +