aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven 'sleipnir' Rebhan <odinshorse@googlemail.com>2009-07-06 19:58:26 +0000
committerSven 'sleipnir' Rebhan <odinshorse@googlemail.com>2009-07-06 19:58:26 +0000
commitd444324989a0b98f92177503ab56b2e4dbba4e62 (patch)
treed8310b38575e678029e97035960b482a99524460 /x11-libs
parentCall autopoint only when we have USE=nls. (diff)
downloadembedded-cross-d444324989a0b98f92177503ab56b2e4dbba4e62.tar.gz
embedded-cross-d444324989a0b98f92177503ab56b2e4dbba4e62.tar.bz2
embedded-cross-d444324989a0b98f92177503ab56b2e4dbba4e62.zip
Fix etk pkg-config handling and only call xgettext if USE=nls.
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/etk/Manifest3
-rw-r--r--x11-libs/etk/etk-20090614.ebuild30
-rw-r--r--x11-libs/etk/files/etk-initialize-pkg-config-properly.patch13
3 files changed, 31 insertions, 15 deletions
diff --git a/x11-libs/etk/Manifest b/x11-libs/etk/Manifest
index f3045e2..fbea47d 100644
--- a/x11-libs/etk/Manifest
+++ b/x11-libs/etk/Manifest
@@ -1,4 +1,5 @@
+AUX etk-initialize-pkg-config-properly.patch 543 RMD160 1ff6cfda11d2500921642cdc3c84bcac6304f11e SHA1 5cf5e921ce495ab8495c0ce02fadaba10c321d55 SHA256 bb4a5f2a27b2f93ea49a485dfcca16c26c1d628ecc38141330501985e738a8b0
EBUILD etk-20090422.ebuild 583 RMD160 38c7d416678e467067b3003aa6cf7162f9d8a422 SHA1 612faff11ed5d5e9d79cab51ccb624b643359983 SHA256 5d724d5516d651efdba9314426793e4c2b4da647382a6a9aaa93b47c84b38958
-EBUILD etk-20090614.ebuild 1000 RMD160 6fdab85f8b1e1f86a787004a1585195325675a45 SHA1 a0beca66970b4a673a88858720a8f3665c6a6965 SHA256 03134e0b458dd8cd69f70affff411f4cce8c0ed04668fd38da4bf7eec202d55e
+EBUILD etk-20090614.ebuild 1114 RMD160 6cd7d1e1c50d13c4d19d4f9575f2e95585c3619f SHA1 c05c2952a5f42cc20b6e63f4293e942f6b2e68a9 SHA256 ca43b7eb8560b7354d1506011b9b869c8a86618972229a7803a1d3a9639e20dc
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 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
}
diff --git a/x11-libs/etk/files/etk-initialize-pkg-config-properly.patch b/x11-libs/etk/files/etk-initialize-pkg-config-properly.patch
new file mode 100644
index 0000000..9689b5e
--- /dev/null
+++ b/x11-libs/etk/files/etk-initialize-pkg-config-properly.patch
@@ -0,0 +1,13 @@
+--- configure.ac 2009-07-06 19:44:00.000000000 +0200
++++ configure.ac.new 2009-07-06 20:01:39.000000000 +0200
+@@ -99,6 +99,10 @@
+
+ requirements="evas ecore ecore-file ecore-evas ecore-imf ecore-imf-evas edje"
+
++# The first call to PKG_CHECK_MODULES is done conditionally,
++# so we should include this here:
++PKG_PROG_PKG_CONFIG
++
+ PKG_CHECK_MODULES(EVAS, [evas >= 0.9.9])
+ PKG_CHECK_MODULES(ECORE, [ecore >= 0.9.9 ecore-file >= 0.9.9 ecore-evas >= 0.9.9 ecore-imf >= 0.9.9 ecore-imf-evas >= 0.9.9])
+ PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])