aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2009-07-06 11:02:52 +0000
committerRobert Piasek <dagger@gentoo.org>2009-07-06 11:02:52 +0000
commitd1e1cac3261333ff490ad97ea7c4d47ee82ccd31 (patch)
tree2da729782b0b0e85223848b4a74d8450c8ad589f /x11-libs
parentUpdated patch for ctypes. That should work with newer autoconf (diff)
downloadembedded-cross-d1e1cac3261333ff490ad97ea7c4d47ee82ccd31.tar.gz
embedded-cross-d1e1cac3261333ff490ad97ea7c4d47ee82ccd31.tar.bz2
embedded-cross-d1e1cac3261333ff490ad97ea7c4d47ee82ccd31.zip
Fix etk template generation.
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/etk/Manifest2
-rw-r--r--x11-libs/etk/etk-20090614.ebuild22
2 files changed, 22 insertions, 2 deletions
diff --git a/x11-libs/etk/Manifest b/x11-libs/etk/Manifest
index 9bb39e8..f3045e2 100644
--- a/x11-libs/etk/Manifest
+++ b/x11-libs/etk/Manifest
@@ -1,4 +1,4 @@
EBUILD etk-20090422.ebuild 583 RMD160 38c7d416678e467067b3003aa6cf7162f9d8a422 SHA1 612faff11ed5d5e9d79cab51ccb624b643359983 SHA256 5d724d5516d651efdba9314426793e4c2b4da647382a6a9aaa93b47c84b38958
-EBUILD etk-20090614.ebuild 583 RMD160 7bb3455480bb20a462e7a4dc70e1bfdc1f9fb8af SHA1 ece93a1803a9d42f5d64d047f47fa30d7cca082d SHA256 cca421646e5220f0f4fff80f2e24b173886596730a5d35e5a1bb0b06a13fbc19
+EBUILD etk-20090614.ebuild 1000 RMD160 6fdab85f8b1e1f86a787004a1585195325675a45 SHA1 a0beca66970b4a673a88858720a8f3665c6a6965 SHA256 03134e0b458dd8cd69f70affff411f4cce8c0ed04668fd38da4bf7eec202d55e
MISC ChangeLog 247 RMD160 8a04a9385a7e9a2019c06b3c6b530ba937b28f5b SHA1 88df31aa0bc9f38dbce37ba83e0a496a626c49d0 SHA256 0f4e91ab274ccee9b0b19c8d5fba8da1a7e94d8828d98a5e15a0995a75d26319
MISC metadata.xml 296 RMD160 d8f057fffd0d6d3c84b2d5481481f8848cc7f5aa SHA1 d3e950b1ca7636e89f44d3182753cb2384dcd11c SHA256 996385c7eb65b2fe398df26ebb0da85233a4f6c135a1256da9c53bd96ad450f4
diff --git a/x11-libs/etk/etk-20090614.ebuild b/x11-libs/etk/etk-20090614.ebuild
index 6b73402..d850249 100644
--- a/x11-libs/etk/etk-20090614.ebuild
+++ b/x11-libs/etk/etk-20090614.ebuild
@@ -20,7 +20,27 @@ RDEPEND="net-libs/gnutls
=media-libs/edje-0.9.92.061"
DEPEND=">=dev-util/pkgconfig-0.9.0
- media-libs/edje"
+ media-libs/edje
+ sys-devel/gettext"
E17_EXTRA_CONF="--x-includes=${SYSROOT}/usr/X11R6/include \
--x-libraries=${SYSROOT}/usr/X11R6/lib"
+
+
+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`
+}