diff options
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r-- | meta/recipes-sato/puzzles/puzzles_git.bb | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb b/meta/recipes-sato/puzzles/puzzles_git.bb index 346f43bc9c..a9daacdaf2 100644 --- a/meta/recipes-sato/puzzles/puzzles_git.bb +++ b/meta/recipes-sato/puzzles/puzzles_git.bb | |||
@@ -23,16 +23,28 @@ S = "${WORKDIR}/git" | |||
23 | 23 | ||
24 | inherit autotools-brokensep distro_features_check pkgconfig | 24 | inherit autotools-brokensep distro_features_check pkgconfig |
25 | 25 | ||
26 | PACKAGECONFIG ??= "gtk2" | 26 | PACKAGECONFIG ??= "gtk3" |
27 | PACKAGECONFIG[gtk2] = "--with-gtk=2,,gtk+," | 27 | PACKAGECONFIG[gtk2] = "--with-gtk=2,,gtk+," |
28 | PACKAGECONFIG[gtk3] = "--with-gtk=3,,gtk+3," | 28 | PACKAGECONFIG[gtk3] = "--with-gtk=3,,gtk+3," |
29 | 29 | ||
30 | PACKAGES += "${PN}-extra" | ||
31 | FILES_${PN} = "" | ||
32 | FILES_${PN}-extra = "${prefix}/bin ${datadir}/applications" | ||
33 | |||
34 | python __anonymous () { | ||
35 | var = bb.data.expand("FILES_${PN}", d, 1) | ||
36 | data = d.getVar(var, True) | ||
37 | for name in ("bridges", "fifteen", "inertia", "map", "samegame", "slant"): | ||
38 | data = data + " ${prefix}/bin/%s" % name | ||
39 | data = data + " ${datadir}/applications/%s.desktop" % name | ||
40 | d.setVar(var, data) | ||
41 | } | ||
42 | |||
43 | |||
30 | do_configure_prepend () { | 44 | do_configure_prepend () { |
31 | ./mkfiles.pl | 45 | ./mkfiles.pl |
32 | } | 46 | } |
33 | 47 | ||
34 | FILES_${PN} = "${prefix}/bin/* ${datadir}/applications/*" | ||
35 | |||
36 | do_install () { | 48 | do_install () { |
37 | rm -rf ${D}/* | 49 | rm -rf ${D}/* |
38 | export prefix=${D} | 50 | export prefix=${D} |