summaryrefslogtreecommitdiff
path: root/packages/gtk-engines
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-10-16 14:34:44 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-10-16 14:34:44 +0000
commit2ee602ad04a5d5edfbe1e80486ecbe43785668b4 (patch)
tree6839a8ff418b65fbf8608d8cb91e3a6b08aa13db /packages/gtk-engines
parent929850f6a2ddba9f7e7c10ddd88b34be8e6b7d3d (diff)
add gtk-binver parsing gtk_binary_version out of .pc file. close #1455
NOTE1: patch based on work of XorA NOTE2: we might want to make this more generic (i.e. get-pkgconfig-entry) eventually NOTE3: please adapt this to other gtk-engine versions as suitable
Diffstat (limited to 'packages/gtk-engines')
-rw-r--r--packages/gtk-engines/gtk-engines_2.7.4.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/gtk-engines/gtk-engines_2.7.4.bb b/packages/gtk-engines/gtk-engines_2.7.4.bb
index 29c20e1e65..7ad1acc0ca 100644
--- a/packages/gtk-engines/gtk-engines_2.7.4.bb
+++ b/packages/gtk-engines/gtk-engines_2.7.4.bb
@@ -14,14 +14,16 @@ RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks"
SRC_URI = "${GNOME_MIRROR}/${PN}/2.7/${P}.tar.bz2"
-inherit autotools pkgconfig
+inherit autotools pkgconfig gtk-binver
PACKAGES_DYNAMIC = "gtk-engine-* gtk-theme-*"
python populate_packages_prepend() {
import os.path
- engines_root = os.path.join(bb.data.getVar('libdir', d, 1), "gtk-2.0/2.4.0/engines")
+ engines_ver = ['gtk-2.0/', gtkbinver_find(d), '/engines']
+
+ engines_root = os.path.join(bb.data.getVar('libdir', d, 1), ''.join(engines_ver))
themes_root = os.path.join(bb.data.getVar('datadir', d, 1), "themes")
do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='')