public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-office/calligra-l10n: metadata.xml ChangeLog calligra-l10n-2.3.81.ebuild
@ 2011-09-15 11:38 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; only message in thread
From: Tomas Chvatal (scarabeus) @ 2011-09-15 11:38 UTC (permalink / raw
  To: gentoo-commits

scarabeus    11/09/15 11:38:29

  Added:                metadata.xml ChangeLog calligra-l10n-2.3.81.ebuild
  Log:
  Initial commit for the calligra translations.
  
  (Portage version: 2.2.0_alpha58/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-office/calligra-l10n/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer>
		<email>dilfridge@gentoo.org</email>
	</maintainer>
	<herd>kde</herd>
	<herd>openoffice</herd>
</pkgmetadata>



1.1                  app-office/calligra-l10n/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for app-office/calligra-l10n
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v 1.1 2011/09/15 11:38:29 scarabeus Exp $

*calligra-l10n-2.3.81 (15 Sep 2011)

  15 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org>
  +calligra-l10n-2.3.81.ebuild, +metadata.xml:
  Initial commit for the calligra translations.




1.1                  app-office/calligra-l10n/calligra-l10n-2.3.81.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.3.81.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.3.81.ebuild?rev=1.1&content-type=text/plain

Index: calligra-l10n-2.3.81.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.3.81.ebuild,v 1.1 2011/09/15 11:38:29 scarabeus Exp $

EAPI=4

inherit kde4-base

DESCRIPTION="KOffice localization package"
HOMEPAGE="http://www.kde.org/"
LICENSE="GPL-2"

DEPEND="sys-devel/gettext"
RDEPEND=""

KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc"

MY_LANGS="ca ca@valencia da de el en_GB es et fr it kk nb nds nl pl pt pt_BR ru sv uk zh_TW"
URI_BASE="mirror://kde/unstable/${PN/-l10n/}-${PV}/${PN}/"
SRC_URI=""
SLOT="4"

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
unset MY_LANG

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 ${MY_LANGS}; do
			dir="${PN}-${lng}-${MY_PV}"
			if [[ -d "${dir}" ]] ; then
				echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt
			fi
		done
	fi
}

src_configure() {
	local mycmakeargs=(
		-DBUILD_MESSAGES=ON -DBUILD_DATA=ON
		$(cmake-utils_use_build doc)
	)
	[[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_configure
}

src_compile() {
	[[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_compile
}

src_test() {
	[[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_test
}

src_install() {
	[[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_install
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-15 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 11:38 [gentoo-commits] gentoo-x86 commit in app-office/calligra-l10n: metadata.xml ChangeLog calligra-l10n-2.3.81.ebuild Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox