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 620FB1384B4 for ; Sun, 6 Dec 2015 15:22:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECF52E08EF; Sun, 6 Dec 2015 15:22:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71011E08EF for ; Sun, 6 Dec 2015 15:22:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 287FD340753 for ; Sun, 6 Dec 2015 15:22:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C186AC7A for ; Sun, 6 Dec 2015 15:22:33 +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: <1449415223.e044c88c186aeefb9481562e75b557e9953e070d.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-15.11.90.ebuild X-VCS-Directories: kde-apps/kde-l10n/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: e044c88c186aeefb9481562e75b557e9953e070d X-VCS-Branch: master Date: Sun, 6 Dec 2015 15:22:33 +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: a108ffe2-c50e-405a-b7cf-067bce0b73e5 X-Archives-Hash: 0577a7a964a6fb5018c78239028ebf87 commit: e044c88c186aeefb9481562e75b557e9953e070d Author: Alexey Shvetsov gentoo org> AuthorDate: Sun Dec 6 15:20:23 2015 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Sun Dec 6 15:20:23 2015 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=e044c88c kde-apps/kde-l10n: Add version for 15.11.90 Package-Manager: portage-2.2.26 kde-apps/kde-l10n/kde-l10n-15.11.90.ebuild | 119 +++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) diff --git a/kde-apps/kde-l10n/kde-l10n-15.11.90.ebuild b/kde-apps/kde-l10n/kde-l10n-15.11.90.ebuild new file mode 100644 index 0000000..c866661 --- /dev/null +++ b/kde-apps/kde-l10n/kde-l10n-15.11.90.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_HANDBOOK="true" +inherit kde5 + +DESCRIPTION="KDE internationalization package" +HOMEPAGE="http://l10n.kde.org" + +DEPEND=" + $(add_frameworks_dep ki18n) + dev-qt/linguist-tools:5 + 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 + + # Fix broken LINGUAS=sr (KDE4 leftover) + if [[ ${LNG} = "sr" ]] ; then + sed -e '/add_subdirectory(lokalize)/ s/^/#/'\ + -i "${S}"/${DIR}/5/${LNG}/data/kdesdk/CMakeLists.txt || die + fi + fi + done + fi +} + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_find_package handbook KF5DocTools) + ) + [[ -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 +}