[oe-commits] : wesnoth 1.4.5:

OE GIT Trial gittrial at amethyst.openembedded.net
Tue Sep 23 14:07:01 UTC 2008


Module: OE.dev
Branch: master
Commit: 9baa5816757763735be3c48e1744974cb0d5a800
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=9baa5816757763735be3c48e1744974cb0d5a800

Author:  <thebohemian at openembedded.org>
Date:   Tue Sep 23 13:36:09 2008 +0000

wesnoth 1.4.5:
 - remove --enable-lite so we can package music and sound on our own
 - added wesnoth-music, wesnoth-sounds, wesnoth-all-campaigns (all optional) binary packages
 - added nice descriptions to base packages

---

 packages/wesnoth/wesnoth_1.4.5.bb |   23 +++++++++++++++++------
 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 a0f66e9..2c08a89 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 \





More information about the Openembedded-commits mailing list