public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kdepim-l10n/
Date: Fri, 22 Jun 2012 09:52:54 +0000 (UTC)	[thread overview]
Message-ID: <1340358903.0d56a744bf3536ebcd80e2b795907d158a74bcec.johu@gentoo> (raw)

commit:     0d56a744bf3536ebcd80e2b795907d158a74bcec
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 22 09:45:34 2012 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Fri Jun 22 09:55:03 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0d56a744

[kde-base/kdepim-l10n] Version bump.

(Portage version: 2.2.0_alpha110/git/Linux i686, unsigned Manifest commit)

---
 kde-base/kdepim-l10n/kdepim-l10n-4.8.90.ebuild |  112 ++++++++++++++++++++++++
 1 files changed, 112 insertions(+), 0 deletions(-)

diff --git a/kde-base/kdepim-l10n/kdepim-l10n-4.8.90.ebuild b/kde-base/kdepim-l10n/kdepim-l10n-4.8.90.ebuild
new file mode 100644
index 0000000..16a828f
--- /dev/null
+++ b/kde-base/kdepim-l10n/kdepim-l10n-4.8.90.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+KDE_HANDBOOK=optional
+inherit kde4-base
+
+DESCRIPTION="KDE PIM internationalization package"
+HOMEPAGE="http://www.kde.org/"
+LICENSE="GPL-2"
+
+DEPEND="
+	sys-devel/gettext
+"
+RDEPEND=""
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fa fi fr ga gl he
+hr hu ia id is it ja kk km ko lt lv nb nds nl nn pa pl pt pt_BR ro ru si sk sl
+sr sv tg th ug uk vi tr wa zh_CN zh_TW"
+
+URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+SRC_URI=""
+
+for MY_LANG in ${MY_LANGS} ; do
+	IUSE="${IUSE} linguas_${MY_LANG}"
+	SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )"
+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}"
+
+	# add all linguas to cmake
+	if [[ -n ${A} ]]; then
+		for LNG in ${LINGUAS}; do
+			DIR="kde-l10n-${LNG}-${PV}"
+			if [[ -d "${DIR}" ]] ; then
+				echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
+			fi
+
+			# remove everything except kdepim and kdepim-runtime
+			for SUBDIR in data docs messages scripts ; do
+				if [[ -d "${S}/${DIR}/${SUBDIR}" ]] ; then
+					einfo "   ${SUBDIR} subdirectory"
+					echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt"
+					[[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
+					[[ -d "${S}/${DIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
+				fi
+			done
+
+			# in some cases we may have sub-lingua subdirs, e.g. sr :(
+			for XSUBDIR in "${S}/${DIR}/${LNG}"@* ; do
+				XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
+				if [[ -d "${XSUBDIR}" ]] ; then
+					einfo "   ${XLNG} variant"
+					# remove everything except kdepim and kdepim-runtime
+					for SUBDIR in data docs messages scripts ; do
+						if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then
+							einfo "      ${SUBDIR} subdirectory"
+							echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
+							[[ -d "${XSUBDIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
+							[[ -d "${XSUBDIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
+						fi
+					done
+				fi
+			done
+		done
+	fi
+}
+
+src_prepare() {
+	[[ -n ${A} ]] && kde4-base_src_prepare
+}
+
+src_configure() {
+	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
+}



             reply	other threads:[~2012-06-22  9:53 UTC|newest]

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

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=1340358903.0d56a744bf3536ebcd80e2b795907d158a74bcec.johu@gentoo \
    --to=johu@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