aboutsummaryrefslogtreecommitdiff
path: root/recipes/gnome/gnome-games_2.32.0.bb
blob: 9c103afea5b384929bd33bd542440202df5b4a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
LICENSE = "GPL"
DEPENDS = "guile libggz ggz-client-libs python-pygtk gtk+ libgnome libgnomeui librsvg gnome-vfs gconf libglade gnome-common gnome-python-desktop gnome-python gstreamer"

inherit gnome distutils-base gconf

SRC_URI[archive.md5sum] = "b42878d253fb9aa579cb19d9a960c750"
SRC_URI[archive.sha256sum] = "7cd2a282071b1b9cdff8a7102abddc26e253af7b3094551220addf2b3a2850c2"

EXTRA_OECONF += " \
                --enable-omitgames=quadrapassel,lightsoff,swell-foop,gnibbles \
                --with-libggz-includes=${STAGING_INCDIR} \
                --with-libggz-libraries=${STAGING_LIBDIR} \
                --with-ggzmod-includes=${STAGING_INCDIR} \
                --with-ggzmod-libraries=${STAGING_LIBDIR} \
                --with-ggzcore-includes=${STAGING_INCDIR} \
                --with-ggzcore-libraries=${STAGING_LIBDIR} \
                --disable-tests \
                --disable-scrollkeeper \
                am__fastdepCXX_TRUE='#' \
                INTLTOOL_PERL=${STAGING_BINDIR_NATIVE}/perl \
	       "

do_configure_append() {
	for i in $(find ${S} -name "Makefile") ; do
		sed -i -e s:'I/usr/include'::g -e s:'-I /usr/include -I /usr/local/include'::g $i
	done	
}

