diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-08-04 17:32:29 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-08-04 17:32:29 +0000 |
commit | 20a7e196daf46b7f4524f96975d540d6d5e5de88 (patch) | |
tree | fcb6796758c985c12150460c2bc546bda5d8c8c2 /net-im | |
parent | Version bump for the 3.4 / 3.10 series, remove old. (diff) | |
download | gentoo-2-20a7e196daf46b7f4524f96975d540d6d5e5de88.tar.gz gentoo-2-20a7e196daf46b7f4524f96975d540d6d5e5de88.tar.bz2 gentoo-2-20a7e196daf46b7f4524f96975d540d6d5e5de88.zip |
fix live ebuild wrt #418361
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/psi/ChangeLog | 5 | ||||
-rw-r--r-- | net-im/psi/psi-9999.ebuild | 36 |
2 files changed, 13 insertions, 28 deletions
diff --git a/net-im/psi/ChangeLog b/net-im/psi/ChangeLog index 0efa2e37641b..165b409231d7 100644 --- a/net-im/psi/ChangeLog +++ b/net-im/psi/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-im/psi # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.235 2013/07/10 04:56:46 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.236 2013/08/04 17:32:29 hasufell Exp $ + + 04 Aug 2013; Julian Ospald <hasufell@gentoo.org> psi-9999.ebuild: + fix live ebuild wrt #418361 10 Jul 2013; Patrick Lauer <patrick@gentoo.org> psi-0.14-r4.ebuild, psi-0.15.ebuild, psi-9999.ebuild: diff --git a/net-im/psi/psi-9999.ebuild b/net-im/psi/psi-9999.ebuild index b85ffffc0828..044a472dccc6 100644 --- a/net-im/psi/psi-9999.ebuild +++ b/net-im/psi/psi-9999.ebuild @@ -1,14 +1,14 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-9999.ebuild,v 1.18 2013/07/10 04:56:46 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-9999.ebuild,v 1.19 2013/08/04 17:32:29 hasufell Exp $ EAPI="4" -LANGS="ar be bg br ca cs da de ee el eo es et fi fr hr hu it ja mk nl pl pt pt_BR ru se sk sl sr sr@latin sv sw uk ur_PK vi zh_CN zh_TW" +LANGS="be bg ca cs de en eo es et fi fr hu it ja mk nl pl pt pt_BR ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW" EGIT_REPO_URI="git://github.com/psi-im/psi.git" EGIT_HAS_SUBMODULES=1 -LANGS_URI="git://pv.et-inf.fho-emden.de/git/psi-l10n" +LANGS_REPO_URI="git://github.com/psi-plus/psi-plus-l10n.git" PSI_PLUS_URI="git://github.com/psi-plus/main.git" PSI_PLUS_RESOURCES_URI="git://github.com/psi-plus/resources.git" @@ -93,22 +93,9 @@ src_unpack() { # fetch translations mkdir "${WORKDIR}/psi-l10n" - for x in ${LANGS}; do - if use linguas_${x}; then - if use extras && [ "${x}" = "ru" ]; then - ESVN_PROJECT="psiplus/psi-l10n/${x}" \ - S="${WORKDIR}" \ - subversion_fetch \ - "http://psi-ru.googlecode.com/svn/branches/psi-plus/" \ - "psi-l10n/${x}" - else - unset EGIT_MASTER EGIT_BRANCH EGIT_COMMIT - EGIT_REPO_URI="${LANGS_URI}-${x}" \ - EGIT_DIR="${EGIT_STORE_DIR}/psi-l10n/${x}" \ - EGIT_SOURCEDIR="${WORKDIR}/psi-l10n/${x}" git-2_src_unpack - fi - fi - done + unset EGIT_MASTER EGIT_BRANCH EGIT_COMMIT + EGIT_REPO_URI="${LANGS_REPO_URI}" \ + EGIT_SOURCEDIR="${WORKDIR}/psi-l10n" git-2_src_unpack if use extras; then EGIT_DIR="${EGIT_STORE_DIR}/psi-plus/main" \ @@ -137,8 +124,6 @@ src_prepare() { qconf || die "Failed to create ./configure." fi - - rm -rf third-party/qca # We use system libraries. Remove after patching, some patches may affect qca. } src_configure() { @@ -203,15 +188,12 @@ src_install() { use doc && dohtml -r doc/api # install translations - cd "${WORKDIR}/psi-l10n" + cd "${WORKDIR}/psi-l10n/translations" insinto /usr/share/${MY_PN} for x in ${LANGS}; do if use linguas_${x}; then - lrelease "${x}/${PN}_${x}.ts" || die "lrelease ${x} failed" - doins "${x}/${PN}_${x}.qm" - [ -f "${x}/qt_${x}.qm" ] && doins "${x}/qt_${x}.qm" - [ -f "${x}/qt/qt_${x}.qm" ] && doins "${x}/qt/qt_${x}.qm" - [ -f "${x}/INFO" ] && newins "${x}/INFO" "${PN}_${x}.INFO" + lrelease "${PN}_${x}.ts" || die "lrelease ${x} failed" + doins "${PN}_${x}.qm" fi done } |