--- libgksuui-1.0.6.ebuild 2005-09-06 01:36:04.000000000 +0200 +++ libgksuui-1.0.6.ebuild 2006-02-27 23:57:22.000000000 +0100 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libgksuui/libgksuui-1.0.6.ebuild,v 1.3 2005/09/05 23:30:46 metalgod Exp $ +inherit eutils + MY_PN="${PN}1.0" MY_P="${MY_PN}-${PV}" S=${WORKDIR}/${MY_P} @@ -13,13 +15,22 @@ SRC_URI="http://people.debian.org/~kov/g LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~x86" IUSE="nls" DEPEND=">=x11-libs/gtk+-2.0.0 nls? ( >=sys-devel/gettext-0.14.1 ) >=dev-util/gtk-doc-1.2-r1" +src_unpack() { + unpack ${A} + + # Remove the .pot file to force the compilation of updated .po files + rm ${S}/po/${MY_PN}.pot || die + # Fix Polish translation + epatch ${FILESDIR}/${PN}-${PV}-pl.po.patch +} + src_compile() { econf $(use_enable nls) || die emake || die