diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-11-10 15:27:33 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-11-10 15:27:33 +0000 |
commit | f7b5e62fbf1ccbc10dd50a55af5598896b52d76f (patch) | |
tree | 8334d1cc33840671c3a455f686e3321cb49c7c42 /kde-misc | |
parent | moved from sci-libs/charm to sys-cluster/charm (diff) | |
download | gentoo-2-f7b5e62fbf1ccbc10dd50a55af5598896b52d76f.tar.gz gentoo-2-f7b5e62fbf1ccbc10dd50a55af5598896b52d76f.tar.bz2 gentoo-2-f7b5e62fbf1ccbc10dd50a55af5598896b52d76f.zip |
New version. Add support for i18n.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/pwmanager/ChangeLog | 7 | ||||
-rw-r--r-- | kde-misc/pwmanager/files/digest-pwmanager-1.2.4 | 2 | ||||
-rw-r--r-- | kde-misc/pwmanager/pwmanager-1.2.4.ebuild | 77 |
3 files changed, 85 insertions, 1 deletions
diff --git a/kde-misc/pwmanager/ChangeLog b/kde-misc/pwmanager/ChangeLog index c8e2cb9b9ad2..e196784b1774 100644 --- a/kde-misc/pwmanager/ChangeLog +++ b/kde-misc/pwmanager/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-misc/pwmanager # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/pwmanager/ChangeLog,v 1.5 2005/08/20 17:11:38 greg_g Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/pwmanager/ChangeLog,v 1.6 2005/11/10 15:27:33 greg_g Exp $ + +*pwmanager-1.2.4 (10 Nov 2005) + + 10 Nov 2005; Gregorio Guidi <greg_g@gentoo.org> +pwmanager-1.2.4.ebuild: + New version. Add support for i18n. 20 Aug 2005; Gregorio Guidi <greg_g@gentoo.org> pwmanager-1.2.3.ebuild: Stable on x86. diff --git a/kde-misc/pwmanager/files/digest-pwmanager-1.2.4 b/kde-misc/pwmanager/files/digest-pwmanager-1.2.4 new file mode 100644 index 000000000000..4e9da6267ba0 --- /dev/null +++ b/kde-misc/pwmanager/files/digest-pwmanager-1.2.4 @@ -0,0 +1,2 @@ +MD5 e6f720af9b325bc0e7ea20c9c5e6039f pwmanager-1.2.4.tar.bz2 581740 +MD5 b5cdd98733fdbbde6d3907345568b30e pwmanager-i18n-1.2.4.tar.bz2 502200 diff --git a/kde-misc/pwmanager/pwmanager-1.2.4.ebuild b/kde-misc/pwmanager/pwmanager-1.2.4.ebuild new file mode 100644 index 000000000000..e8ce6d989abc --- /dev/null +++ b/kde-misc/pwmanager/pwmanager-1.2.4.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/pwmanager/pwmanager-1.2.4.ebuild,v 1.1 2005/11/10 15:27:33 greg_g Exp $ + +inherit kde + +DESCRIPTION="Password manager for KDE supporting chipcard access and encryption." +HOMEPAGE="http://passwordmanager.sourceforge.net" +SRC_URI="mirror://sourceforge/passwordmanager/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="smartcard" + +DEPEND="smartcard? ( sys-libs/libchipcard ) + sys-libs/zlib + app-arch/bzip2" + +need-kde 3.3 + +LANGS_PKG=${PN}-i18n-${PV} +LANGS="ca da de el es et fr hu it lt nl pl ro sv" + +for X in ${LANGS}; do + SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/passwordmanager/${LANGS_PKG}.tar.bz2 )" +done + +src_compile() { + local myconf="--enable-kwallet" + + if use smartcard; then + myconf="${myconf} --enable-pwmanager-smartcard" + + if has_version "=sys-libs/libchipcard-0.9*"; then + myconf="${myconf} --enable-pwmanager-libchipcard1" + else + myconf="${myconf} --disable-pwmanager-libchipcard1" + fi + + if has_version ">=sys-libs/libchipcard-1.9"; then + myconf="${myconf} --enable-pwmanager-libchipcard2" + else + myconf="${myconf} --disable-pwmanager-libchipcard2" + fi + else + myconf="${myconf} --disable-pwmanager-smartcard" + fi + + kde_src_compile + + local _S="${S}" + if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then + S="${WORKDIR}/${LANGS_PKG}" + cd "${S}" + + for X in ${LANGS}; do + use linguas_${X} || DO_NOT_COMPILE="${DO_NOT_COMPILE} ${X}" + done + export DO_NOT_COMPILE + + kde_src_compile + fi + S="${_S}" +} + +src_install() { + kde_src_install + + local _S="${S}" + if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then + S="${WORKDIR}/${LANGS_PKG}" + cd "${S}" + kde_src_install + fi + S="${_S}" +} |