# ChangeLog for media-plugins/digikamimageplugins
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/digikamimageplugins/ChangeLog,v 1.27 2006/09/20 21:12:41 deathwing00 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/digikamimageplugins/ChangeLog,v 1.28 2006/10/31 18:34:19 deathwing00 Exp $
+
+*digikamimageplugins-0.9.0_beta3 (31 Oct 2006)
+
+ 31 Oct 2006; Ioannis Aslanidis <deathwing00@gentoo.org>
+ +digikamimageplugins-0.9.0_beta3.ebuild:
+ Version bump.
*digikamimageplugins-0.9.0_beta2 (20 Sep 2006)
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/digikamimageplugins/digikamimageplugins-0.9.0_beta3.ebuild,v 1.1 2006/10/31 18:34:19 deathwing00 Exp $
+
+inherit kde
+
+P_DOC="${PN}-doc-0.8.2"
+MY_P=${P/_/-}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="DigikamImagePlugins are a collection of plugins for digiKam Image Editor."
+HOMEPAGE="http://www.digikam.org/"
+SRC_URI="mirror://sourceforge/digikam/${MY_P}.tar.bz2
+ mirror://sourceforge/digikam/${P_DOC}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND="~media-gfx/digikam-${PV}
+ >=media-gfx/imagemagick-5.5.4
+ >=media-video/mjpegtools-1.6.0
+ virtual/opengl"
+
+need-kde 3.4
+
+LANGS="br ca cs cy da de el en_GB es et fr ga he it ja lt mt nb nl nn pa pl pt pt_BR ru rw sr sr@Latn sv ta tr zh_CN"
+LANGS_DOC="da de et it nl pt pt_BR sv"
+
+
+src_unpack(){
+ kde_src_unpack
+
+ local MAKE_PO=$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))
+ einfo "Enabling translations for: ${MAKE_PO}"
+
+ local MAKE_DOC_IP=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d))
+ einfo "Enabling documentation for: ${MAKE_DOC_IP}"
+
+ local MAKE_DOC
+ for i in ${MAKE_DOC_IP} ; do MAKE_DOC="${MAKE_DOC} ${i}_digikamimageplugins" ; done
+
+ sed -i -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_PO}:" ${S}/po/Makefile.am || die "sed for locale failed"
+ sed -i -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_DOC} ${PN}:" ${WORKDIR}/${P_DOC}/doc/Makefile.am || die "sed for locale failed"
+}
+
+src_compile(){
+ kde_src_compile
+ myconf=""
+ _S=${S}
+ S=${WORKDIR}/${P_DOC}
+ cd ${S}
+ kde_src_compile
+ S=${_S}
+}
+
+src_install(){
+ kde_src_install
+ _S=${S}
+ S=${WORKDIR}/${P_DOC}
+ cd ${S}
+ kde_src_install
+ S=${_S}
+}
--- /dev/null
+MD5 e980db8f42008fbf932caab2b6295852 digikamimageplugins-0.9.0-beta3.tar.bz2 3612437
+RMD160 d564bae1fab616714eb785aa16e13fdfe775e093 digikamimageplugins-0.9.0-beta3.tar.bz2 3612437
+SHA256 3225f88c4e36eb5f664faf2c4d63a326cbd4b408def7ce18f1eeb3636ef50f91 digikamimageplugins-0.9.0-beta3.tar.bz2 3612437
+MD5 396d82e7afb31c3fc37599561f167a10 digikamimageplugins-doc-0.8.2.tar.bz2 41165068
+RMD160 fcab643141f17a4e90317305e385bad9c8a5553b digikamimageplugins-doc-0.8.2.tar.bz2 41165068
+SHA256 c90759766ae881e3f7867468bf61215d331f5ddc94d0757076fc8f1f08131f38 digikamimageplugins-doc-0.8.2.tar.bz2 41165068