# copy matchbox icons
do_install_append() {
	install -d  ${D}/${datadir}/pixmaps
	install -m 0644 ${D}/${datadir}/icons/hicolor/48x48/apps/* ${D}/${datadir}/pixmaps
}

CFLAGS_append = " -lguile -lgmp -lcrypt -lm -lltdl"

FILES_${PN}-doc += " ${datadir}/gnome/help"
FILES_${PN}-dbg += " ${bindir}/.debug ${libdir}/gnome-games/.debug"

ALLOW_EMPTY_${PN} = "1"
RDEPENDS_${PN} += "gnome-games-aisleriot gnome-games-cards gnome-games-glchess gnome-games-glines gnome-games-gnect gnome-games-gnobots2 gnome-games-gnomine gnome-games-gnotravex gnome-games-gnotski gnome-games-gtali gnome-games-iagno gnome-games-mahjongg gnome-games-sudoku "

PACKAGES =+ "gnome-games-common"
DESCRIPTION_gnome-games-common = "GNOME games common resources"
FILES_gnome-games-common = "${datadir}/ggz \
				${libdir}/ggz \
				${sysconfdir} \
				${datadir}/gnome-games/icons \
				${datadir}/icons \
				${datadir}/gnome-games/sounds"
# svg is needed for --enable-scalable by nearly all, so put into -common
RDEPENDS_gnome-games-common = "librsvg librsvg-gtk"

PACKAGES =+ "gnome-games-cards"
DESCRIPTION_gnome-games-cards = "GNOME games playing card resources"
FILES_gnome-games-cards = "${datadir}/gnome-games/pixmaps \
				${libdir}/gnome-games/gnome-games-render-cards \
				${datadir}/gnome-games-common/cards"

PACKAGES =+ "gnome-games-gnomine"
DESCRIPTION_gnome-games-gnomine = "GNOME minesweeper game"
RDEPENDS_gnome-games-gnomine = "gnome-games-common"
FILES_gnome-games-gnomine = "${bindir}/gnomine \
				${datadir}/gnome-games/gnomine \
				${datadir}/pixmaps/gnome-mines.png \
				${datadir}/applications/gnomine.desktop \
				${sysconfdir}/gconf/schemas/gnomine.schemas \
				/var/games/gnomine.*.scores"

PACKAGES =+ "gnome-games-aisleriot"
DESCRIPTION_gnome-games-aisleriot = "GNOME solitaire games"
RDEPENDS_gnome-games-aisleriot = "gnome-games-common gnome-games-cards"
FILES_gnome-games-aisleriot = "${bindir}/sol \
				${datadir}/gnome-games/aisleriot \
				${datadir}/pixmaps/gnome-aisleriot.png \
				${datadir}/pixmaps/gnome-freecell.png \
				${datadir}/applications/sol.desktop \
				${datadir}/applications/freecell.desktop \
				${sysconfdir}/gconf/schemas/aisleriot.schemas"

PACKAGES =+ "gnome-games-gnect"
DESCRIPTION_gnome-games-gnect = "GNOME four-in-a-row game"
RDEPENDS_gnome-games-gnect = "gnome-games-common"
FILES_gnome-games-gnect = "${bindir}/gnect \
				${datadir}/gnect \
				${datadir}/gnome-games/gnect \
				${datadir}/pixmaps/gnome-gnect.png \
				${datadir}/applications/gnect.desktop \
				${sysconfdir}/gconf/schemas/gnect.schemas"

PACKAGES =+ "gnome-games-mahjongg"
DESCRIPTION_gnome-games-mahjongg = "GNOME mahjongg game"
RDEPENDS_gnome-games-mahjongg = "gnome-games-common"
FILES_gnome-games-mahjongg = "${bindir}/mahjongg \
				${datadir}/gnome-games/mahjongg \
				${datadir}/pixmaps/gnome-mahjongg.png \
				${datadir}/applications/mahjongg.desktop \
				${sysconfdir}/gconf/schemas/mahjongg.schemas \
				/var/games/mahjongg.*.scores"

PACKAGES =+ "gnome-games-gtali"
DESCRIPTION_gnome-games-gtali = "GNOME yahtzee game"
RDEPENDS_gnome-games-gtali = "gnome-games-common"
FILES_gnome-games-gtali = "${bindir}/gtali \
				${datadir}/gnome-games/gtali \
				${datadir}/pixmaps/gnome-tali.png \
				${datadir}/applications/gtali.desktop \
				${sysconfdir}/gconf/schemas/gtali.schemas \
				/var/games/gtali.*.scores"

PACKAGES =+ "gnome-games-gnotravex"
DESCRIPTION_gnome-games-gnotravex = "GNOME tile matching game"
RDEPENDS_gnome-games-gnotravex = "gnome-games-common"
FILES_gnome-games-gnotravex = "${bindir}/gnotravex \
				${datadir}/gnome-games/gnotravex \
				${datadir}/pixmaps/gnome-tetravex.png \
				${datadir}/applications/gnotravex.desktop \
				${sysconfdir}/gconf/schemas/gnotravex.schemas \
				/var/games/gnotravex.*.scores"

PACKAGES =+ "gnome-games-gnotski"
DESCRIPTION_gnome-games-gnotski = "GNOME blocks puzzle game"
RDEPENDS_gnome-games-gnotski = "gnome-games-common"
FILES_gnome-games-gnotski = "${bindir}/gnotski \
				${datadir}/gnome-games/gnotski \
				${datadir}/pixmaps/gnome-klotski.png \
				${datadir}/applications/gnotski.desktop \
				${sysconfdir}/gconf/schemas/gnotski.schemas \
				/var/games/gnotski.*.scores"

PACKAGES =+ "gnome-games-glines"
DESCRIPTION_gnome-games-glines = "GNOME five-or-more game"
RDEPENDS_gnome-games-glines = "gnome-games-common"
FILES_gnome-games-glines = "${bindir}/glines \
				${datadir}/gnome-games/glines \
				${datadir}/pixmaps/gnome-glines.png \
				${datadir}/applications/glines.desktop \
				${sysconfdir}/gconf/schemas/glines.schemas \
				/var/games/glines.*.scores"

PACKAGES =+ "gnome-games-iagno"
DESCRIPTION_gnome-games-iagno = "GNOME reversi game"
RDEPENDS_gnome-games-iagno = "gnome-games-common"
FILES_gnome-games-iagno = "${bindir}/iagno \
				${datadir}/gnome-games/iagno \
				${datadir}/pixmaps/gnome-iagno.png \
				${datadir}/applications/iagno.desktop \
				${sysconfdir}/gconf/schemas/iagno.schemas"

PACKAGES =+ "gnome-games-gnobots2"
DESCRIPTION_gnome-games-gnobots2 = "GNOME robots game"
RDEPENDS_gnome-games-gnobots2 = "gnome-games-common"
FILES_gnome-games-gnobots2 = "${bindir}/gnobots2 \
				${datadir}/gnome-games/gnobots2 \
				${datadir}/pixmaps/gnome-robots.png \
				${datadir}/applications/gnobots2.desktop \
				${sysconfdir}/gconf/schemas/gnobots2.schemas \
				/var/games/gnobots2.*.scores"

PACKAGES =+ "gnome-games-glchess"
DESCRIPTION_gnome-games-glchess = "GNOME chess"
RDEPENDS_gnome-games-glchess = "python-pygtk python-codecs \
				python-netclient python-xml \
				gnome-python"
FILES_gnome-games-glchess = "${bindir}/glchess \
				${bindir}/gnome-gnuchess \
				${datadir}/glchess \
				${datadir}/pixmaps/gnome-glchess.png \
				${datadir}/applications/glchess.desktop \
				${sysconfdir}/gconf/schemas/glchess.schemas \
				${libdir}/python2.5/site-packages/glchess"

PACKAGES =+ "gnome-games-sudoku"
DESCRIPTION_gnome-games-sudoku = "GNOME sudoku"
RDEPENDS_gnome-games-sudoku = "python-pygtk python-codecs python-difflib \
				python-xml python-netclient \
				python-textutils python-threading \
				gnome-python gnome-python-desktop"
FILES_gnome-games-sudoku = "${bindir}/gnome-sudoku \
				${datadir}/gnome-sudoku \
				${datadir}/pixmaps/gnome-sudoku.png \
				${datadir}/applications/gnome-sudoku.desktop \
				${libdir}/python2.5/site-packages/gnome_sudoku"