# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=2 inherit enlightenment_svn DESCRIPTION="The Enlightenment etk library." HOMEPAGE="http://enlightenment.org" KEYWORDS="~arm ~x86 ~amd64" IUSE="" RDEPEND="net-libs/gnutls dev-libs/openssl =dev-libs/eina-0.0.2.061 =x11-libs/evas-0.9.9.061 =x11-libs/ecore-0.9.9.061 =media-libs/edje-0.9.92.061" DEPEND=">=dev-util/pkgconfig-0.9.0 media-libs/edje sys-devel/gettext" E17_EXTRA_CONF="--x-includes=${SYSROOT}/usr/X11R6/include \ --x-libraries=${SYSROOT}/usr/X11R6/lib" E17_PATCHES="${PN}-initialize-pkg-config-properly.patch" src_configure() { # We need to generate etk.pot template using provided script if use nls; then echo "Generating gettext etk.pot template"; \ xgettext \ -n \ -C \ -d etk \ -p po \ --copyright-holder="Enlightenment development team" \ --foreign-user \ --msgid-bugs-address="enlightenment-devel@lists.sourceforge.net" \ -k -k_ -kd_ \ --from-code=UTF-8 \ -o etk.pot \ `find . -name "*.[ch]" -print` fi }