diff options
author | Ross Burton <ross@openedhand.com> | 2008-02-25 22:47:49 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-02-25 22:47:49 +0000 |
commit | 7197110f46511492a48cd359b3ddf75b60ea47c8 (patch) | |
tree | 8ddbe675f154b0c32a15c49c299c55f576b2d283 | |
parent | ca8c3377e7abe2c0b04130c49c5625ef0e445641 (diff) | |
download | poky-7197110f46511492a48cd359b3ddf75b60ea47c8.tar.gz |
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
-rw-r--r-- | meta/packages/puzzles/oh-puzzles_svn.bb | 20 |
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 f75cf46a09..a584687929 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" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | DEPENDS = "gtk+ gconf intltool-native librsvg" | 4 | DEPENDS = "gtk+ gconf intltool-native librsvg" |
5 | |||
5 | PV = "0.1+svnr${SRCREV}" | 6 | PV = "0.1+svnr${SRCREV}" |
6 | PR = "r5" | 7 | PR = "r6" |
7 | 8 | ||
8 | bindir = "/usr/games" | 9 | bindir = "/usr/games" |
9 | 10 | ||
@@ -40,5 +41,20 @@ STOP | |||
40 | done | 41 | done |
41 | } | 42 | } |
42 | 43 | ||
43 | FILES_${PN} += "/usr/games/*" | 44 | PACKAGES += ${PN}-extra |
45 | RDEPENDS_${PN}-extra += "oh-puzzles" | ||
46 | |||
47 | FILES_${PN} = "/usr/share/pixmaps /usr/share/oh-puzzles/" | ||
44 | FILES_${PN}-dbg += "/usr/games/.debug/*" | 48 | FILES_${PN}-dbg += "/usr/games/.debug/*" |
49 | FILES_${PN}-extra = "/usr/games/ /usr/share/applications /etc/gconf/schemas" | ||
50 | |||
51 | python __anonymous () { | ||
52 | import bb | ||
53 | var = bb.data.expand("FILES_${PN}", d, 1) | ||
54 | data = bb.data.getVar(var, d, 1) | ||
55 | for name in ("bridges", "fifteen", "inertia", "map", "mines", "samegame"): | ||
56 | data = data + " /usr/games/%s" % name | ||
57 | data = data + " /usr/share/applications/%s.desktop" % name | ||
58 | data = data + " /etc/gconf/schemas/%s.schemas" % name | ||
59 | bb.data.setVar(var, data, d) | ||
60 | } \ No newline at end of file | ||