anchor.diff:  
   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 \
  
positive.code: 
  inherit autotools
  
  PACKAGES = "wesnoth-editor wesnoth-doc wesnoth-music \
  	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 \
  	wesnoth wesnoth-dbg \
  	"
  
  do_install_append() {
  	# icons directory should not be packaged/installed
  
negative.code: 
  DEPENDS = "freetype libsdl-image libsdl-mixer libsdl-net libsdl-ttf zlib boost imagemagick-native"
  
  PR = "r2"
  
  SRC_URI = "${SOURCEFORGE_MIRROR}/wesnoth/${PN}-${PV}.tar.bz2"
  
  EXTRA_OECONF = "\
  	--enable-tinygui \
  	--enable-editor \
  	--enable-lowmem \
  	--with-boost=${STAGING_INCDIR} \
  	--with-freetype=${STAGING_INCDIR} \
  