diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-02 16:00:08 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-02 16:00:08 +0000 |
commit | 505ff5236411b28d904bdc5a83b94be609097c45 (patch) | |
tree | b1ddb6872d6645512f496ef37f791a0db720d0c2 | |
parent | 7371e6323c3fb6b0545712e3cf84606644073e77 (diff) | |
download | poky-505ff5236411b28d904bdc5a83b94be609097c45.tar.gz |
oh-puzzles: added SVN version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1420 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/puzzles/files/game.png (renamed from meta/packages/puzzles/puzzles/game.png) | bin | 2168 -> 2168 bytes | |||
-rw-r--r-- | meta/packages/puzzles/oh-puzzles_svn.bb | 43 |
2 files changed, 43 insertions, 0 deletions
diff --git a/meta/packages/puzzles/puzzles/game.png b/meta/packages/puzzles/files/game.png index 9b74f9fce1..9b74f9fce1 100644 --- a/meta/packages/puzzles/puzzles/game.png +++ b/meta/packages/puzzles/files/game.png | |||
Binary files differ | |||
diff --git a/meta/packages/puzzles/oh-puzzles_svn.bb b/meta/packages/puzzles/oh-puzzles_svn.bb new file mode 100644 index 0000000000..7a9a52b619 --- /dev/null +++ b/meta/packages/puzzles/oh-puzzles_svn.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | DESCRIPTION = "Portable Puzzle Collection" | ||
2 | LICENSE = "MIT" | ||
3 | SECTION = "x11" | ||
4 | DEPENDS = "gtk+" | ||
5 | PV = "0.1+svn${SRCDATE}" | ||
6 | |||
7 | inherit autotools pkgconfig | ||
8 | |||
9 | SRC_URI = "svn://svn.o-hand.com/repos/;module=oh-puzzles;proto=http \ | ||
10 | file://game.png" | ||
11 | |||
12 | S = "${WORKDIR}/${PN}" | ||
13 | |||
14 | do_install_append () { | ||
15 | mv ${D}${bindir} ${D}/usr/games | ||
16 | |||
17 | install -d ${D}/${datadir}/applications/ | ||
18 | install -d ${D}/${datadir}/pixmaps/ | ||
19 | |||
20 | install ${WORKDIR}/game.png ${D}/${datadir}/pixmaps/ | ||
21 | |||
22 | cd ${D}/${prefix}/games | ||
23 | for prog in *; do | ||
24 | if [ -x $prog ]; then | ||
25 | echo "making ${D}/${datadir}/applications/$prog.desktop" | ||
26 | cat <<STOP > ${D}/${datadir}/applications/$prog.desktop | ||
27 | [Desktop Entry] | ||
28 | Encoding=UTF-8 | ||
29 | Name=$prog | ||
30 | Exec=${prefix}/games/$prog | ||
31 | Icon=game.png | ||
32 | Terminal=false | ||
33 | Type=Application | ||
34 | Categories=Game | ||
35 | StartupNotify=true | ||
36 | SingleInstance=true | ||
37 | STOP | ||
38 | fi | ||
39 | done | ||
40 | } | ||
41 | |||
42 | FILES_${PN} += "/usr/games/*" | ||
43 | FILES_${PN}-dbg += "/usr/games/.debug/*" | ||