summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-05-09 12:42:47 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-05-09 12:42:47 +0000
commit099fadb6c1912ba256a20043a83c97d631099dd3 (patch)
tree33251e7877fcc83b68ccd03d0c6157934ff7d53f /kde-base
parentMigrate to EAPI 2. (diff)
downloadhistorical-099fadb6c1912ba256a20043a83c97d631099dd3.tar.gz
historical-099fadb6c1912ba256a20043a83c97d631099dd3.tar.bz2
historical-099fadb6c1912ba256a20043a83c97d631099dd3.zip
Make doc translations optionaly installable.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kde-l10n/ChangeLog8
-rw-r--r--kde-base/kde-l10n/Manifest3
-rw-r--r--kde-base/kde-l10n/kde-l10n-4.2.3-r1.ebuild72
3 files changed, 81 insertions, 2 deletions
diff --git a/kde-base/kde-l10n/ChangeLog b/kde-base/kde-l10n/ChangeLog
index d1f44cec0871..a7700874bd87 100644
--- a/kde-base/kde-l10n/ChangeLog
+++ b/kde-base/kde-l10n/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kde-l10n
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.26 2009/05/06 23:11:27 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.27 2009/05/09 12:42:47 scarabeus Exp $
+
+*kde-l10n-4.2.3-r1 (09 May 2009)
+
+ 09 May 2009; Tomas Chvatal <scarabeus@gentoo.org>
+ +kde-l10n-4.2.3-r1.ebuild:
+ Make doc translations optionaly installable.
*kde-l10n-4.2.3 (06 May 2009)
diff --git a/kde-base/kde-l10n/Manifest b/kde-base/kde-l10n/Manifest
index c9cef1bc1de4..a6fd8e87d222 100644
--- a/kde-base/kde-l10n/Manifest
+++ b/kde-base/kde-l10n/Manifest
@@ -111,6 +111,7 @@ DIST kde-l10n-zh_CN-4.2.3.tar.bz2 3150961 RMD160 582419a29a541c4a0bead5e9fcbb003
DIST kde-l10n-zh_TW-4.2.2.tar.bz2 2084438 RMD160 76d4d2c8e69323f8e1f6bc68239eeed777804a7e SHA1 bfa83d882c8a41c965db47d6e57ccd4fb3408f73 SHA256 f3242384901122cdca688eb4df7c572df442b89f835a6d50bd84d705efd7939a
DIST kde-l10n-zh_TW-4.2.3.tar.bz2 2085558 RMD160 acb7561b124afe7bc970f7844dcaebc000a3b4e9 SHA1 5bed72489dc41da0edaf3ada7f1b3d7a00e868d8 SHA256 596724335ceb4183fb5d5958a9d35753181bc67e740fe45d2c48a641b607556d
EBUILD kde-l10n-4.2.2.ebuild 1640 RMD160 9ae754ab6ea371fbb7091cdcc62e138549be6a1e SHA1 c2ecff5badf05eff4f3f409b0ab0bd9037353c27 SHA256 0cb0c9d0a01c23c73b6f11ff0e2efa9e4699132fd609e53efcefbfe2201876d7
+EBUILD kde-l10n-4.2.3-r1.ebuild 1712 RMD160 bbf4fc72569030022fecff668015494a9904bd0c SHA1 2fa2d125873c0e3a3077e0d16af14f5f46772929 SHA256 05300f424d08ba6a9eef0aa8799b0135c0646cbe86cd18810742530dfe6f00db
EBUILD kde-l10n-4.2.3.ebuild 1643 RMD160 a0c436a0174fcd4dc92d9f460414814348b03c38 SHA1 f5b2a08feefc8aac806affad4026cbf6c1bf09d3 SHA256 a015c14af271de621aebae15137581c4c99dc5615c916f388d2fa3cbe590412b
-MISC ChangeLog 3769 RMD160 999c2b237d2e7b7d1e0e1847a93569a32f0d6b59 SHA1 8ebcb636791d8618fee8aae257cdbd1c884d7f57 SHA256 ceeaa493512bffb8e6664488550a3c5c3cbb06d024c458cef2a28f462167e806
+MISC ChangeLog 3932 RMD160 9b73f1a26be918d6f791c93ec5977f8550fffef4 SHA1 68ee95a0eec13876311af706bbae1d55345ac2a6 SHA256 c22e3c3f9db5775fa7c970bef4a07f5659f40261e8f43f016b29f85adc7eee3a
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
diff --git a/kde-base/kde-l10n/kde-l10n-4.2.3-r1.ebuild b/kde-base/kde-l10n/kde-l10n-4.2.3-r1.ebuild
new file mode 100644
index 000000000000..7d466b0af095
--- /dev/null
+++ b/kde-base/kde-l10n/kde-l10n-4.2.3-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2009 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.2.3-r1.ebuild,v 1.1 2009/05/09 12:42:47 scarabeus Exp $
+
+EAPI="2"
+
+inherit kde4-base
+
+DESCRIPTION="KDE internationalization package"
+HOMEPAGE="http://www.kde.org/"
+LICENSE="GPL-2"
+
+DEPEND="sys-devel/gettext"
+RDEPEND=""
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+MY_LANGS="ar bg bn_IN ca cs csb da de el en_GB es et eu fi fr ga gl gu he hi hu
+ is it ja kk km kn ko ku lt lv mai mk ml mr nb nds nl nn pa pl pt pt_BR
+ ro ru sk sl sr sv tg th tr uk wa zh_CN zh_TW"
+
+URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
+SRC_URI=""
+
+for MY_LANG in ${MY_LANGS} ; do
+ IUSE="${IUSE} linguas_${MY_LANG}"
+ SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.bz2 )"
+done
+
+S="${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
+
+ [[ -n ${A} ]] && unpack ${A}
+ cd "${S}"
+
+ # add all linguas to cmake
+ if [[ -n ${A} ]]; then
+ for LNG in ${LINGUAS}; do
+ DIR="${PN}-${LNG}-${PV}"
+ if [[ -d "${DIR}" ]] ; then
+ echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
+ fi
+ done
+ fi
+}
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_build doc docs)"
+ [[ -n ${A} ]] && kde4-base_src_configure
+}
+
+src_compile() {
+ [[ -n ${A} ]] && kde4-base_src_compile
+}
+
+src_install() {
+ [[ -n ${A} ]] && kde4-base_src_install
+}