diff options
Diffstat (limited to 'x11-libs/etk/etk-20090614.ebuild')
-rw-r--r-- | x11-libs/etk/etk-20090614.ebuild | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/x11-libs/etk/etk-20090614.ebuild b/x11-libs/etk/etk-20090614.ebuild index d850249..8555432 100644 --- a/x11-libs/etk/etk-20090614.ebuild +++ b/x11-libs/etk/etk-20090614.ebuild @@ -26,21 +26,23 @@ DEPEND=">=dev-util/pkgconfig-0.9.0 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 - 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` + 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 } |