summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-09-23 13:59:06 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-09-23 13:59:06 +0000
commitd559210f6eabb99e30296e74e24fa8412c9f1aa8 (patch)
tree1e18735eee52919b5c028990a35ba08f650a1a67
parent078d5ad1ead15d27d9d4b727638d35fd6f82fbdb (diff)
parentfe619371ad73f1cbcde4705436f1daf24e800bef (diff)
merge of '01874aea004ac1a1ba9f8bc4a31eb07bd7865027'
and 'ac34d32574e42042c7afc4d0500547c97cf87132'
-rw-r--r--packages/wesnoth/wesnoth_1.4.5.bb23
1 files changed, 17 insertions, 6 deletions
diff --git a/packages/wesnoth/wesnoth_1.4.5.bb b/packages/wesnoth/wesnoth_1.4.5.bb
index a0f66e9dff..2c08a89bee 100644
--- a/packages/wesnoth/wesnoth_1.4.5.bb
+++ b/packages/wesnoth/wesnoth_1.4.5.bb
@@ -5,14 +5,13 @@ LICENSE = "GPL"
DEPENDS = "freetype libsdl-image libsdl-mixer libsdl-net libsdl-ttf zlib boost imagemagick-native"
-PR = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/wesnoth/${PN}-${PV}.tar.bz2"
EXTRA_OECONF = "\
--enable-tinygui \
--enable-editor \
- --enable-lite \
--enable-lowmem \
--with-boost=${STAGING_INCDIR} \
--with-freetype=${STAGING_INCDIR} \
@@ -22,15 +21,23 @@ EXTRA_OECONF = "\
inherit autotools
-PACKAGES = "wesnoth-editor wesnoth-doc wesnoth-music \
+PACKAGES = "wesnoth-editor wesnoth-doc wesnoth-music wesnoth-sounds \
wesnoth-aoi wesnoth-did wesnoth-ei wesnoth-httt wesnoth-l \
wesnoth-nr wesnoth-sof wesnoth-sotbe wesnoth-thot wesnoth-trow \
wesnoth-tsg wesnoth-tb wesnoth-utbs \
wesnoth-data \
+ wesnoth-all-campaigns \
wesnoth-all \
wesnoth wesnoth-dbg \
"
+DESCRIPTION_wesnoth-editor = "Map Editor for The Battle for Wesnoth"
+DESCRIPTION_wesnoth-all = "The Battle for Wesnoth with all campaigns, music and sounds"
+DESCRIPTION_wesnoth-all-campaigns = "The Battle for Wesnoth with all campaigns."
+DESCRIPTION_wesnoth-sounds = "Optional sound package for The Battle for Wesnoth"
+DESCRIPTION_wesnoth-music = "Optional music package for The Battle for Wesnoth"
+DESCRIPTION_wesnoth-data = "Mandatory data package for The Battle for Wesnoth"
+
do_install_append() {
# icons directory should not be packaged/installed
if [ -d ${D}${datadir}/wesnoth/icons ]; then
@@ -42,20 +49,24 @@ RDEPENDS_wesnoth = "wesnoth-data"
RDEPENDS_wesnoth-editor = "wesnoth-data"
-RDEPENDS_wesnoth-all = "wesnoth wesnoth-music \
+RDEPENDS_wesnoth-all-campaigns = "wesnoth \
wesnoth-aoi wesnoth-did wesnoth-ei wesnoth-httt wesnoth-l \
wesnoth-nr wesnoth-sof wesnoth-sotbe wesnoth-thot wesnoth-trow \
wesnoth-tsg wesnoth-tb wesnoth-utbs"
# Installing wesnoth-all should pull everything in (like in Debian).
-ALLOW_EMPTY_${PN}-all = "1"
+RDEPENDS_wesnoth-all = "wesnoth wesnoth-sounds wesnoth-music"
FILES_wesnoth-music = "\
${datadir}/wesnoth/data/core/music \
"
+FILES_wesnoth-sounds = "\
+ ${datadir}/wesnoth/data/core/sounds \
+"
+
# Picks up remaining translations and data. Must be packaged after
-# wesnoth-music and all campaigns.
+# wesnoth-music, wesnoth-sounds and all campaigns.
FILES_wesnoth-data = "\
${datadir}/wesnoth/sounds \
${datadir}/wesnoth/images \