summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-02-25 22:47:49 +0000
committerRoss Burton <ross@openedhand.com>2008-02-25 22:47:49 +0000
commit7197110f46511492a48cd359b3ddf75b60ea47c8 (patch)
tree8ddbe675f154b0c32a15c49c299c55f576b2d283 /meta/packages
parentca8c3377e7abe2c0b04130c49c5625ef0e445641 (diff)
downloadopenembedded-core-7197110f46511492a48cd359b3ddf75b60ea47c8.tar.gz
openembedded-core-7197110f46511492a48cd359b3ddf75b60ea47c8.tar.bz2
openembedded-core-7197110f46511492a48cd359b3ddf75b60ea47c8.tar.xz
openembedded-core-7197110f46511492a48cd359b3ddf75b60ea47c8.zip
puzzles: split into oh-puzzles and oh-puzzles-extra, so there is a reasonable number installed by default
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3864 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/puzzles/oh-puzzles_svn.bb20
1 files changed, 18 insertions, 2 deletions
diff --git a/meta/packages/puzzles/oh-puzzles_svn.bb b/meta/packages/puzzles/oh-puzzles_svn.bb
index f75cf46a0..a58468792 100644
--- a/meta/packages/puzzles/oh-puzzles_svn.bb
+++ b/meta/packages/puzzles/oh-puzzles_svn.bb
@@ -2,8 +2,9 @@ DESCRIPTION = "Portable Puzzle Collection"
LICENSE = "MIT"
SECTION = "x11"
DEPENDS = "gtk+ gconf intltool-native librsvg"
+
PV = "0.1+svnr${SRCREV}"
-PR = "r5"
+PR = "r6"
bindir = "/usr/games"
@@ -40,5 +41,20 @@ STOP
done
}
-FILES_${PN} += "/usr/games/*"
+PACKAGES += ${PN}-extra
+RDEPENDS_${PN}-extra += "oh-puzzles"
+
+FILES_${PN} = "/usr/share/pixmaps /usr/share/oh-puzzles/"
FILES_${PN}-dbg += "/usr/games/.debug/*"
+FILES_${PN}-extra = "/usr/games/ /usr/share/applications /etc/gconf/schemas"
+
+python __anonymous () {
+ import bb
+ var = bb.data.expand("FILES_${PN}", d, 1)
+ data = bb.data.getVar(var, d, 1)
+ for name in ("bridges", "fifteen", "inertia", "map", "mines", "samegame"):
+ data = data + " /usr/games/%s" % name
+ data = data + " /usr/share/applications/%s.desktop" % name
+ data = data + " /etc/gconf/schemas/%s.schemas" % name
+ bb.data.setVar(var, data, d)
+} \ No newline at end of file