summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-04-02 16:00:08 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-04-02 16:00:08 +0000
commit505ff5236411b28d904bdc5a83b94be609097c45 (patch)
treeb1ddb6872d6645512f496ef37f791a0db720d0c2
parent7371e6323c3fb6b0545712e3cf84606644073e77 (diff)
downloadpoky-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)bin2168 -> 2168 bytes
-rw-r--r--meta/packages/puzzles/oh-puzzles_svn.bb43
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 @@
1DESCRIPTION = "Portable Puzzle Collection"
2LICENSE = "MIT"
3SECTION = "x11"
4DEPENDS = "gtk+"
5PV = "0.1+svn${SRCDATE}"
6
7inherit autotools pkgconfig
8
9SRC_URI = "svn://svn.o-hand.com/repos/;module=oh-puzzles;proto=http \
10 file://game.png"
11
12S = "${WORKDIR}/${PN}"
13
14do_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]
28Encoding=UTF-8
29Name=$prog
30Exec=${prefix}/games/$prog
31Icon=game.png
32Terminal=false
33Type=Application
34Categories=Game
35StartupNotify=true
36SingleInstance=true
37STOP
38 fi
39 done
40}
41
42FILES_${PN} += "/usr/games/*"
43FILES_${PN}-dbg += "/usr/games/.debug/*"