diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-05-15 17:57:38 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-05-15 17:57:38 +0000 |
commit | be1edfbeab7f6219b316c7e400b9029a6ba82949 (patch) | |
tree | c052ae6505e9caef22773390be471a10fc2c433b /kde-base | |
parent | Add ~alpha/~ia64/~m68k/~s390/~sh/~sparc wrt #358079 (diff) | |
download | gentoo-2-be1edfbeab7f6219b316c7e400b9029a6ba82949.tar.gz gentoo-2-be1edfbeab7f6219b316c7e400b9029a6ba82949.tar.bz2 gentoo-2-be1edfbeab7f6219b316c7e400b9029a6ba82949.zip |
"Empty" revbump because of bug 366353
(Portage version: 2.1.9.49/cvs/Linux x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kde-l10n/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kde-l10n/kde-l10n-4.6.3-r1.ebuild | 91 |
2 files changed, 98 insertions, 1 deletions
diff --git a/kde-base/kde-l10n/ChangeLog b/kde-base/kde-l10n/ChangeLog index 3682f33ab919..3dbd7822e444 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.86 2011/05/10 21:21:39 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.87 2011/05/15 17:57:38 dilfridge Exp $ + +*kde-l10n-4.6.3-r1 (15 May 2011) + + 15 May 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +kde-l10n-4.6.3-r1.ebuild: + "Empty" revbump because of bug 366353 10 May 2011; Andreas K. Huettel <dilfridge@gentoo.org> kde-l10n-4.6.3.ebuild: Dont generate kdepim-runtime messages, bug 366353 diff --git a/kde-base/kde-l10n/kde-l10n-4.6.3-r1.ebuild b/kde-base/kde-l10n/kde-l10n-4.6.3-r1.ebuild new file mode 100644 index 000000000000..aa8c3f984088 --- /dev/null +++ b/kde-base/kde-l10n/kde-l10n-4.6.3-r1.ebuild @@ -0,0 +1,91 @@ +# 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.6.3-r1.ebuild,v 1.1 2011/05/15 17:57:38 dilfridge Exp $ + +EAPI="3" + +inherit kde4-base + +DESCRIPTION="KDE internationalization package" +HOMEPAGE="http://www.kde.org/" +LICENSE="GPL-2" + +DEPEND=" + sys-devel/gettext +" +RDEPEND="!<kde-misc/konq-plugins-4.6" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+handbook" + +# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.bz2::' -e 's:kde-l10n-::' |tr '\n' ' ' +MY_LANGS="ar bg ca ca@valencia cs da de el en_GB es et eu fi fr ga gl gu he hi +hr hu ia id is it ja kk km kn ko lt lv mai nb nds nl nn pa pl pt pt_BR ro ru sk +sl sr sv 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 + + # 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="${PN}-${LNG}-${PV}" + if [[ -d "${DIR}" ]] ; then + echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt + fi + done + fi +} + +src_prepare() { + # Upstream added kdepim-runtime translations by mistake and does not want to + # make a new tarball, bug 366353 + + find "${S}" -name CMakeLists.txt -type f \ + -exec sed -i -e 's:add_subdirectory(kdepim-runtime):# no kdepim-runtime:g' {} + + + 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 +} |