public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas K. Huettel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kdepim-l10n/
Date: Mon,  4 Apr 2011 22:04:15 +0000 (UTC)	[thread overview]
Message-ID: <d95a5d71626de4363677adc228c14407aea9c6c7.dilfridge@gentoo> (raw)

commit:     d95a5d71626de4363677adc228c14407aea9c6c7
Author:     Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de>
AuthorDate: Mon Apr  4 22:07:13 2011 +0000
Commit:     Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Apr  4 22:07:13 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=d95a5d71

[kde-base/kdepim-l10n] First try creating this strange mutant

(Portage version: 2.1.9.45/git/Linux x86_64, signed Manifest commit with key B6C5F7DE)

---
 kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild |   90 ++++++++++++++++++++++++
 kde-base/kdepim-l10n/metadata.xml              |    5 ++
 2 files changed, 95 insertions(+), 0 deletions(-)

diff --git a/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild b/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild
new file mode 100644
index 0000000..b368c22
--- /dev/null
+++ b/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild
@@ -0,0 +1,90 @@
+# 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.4.5.ebuild,v 1.6 2011/01/28 15:25:57 scarabeus Exp $
+
+EAPI=3
+
+inherit kde4-base
+
+DESCRIPTION="KDE internationalization package"
+HOMEPAGE="http://www.kde.org/"
+LICENSE="GPL-2"
+
+DEPEND="
+	sys-devel/gettext
+"
+RDEPEND=""
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+handbook"
+
+MY_LANGS="ar bg ca ca@valencia cs csb da de el en_GB eo es et eu
+		fi fr fy ga gl gu he hi hr hu id is it ja kk km kn ko lt lv
+		mai mk ml nb nds nl nn pa pl pt pt_BR ro ru si sk sl sr sv tg
+		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}/kde-l10n-${MY_LANG}-4.4.5.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
+
+	# For EAPI >= 3, or if not using .tar.xz archives:
+	[[ -n ${A} ]] && unpack ${A}
+	cd "${S}"
+
+	# for all linguas do:
+	if [[ -n ${A} ]]; then
+		for LNG in ${LINGUAS}; do
+			DIR="kde-l10n-${LNG}-4.4.5"
+
+			# add subdir to toplevel cmake file
+			if [[ -d "${DIR}" ]] ; then
+				echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
+			fi
+
+			# remove everything except kdepim
+			for SUBDIR in data docs messages scripts ; do 
+				echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt"
+				[[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
+				[[ -d "${S}/${DIR}/${SUBDIR}/common" ]] && ( echo "add_subdirectory(common)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
+			done
+		done
+	fi
+}
+
+
+src_configure() {
+	mycmakeargs="${mycmakeargs}
+		$(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
+}

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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>



             reply	other threads:[~2011-04-04 22:04 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 22:04 Andreas K. Huettel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-04 22:08 [gentoo-commits] proj/kde:master commit in: kde-base/kdepim-l10n/ Andreas K. Huettel
2011-04-04 22:19 Andreas K. Huettel
2011-04-05 22:11 Andreas K. Huettel
2011-04-05 22:24 Andreas K. Huettel
2011-04-07 13:06 Tomas Chvatal
2011-07-23  2:01 Jorge Manuel B. S. Vicetto
2011-07-28 13:04 Andreas Hüttel
2011-07-28 21:29 Andreas Hüttel
2011-09-07 21:23 Alexey Shvetsov
2011-11-06 22:24 Johannes Huber
2011-12-07 14:44 Marc Schiffbauer
2011-12-07 20:24 Marc Schiffbauer
2011-12-12 23:46 Andreas Hüttel
2011-12-27 14:00 Andreas Hüttel
2012-01-04 21:58 Johannes Huber
2012-03-06 11:32 Johannes Huber
2012-04-04  8:15 Johannes Huber
2012-05-01 11:08 Johannes Huber
2012-06-01 16:35 Johannes Huber
2012-06-22  9:52 Johannes Huber
2012-07-26 15:31 Johannes Huber
2012-08-07 12:26 Johannes Huber
2012-08-20 13:55 Marc Schiffbauer
2012-10-13 21:58 Johannes Huber
2013-02-01 21:34 Andreas Hüttel
2013-05-05 12:10 Johannes Huber
2013-05-05 17:55 Johannes Huber
2013-06-13 20:17 Johannes Huber
2013-08-01  0:18 Johannes Huber
2013-12-12 22:38 Chris Reffett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d95a5d71626de4363677adc228c14407aea9c6c7.dilfridge@gentoo \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox